Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question "Unbatch" Static Batching

Discussion in 'General Graphics' started by o-san, Aug 27, 2022.

  1. o-san

    o-san

    Joined:
    Jun 23, 2018
    Posts:
    32
    Hello, I am dynamically batching my scene objects in my game/editor application. When in "game mode" I want to my static objects batched.. when going to editor mode I want them "unbatched" so I can pick and choose their individual meshes. I am successful when batching the dynamically created objects.. but how do I un-batch them? Do I need to re-instance all of them? I can only find a Combine function in the StaticBatchingUtility.

    Thanks for any insight :)
     
  2. o-san

    o-san

    Joined:
    Jun 23, 2018
    Posts:
    32
    After reading up some... I guess I could rely on SRP batcher solely. I have to see how this impacts performance during the evolvement of the project.
     
    DevDunk likes this.