GPUPicker thinInstance warning for picking

I im using 7.18.0 version, when I call setPickingList to add mesh with thininstance, then calling pickAync function console issues the following warning

i know this issue may be will fix after upgrading,but now i not yet to upgrading,please tell me the possible reasons for this issue

Can you repro in a playground?
cc @Deltakosh

The same code cannot reproduce this problem on the playground

The solution is to update to the latest version of babylon.js.

What causes this problem?

It’s caused by a bug which was already fixed. :wink: Is there any reason not to update to the latest version?

yes, I want to know the reason, and then I can modify and fix the problem without upgrading the version.

Can you tell me the fix pull request?

https://github.com/BabylonJS/Babylon.js/blob/master/CHANGELOG.md - I didn’t find anything here.

Maybe @Deltakosh the daddy of the GPUPicker could help here.

I want to upgrade to the latest version, but how to force the material code path to be set.

StandardMaterial.ForceGLSL = true;

2 Likes

i will try upgrade

1 Like

I haven’t updated to the latest version. The cause of this problem in v7.18.0 is that after calling setPickingList([mesh]), I updated the thinInstance of the mesh, but did not re-call setPickingList. This caused the problem. I updated the thinInstance again. After calling setPickingList([mesh]), there are only a few warnings in the console, but it does not affect the work.

1 Like