Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Changing camera FOV breaks static batching

Discussion in 'Editor & General Support' started by vicour, Nov 7, 2012.

  1. vicour

    vicour

    Joined:
    Feb 29, 2012
    Posts:
    13
    All-

    We have a game we are working on where the user is looking through a first person camera trying to find objects in the scene. We use zoom controls to let the user zoom in to certain areas by changing the fov values on the camera. (zoom in / out buttons, scripts that change camera fov)

    The problem is, static batching appears to break completely when the user uses the zoom buttons. If we never use zoom, and the camera fov never changes, batching works perfectly. If we use zoom, the draw calls go through the roof and the stats show that every single object is now its own draw call.

    Has anyone else experienced this? This is crippling us at the moment and preventing app store submissions.
     
unityunity