- Home /
Object vanishes, but casting shadows, in game window but still visible in editor
We are experiencing a strange issue where a mesh is visible in the editor window, but not in the game window, even though the shadows that the mesh is casting IS visible.
Kinda ironic that the only questions I could find regarding this were from people who actually desired to achieve this effect!
If we disable and re-enable the mesh renderer the object becomes visible, so I've written a dirty little component that does just that, but obviously a hack is not the ideal solution.
Has anyone come across this kind of behaviour, and if so, could you perhaps offer any suggestion as to why this is happening?
The closest question I found indicated that this kind of thing may have something to do with the parenting of the object, but even when we place the object in the root of the hierarchy this still occurs.
As far as we can tell this issue is not related to camera culling.