Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Prefab Instancing and High Batch Count

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

  1. The_Nerd_Sherpa

    The_Nerd_Sherpa

    Joined:
    Dec 11, 2018
    Posts:
    57
    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?
     
unityunity