-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
Description
Description
Animation scripts fire oncreate() event on every frame.
Debugging
Reproduce
- Add an animation script to any model text.
- Add an
oncreate()function with a debug trace (ex:log("\n Hello world!");). - Load the module and play level with entity spawned from model.
Oncreate()fires on each frame along withmain().
Expected behavior
Oncreate() should only fire during initial creation of script (i.e. spawning entity).
Version
Unknown. Anecdotally this bug has existed for several years and may have been present since addition of oncreate().