Animation events are not fired if preload is set to false

Animation events are not fired if the animation asset is not loaded during the preload phase.

Demo:
https://playcanvas.com/editor/scene/1278416

Toggle Preload checkbox of _Anim.glb. If toggled on [END] will get printed to the console. If toggled off nothing will get printed.

Another thing i noticed: In the docs it states that the time parameter of an animation event has to be normalized time. This is not true. The value of the time paramter has to be in seconds.

@Elliott

I have to bump this again. Any news on this? We have a project which relies heavily on this process.

Created a ticket in the engine repo for this: https://github.com/playcanvas/engine/issues/3765

1 Like

This has now been released in the Editor :slight_smile:

1 Like