Unable to pick instance from import mesh

I will import the mesh from the file and want to use it as a model in the future (for example, creating identical units in the RTS), but when creating instances it is impossible to click on instances, or the click only works on one of 10 (if the camera is raised 45+ degrees). I tried Babylon on two models from the sandbox, the result is slightly different, but still strange … Why can I select the parent-imported mesh normally, but there are no instances?
https://playground.babylonjs.com/#WZNAU4#7
https://playground.babylonjs.com/#WZNAU4#8
two examples with different models

Cloning a complex model (with skeletons, animation groups) require more than a single call to the clone/instance functions.

The easiest way would be to use an assets container and use its cloning method:

https://playground.babylonjs.com/#WZNAU4#22

2 Likes