Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UI Batch Breaking 'Different Rect Clipping'?

Discussion in 'UGUI & TextMesh Pro' started by Ljaljevic1120, Jan 26, 2020.

  1. Ljaljevic1120

    Ljaljevic1120

    Joined:
    Jul 15, 2019
    Posts:
    85
    I have UI in a scroll view that is breaking batch because of 'different rect clipping'. I can't even find a trace of this on the internet.

    Can anyone explain?...
     
  2. marcolbx

    marcolbx

    Joined:
    Mar 4, 2019
    Posts:
    11
    I am having the same problem
     
  3. Ljaljevic1120

    Ljaljevic1120

    Joined:
    Jul 15, 2019
    Posts:
    85
    I still technically have the same problem, but I've found out that batch breaking is not as important as the number of batches in your scene.

    Eventually, I ignored the fact that I had batches breaking and only focused on reducing the number of batches. After a LOT of testing, everything is running smoothly. :)
     
  4. Ljaljevic1120

    Ljaljevic1120

    Joined:
    Jul 15, 2019
    Posts:
    85
    masterton likes this.
  5. ZaccheusX

    ZaccheusX

    Joined:
    Sep 25, 2020
    Posts:
    1
    I had the same problem.

    For my case, it was the "maskable" option in image component.

    All images which has "maskable" ON will go into 1 batch, while all images which has "maskable" OFF will go into another batch.

    provided that all the images are not overlapping and in the same atlas.