Camera still rendering everything even when using occlusion culling
I made a map using only individual objects, like wall, doors, floor, etc. The problem is that when i am in play mode it's very laggy, so i thought occlusion culling will help optimizing the project, but no, it keeps rendering all, even if the camera cant see those object, aproximately the mesh count is 380, how can i make the occlusion culling work correctly, btw i´m using unity 5.6.5 f1 personal. Here is what i am talking about:
Camera its supposed to be only rendering the wall on his front, i dont know what to do now to fix this. Every object is marked as static have the mesh collider set properly, so thats it, Thanks in advance.
Answer by Langekaas · Jun 08, 2018 at 02:32 PM
Unity 5 is not supported
Occlusion Culling only works on oclluder static and occludee static objects, please see https://docs.unity3d.com/Manual/OcclusionCulling.html for more info.