Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

5.4.0b10 StaticBatchingUtility broken

Discussion in '5.4 Beta' started by freekstorm, Mar 16, 2016.

  1. freekstorm

    freekstorm

    Joined:
    Nov 11, 2010
    Posts:
    86
    When combining meshes to improve speed with:

    GameObject[] go = staticItems.ToArray();
    StaticBatchingUtility.Combine(go, staticRoot);

    I'm getting vertices' being moved to different objects, often causing the mesh to stretch across the map.
    Comment out Combine resolves the problem.