Fixed video plays, data but plane data does not

R2robot

Member
I think this has happened before, but I don't remember why.

I added a video to the Sitch and get an error. "Video loading error: Cannot read properties of undefined (reading 'distanceTo')" The video doesn't load unless I save and open the Sitch again. Screenshot 2026-05-26 at 01.56.34.png

If I hit play, the video plays, but the plane data remains static.

https://www.metabunk.org/sitrec/?custom=20018/plane brampton ontario 2/20260526_065548.js
 
The video loads without error now which is great, but makes everything stutter quite a bit (or at least more than usual) when playing.

The planes still aren't moving the way they should. I thought they weren't moving at all, but they are... just a tiny amount.

If I scrub through using the Time menu, the planes move as expected. Bbut when I play/scrub or use the Jump to Start/End buttons, they barely change position even though the time changed by 1m 20s.

 
Plane motion now fixed. This was a classic case of me fixing another bug and making a new one due to lack of tests. So I've also added tests to catch similar things.
 
Back
Top