Unity-Technologies/com.unity.demoteam.digital-human

Mesh attachments working, but transform attachments don't if using GPU

pauldrummond opened this issue · 1 comments

We're using SkinAttachments with AttachmentType of Mesh without any problems, but SkinAttachments with AttachmentType of Transform simply won't work. We'd like to use these empty transforms to drive occlusion markers for eyes, as in the Enemies demo, but the attached transforms don't move. Are we missing something?

Mesh attachment updates with target:
Screenshot 2023-07-14 at 4 37 50 pm

Transform attachment does not update position with target:
Screenshot 2023-07-14 at 4 38 00 pm

Skin Attachment settings:
Screenshot 2023-07-14 at 4 38 20 pm

Transform attachments don't seem to work if the Skin Attachment Target is using the GPU option. I tested this in the Digital Human Sample package and the eye occlusion markers work until Execute On GPU = true. Is there any way to get Transform attachments working with the GPU option?

The Readback Transform positions options looks like it might be helpful but it just generates NaN errors.