Unity-Technologies / com.unity.demoteam.hair

An integrated solution for authoring / importing / simulating / rendering strand-based hair in Unity.
Other
719 stars 97 forks source link

NullReferenceException at HairSim.cs:567 #31

Closed unitycoder closed 1 year ago

unitycoder commented 1 year ago

error spam.. (tested reimport also, 2023.1.0a20, windows, hdrp 15.0.1)

from line: s_solverCS = resources.computeSolver;

NullReferenceException: Object reference not set to an instance of an object Unity.DemoTeam.Hair.HairSim..cctor () (at ./Library/PackageCache/com.unity.demoteam.hair@d9a8f0647e/Runtime/HairSim.cs:567) Rethrow as TypeInitializationException: The type initializer for 'Unity.DemoTeam.Hair.HairSim' threw an exception. Unity.DemoTeam.Hair.HairInstance.ReleaseRuntimeData () (at ./Library/PackageCache/com.unity.demoteam.hair@d9a8f0647e/Runtime/HairInstance.cs:1583) Unity.DemoTeam.Hair.HairInstance.UpdateStrandGroupInstances () (at ./Library/PackageCache/com.unity.demoteam.hair@d9a8f0647e/Runtime/HairInstance.cs:667) Unity.DemoTeam.Hair.HairInstance.Update () (at ./Library/PackageCache/com.unity.demoteam.hair@d9a8f0647e/Runtime/HairInstance.cs:5

unitycoder commented 1 year ago

deleted and reimported all in older unity version, works