# GPUPicker thinInstance warning for picking

**URL:** <https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464>\
**Category:** Questions\
**Tags:** gpupicker\
**Created:** [October 31, 2024, 2:58am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464 "2024-10-31T02:58:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 2:58am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/1 "2024-10-31T02:58:11Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/9/0/90d7414ddb30e30a3162d2b5d96154249c92486e.png)

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

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [October 31, 2024, 7:44am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/2 "2024-10-31T07:44:44Z")

</div>

Can you repro in a playground?  
cc @Deltakosh

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 7:49am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/3 "2024-10-31T07:49:32Z")

</div>

The same code cannot reproduce this problem on the playground

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 31, 2024, 7:54am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/4 "2024-10-31T07:54:18Z")

</div>

> [@zhangyahan](#):
>
> but now i not yet to upgrading

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

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 8:00am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/5 "2024-10-31T08:00:34Z")

</div>

What causes this problem?

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 31, 2024, 8:17am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/6 "2024-10-31T08:17:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 8:19am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/7 "2024-10-31T08:19:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 8:20am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/8 "2024-10-31T08:20:40Z")

</div>

Can you tell me the fix pull request?

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 31, 2024, 8:25am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/9 "2024-10-31T08:25:47Z")

</div>

[https://github.com/BabylonJS/Babylon.js/blob/master/CHANGELOG.md](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.

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 8:32am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/10 "2024-10-31T08:32:16Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/2/32b08afe622a8fac4b77c580002888a42d94569a.png)

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 31, 2024, 8:36am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/11 "2024-10-31T08:36:41Z")

</div>

`StandardMaterial.ForceGLSL = true;`

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [October 31, 2024, 8:41am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/12 "2024-10-31T08:41:32Z")

</div>

i will try upgrade

---

<div class="post-metadata">

**Author:** ![zhangyahan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zhangyahan/32/31789_2.png) [@zhangyahan](https://forum.babylonjs.com/u/zhangyahan)\
**Post date:** [November 1, 2024, 6:07am UTC](https://forum.babylonjs.com/t/gpupicker-thininstance-warning-for-picking/54464/13 "2024-11-01T06:07:13Z")

</div>

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.
