reallusion / Auto-Setup-for-Unity

iClone / Character Creator / ActorCore Auto Setup for Unity Script
GNU General Public License v2.0
78 stars 28 forks source link

Green skin textures due to unassigned Diffusion Profile #1

Open BartArtanim opened 2 years ago

BartArtanim commented 2 years ago

Description

When using 4b860f8 (HEAD at the time of writing) inside a HDRP Unity project (2021.1.16f1), imported characters have green skintones. This seems to be due to the unassigned diffusion profile in SSS_Profile.mat.

image

If I understand correctly its properties are the ones copied at https://github.com/reallusion/Auto-Setup-for-Unity/blob/4b860f8c2b78446adfbb575e7304709d7640b1be/Editor/RLEditor.cs#L1043 When assigning the correct diffusion profile to this material and reimporting the assets, the problems seems to have been resolved.

Software Used

BartArtanim commented 2 years ago

On a side-note, unless I've missed something, it would be nice if this repository could have some form of indication of whether or not issues and pull-requests are welcomed here or should rather go through other channels.

lukeyuRL commented 2 years ago

On a side-note, unless I've missed something, it would be nice if this repository could have some form of indication of whether or not issues and pull-requests are welcomed here or should rather go through other channels.

thank you for the suggestion, the pull-requests is welcome.

sna-scourtney commented 2 years ago

I have replicated this issue, and worked around it by manually assigning a diffusion profile.

Unity 2021.1.19f1, HDRP 11.0.0.

Auto Setup from a clone of this repo that was up to date as of 2021-10-12.