Hi, I have a couple of states and animations in animator for my objects. All works fine when I start my app via Unity Editor, but when I make a build and upload to a server, animations don’t work and I receive no errors in console. Thanks for any answers.
Do you see any errors during deployment in the Unity console related to animations?
Can you open your hosted website using ?printGltf and inspect the chrome console - it prints the loaded Gltf and has an animations array.
I also played with Animation class instead of Animator, there I can’t make the animations NOT loop.
when I use:
var playOptions = new PlayOptions();
playOptions.loop = false;
this.animation.play(“Card flip”, playOptions);
everything is fine on local server, but I can’t build the project I just get this weird error, that says “at error” . So all Iam trying to do is play the animation on not make it loop.