Search Unity

Combined Mesh in 2019.1

Discussion in 'General Graphics' started by pcg, May 2, 2019.

  1. pcg

    pcg

    Joined:
    Nov 7, 2010
    Posts:
    292
    I'm currently experiencing a problem in 2019.1.0f2 where im seeing combined meshes despite having the Static Batching & Dynamic Batching flags switched off in player prefs.
    The objects in question have Lightmap static & Reflection probe static marked but I didnt expect this to combine my meshes.

    Is there something else I need to check.

    Thanks.
     
  2. pcg

    pcg

    Joined:
    Nov 7, 2010
    Posts:
    292
    Oops.

    I was using a script called PrefabLightmapData (which is given on the forums as a workaround for the lack of ability to bake lightmaps in to prefabs) for adding lightmaps to my prefabs and this was calling StaticBatchingUtility.Combine.