GUI3DManager lags the scene when pointermove events over meshes happen


As soon as I add a GUI3DManager to my scene, which is btw my second scene, it lags the camera inertia when mousing over a lot of meshes. My first scene already has a GUI3DManager itself, but deactivating it makes no change.

Any ideas why this is happening?

This is what the profile says:

Event: pointermove Handler took ~83ms

Hey! we may need a repro to help. This is almost impossible to figure out the issue else :frowning:

1 Like

I sent you a PM :slight_smile:

Just out of curiosity, what version of BJS are you using?

Babylon.js v5.0.0-beta.7

Fix for now is setting every mesh.isPickable = false :melting_face:

Hello @Regit just checking in, would you like any more help?

I took this further in private messages, but there wasn’t a solution yet. I’m thinking the scene starts to check every mesh that’s pickable on pointermove once a GUI3DManager is created and that’s what imbues the performance.

It was suggested I create a playground, as cloning my project was too much work, but I have too much on my hands too. I’ll revisit once there’s time.