Debug rendering disappearing after a moment

I have no idea what’s going here and it’s not a massive deal but the debug wireframes only show for an instant when starting a scene, then they disappear. I tried a few things to get it working but to no avail until, for kicks, I toggled setDebugEnabled in update and it works! Wireframes all work and change color for sleep etc. So weird but doesn’t seem to effect performance.

Using current stable.

Okay, figured it out.

Setting BulletAppState.setDebugEnabled(true) before the state has been attached causes this issue.
Settings if afterward makes it work just fine.

1 Like