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

Animation cannot loop when using GltfImport with 'mecanim' settings #662

Open
edwinhan1983 opened this issue Dec 12, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@edwinhan1983
Copy link

edwinhan1983 commented Dec 12, 2023

I tried to download a glb with animations using GltfImport with 'mecanim' settings by code in runtime, then would use AnimatorOverrideController to change old animation clip to this new animation clip. (I can not use 'legacy' settings because legacy animation clip is not working with AnimatorOverrideController in unity).

Everything works fine except the animation can not loop even with 'WrapMode.Loop' configured.

I did find a similar record here: #291, but the manually editing method is not very suitable for my case, is there any new changes that we can change the animation clip to loop through runtime code?

thanks.

@edwinhan1983 edwinhan1983 added the enhancement New feature or request label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant