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

After importing this package, it prompts "Invalid worldAABB. Object is too large or too far away from the origin." and a suggestion. #87

Closed
YeZeLinerr opened this issue May 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@YeZeLinerr
Copy link

YeZeLinerr commented May 15, 2024

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.

1

@qlee01
Copy link

qlee01 commented May 16, 2024

I can confirm that there are issues with latest commits. I don't get errors, but hair is not visible.

@fuglsang fuglsang added the bug Something isn't working label May 17, 2024
@fuglsang
Copy link
Collaborator

Thanks for the repro steps -- that definitely looks like a regression.

@fuglsang
Copy link
Collaborator

Fixed the bug, feature request floated to separate issue #89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants