Search Unity

Question Prefab Instancing and High Batch Count

Discussion in 'General Graphics' started by The_Nerd_Sherpa, Jan 15, 2021.

  1. The_Nerd_Sherpa


    Dec 11, 2018
    What is the difference between pulling a Prefab out of the Projects folders each time vs. duplicating the Prefab in the Hierarchy? Does duplicating the Prefab in the Hierarchy "instance" it, and pulling it from the Projects folder does not?

    I'm getting between 8k and 20k batches per frame with around 100fps. I've been researching ways to reduce the batches and I haven't been able to find any specific info about this.

    I'm probably using the term "instancing" wrong. I do have the Prefab set as Static with GPU instancing enabled.

    I guess, part of my confusion is if I duplicate the prefab, then scale/rotate/etc. will that break the instancing?