Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to copy properties from a null material (HDRP) #4

Open
sna-scourtney opened this issue Oct 14, 2021 · 2 comments
Open

Attempt to copy properties from a null material (HDRP) #4

sna-scourtney opened this issue Oct 14, 2021 · 2 comments

Comments

@sna-scourtney
Copy link

This occurs on import of a new character from CC3 into Unity 2021.1.19f1, HDRP 11.0.0, and it recurs whenever this code is re-executed based on user activity. Stack trace:

Trying to copy properties from null material.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
RLPlugin.RLEditor:CreateMaterials (System.Collections.Generic.HashSet`1<string>,string,RLPlugin.RLEditor/EBaseGeneration,LitJson.JsonData) (at Assets/Plugins/Reallusion/Auto-Setup-for-Unity/Editor/RLEditor.cs:1043)
RLPlugin.RLEditor:OnPostprocessAllAssets (string[],string[],string[],string[]) (at Assets/Plugins/Reallusion/Auto-Setup-for-Unity/Editor/RLEditor.cs:894)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[])

Initially I thought this might be related to #1, but it persists even after the diffusion profile has been assigned to the character and clothing materials.

I took a brief look at the code but haven't yet had time to investigate deeply.

@zuksoon
Copy link

zuksoon commented May 20, 2022

Same for character from CC4 and unity 2021.3.2f1

@ndarlington
Copy link

For hdrp (actually any pipeline) I would suggest using Victor's repositories for importing to Unity and/or blender. They're also endorsed by reallusion.

https://github.com/soupday/cc3_unity_tools_HDRP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants