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: https://github.com/atteneder/glTFast/issues/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?
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: https://github.com/atteneder/glTFast/issues/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.