Search Unity

Question Light creates tons of batches

Discussion in 'Unity Hub' started by Lexus1337, Nov 13, 2022.

  1. Lexus1337

    Lexus1337

    Joined:
    Jul 22, 2022
    Posts:
    3
    Yesterday I added some light to my game to make it look better. Then I realised that when lighting is in game the batches jump from 400 - 1000 to 10000 - 15000. I do not think that is normal. I created a screenshot of an explosion showing the problem.

    I watched a lot of tutorials since yesterday how to optimize and stuff but nothing really worked. In settings I have all optimization stuff on and the light settings are also pretty low. Please do not just send me some website of how to optimize. I can do that myself, it did not help.

    Note: When I add any other light to the game, it also increases the batches dramaticly. I think the lights somehow disable batching all together and make every piece a standalone, whyever.

    I temporarely solved the problem by reducing the radius of the explosion from 50 to 11, showing a big difference. Now batches spike to 3000 in explosion. But it looks way less cool than before :(


    upload_2022-11-13_10-46-43.png

    upload_2022-11-13_10-47-56.png
     
    Last edited: Nov 13, 2022
    DragonCoder likes this.