Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

What can prevent 2D lights from being batched?

Discussion in '2D Experimental Preview' started by laserDogRob, Oct 14, 2021.

  1. laserDogRob

    laserDogRob

    Joined:
    Jun 20, 2018
    Posts:
    39
    I made an editor script to go through every prefab with a light2d component and made them all target the same 2 sorting layers. Still, I'm seeing 150+ batches from lights when going through the frame debugger. Anything else I need to look out for?

    Thanks!