Probable teleport physics bug related to scene transitions

Apologies if this bug is already known, however I have just worked-around a probable physics bug in 3.7 beta 0 (github v3 branch) where physics-enabled sprites would randomly “teleport” to off-screen locations. I used logging of each of the game node’s children to see that sometimes one or more sprites had very large or very small position.x and/or position.y values after 5 or so frames.

Having spent many days tracking it down, thinking it was a bug in my custom PhysicsEditor exporter, I used watchpoints to see what was changing the position and found that Node::updateTransformFromPhysics() was teleporting the sprites during a scene transition from my main menu scene.

I did not track down the error any further, sorry, but I know it not happen if transitions were not used and simply worked around the bug by loading my sprites in my game scene’s onEnterTransitionDidFinish() method instead.

I have logged an issue on github for this bug.