- Home /
Question by
ELITEMASTER321 · Jun 21, 2020 at 02:05 AM ·
staticbatching
Why do I have 23k batches? (HDRP) Static batching not working
My game has 23k batches and 0 dynamic batches or static batching. Idk why static batching isn't working because I've turned it on and set everything to static. Please help
Comment
Answer by Bunny83 · Jun 21, 2020 at 02:57 AM
Are you sure that you do not modify / instantiate the material of the relevant objects? Batching only works when all the objects that should batch use the exact same sharedMaterial. Whenever you access the material or materials property, Unity will create an instance on this renderer and it becomes disconnected from the sharedMaterial.
wait no its not mate nvm kill me now
Your answer
![](https://koobas.hobune.stream/wayback/20220613001426im_/https://answers.unity.com/themes/thub/images/avi.jpg)