Meshes with thin instances don't render normal instances

When an instance prefab.createInstance(name); is made from a prefab (mesh) that already has thin instances, that instance does not render. It exists in scene, and you can even turn on edge highlighting in the inspector along with getting picked events back with the invisible mesh, but it doesn’t render for some reason.

In the following I create an instance, that does not show up (you can find it in the inspector though)

Yes, creating instances and thin instances for a given mesh don’t work because they both use the same underlying GPU feature under the hood. So, it’s either one or the other, not both.

2 Likes

Gotcha,

Might I suggest the docs make this a bit more clear (maybe I missed that part?)? Or maybe an error when we try and make an instance when thin instances already exist? I was doing a lot of debugging to figure out what was wrong…

2 Likes