Scene debugLayer position, rotation, scaling mode not work

I am using babylonjs 5 and I am trying to use the debugLayer position mode, and it doesn’t work. The axis not show

We will need more than this in order to help unfortunately :frowning:

Could you repro in a playground ? or in some ways that could help us help you ?


I have found the problem. I’m using vue3 and I set the canvas, engine, scene etc to Reactive (vue3 is using proxy to make these variables reactive) ; and I don’t know why the camera didn’t set as a main camera.

Then I try not to set these variables reactive, everything becomes normal.

1 Like