Mesh not showing in camera

Hi all

I have an orthographic camera and I build meshes and assign materials to them to simulate 2d graphics.

I’ve been having a lot of success with this approach, however I have now run into a situation where one mesh doesn’t show in camera.

alt text

You can see the pink arrow in my editor view, but in the camera preview (which is identical to the actual game camera) it is gone.

I’ve played with my culling masks and render layers to make sure that isn’t the issue. Other than that, I’m simply not sure how to debug this.

Does anyone have any suggestions on why the mesh isn’t showing?

Thanks,
Ves

So I slept on the problem, and found the issue was that the GameObject transform position was set outside of the camera rect. I’m not sure WHY this was stopping my geometry from rendering, but it’s solved the issue for me.

I’ll post this in threads that presents the same issues, cause i saw that there is a lot of them.
In my case, it was the animator that was presenting some wired bug, that it makes my gameObject not showing in my android device… i checked with a simple boolean if the object, mesh renderer, children, parent, and they were all active, and not showing anyway… (I also checked that the position was correct, and it was…)

so i disable the animator from the object that wasnt showing and now i can see it… try it out.
I hope that this helps someone, since i had no idea what to do when i run through this issue
I’m, in Unity 5.3

For those who get this in the future, you need to enlarge the bounds until the Camera renders it.