After importing this package, it prompts "Invalid worldAABB. Object is too large or too far away from the origin." and a suggestion.
Closed this issue · 3 comments
Unity Version: 2022.3.28f1
Steps to Reproduce:
1, Import the package using git link.
2, Import the sample in the package manager.
3, Find that no hair is displayed in the sample scene.
4, Build strand groups.
5, Run or disable+enable the Hair Instance.
6, Error occurs:
Invalid worldAABB. Object is too large or too far away from the origin.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Unity.DemoTeam.Hair.HairInstance:DispatchUpdate () (at ./Library/PackageCache/com.unity.demoteam.hair@be2abe0ac1/Runtime/HairInstance.cs:1138)
Unity.DemoTeam.Hair.HairInstance:HandlePrerequisite () (at ./Library/PackageCache/com.unity.demoteam.hair@be2abe0ac1/Runtime/HairInstance.cs:675)
Unity.DemoTeam.Hair.HairInstance:LateUpdate () (at ./Library/PackageCache/com.unity.demoteam.hair@be2abe0ac1/Runtime/HairInstance.cs:240)
I imported and runned this package correctly not long ago. Could recent commits have caused this error?
Additionally, I have a suggestion. It would be great if we could use Alembic curves as guide lines to generate more curves for hair strands at runtime. Importing complete hair curves leads to excessively large .asset files, which makes the game too large.
I can confirm that there are issues with latest commits. I don't get errors, but hair is not visible.
Thanks for the repro steps -- that definitely looks like a regression.