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. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    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!