Version:
1.0.72.0
Frequency:
Consistently
Severity:
High
Bug description:
When paused, model behaviour Asbobo_GT_Update execution is paused, but when the simulation is unpaused, it appears that the backlog of update code executions which would have executed during the pause are executed at high speed, making the execution frequency substantially higher than the given parameter.
Repro steps:
I’m not fully set up with the new SDK so can’t provide a sample file, but I can see from my J3 execution what is happening. If below is unclear, I can provide a sample once I have the SDK fully configured.
To see the issue, create an Asobo_GT_Update with some basic counter, pause the simulation, in the behaviours debug window, observe that the counter increases rapidly when the simulation is unpaused.
Notably, the ‘Last Update’ value given at the bottom of the ‘Updates’ tab in the behaviours debug window counts down as the model behaviour catches up. I would expect ‘Last Update’ to revert to 0 when the first execution is performed as the simulation is unpaused.
Cheers,
Chris