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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

5.3 each particle system requires batch to be drawn

Discussion in 'General Graphics' started by spokdev, Dec 10, 2015.

  1. spokdev

    spokdev

    Joined:
    Dec 3, 2013
    Posts:
    6
    I previously used 5.2.1f1 and number of particle systems (identical) were drawn in one batch.
    After update to 5.3.0f4 each particle system takes 1 batch to be drawn.
    I quess it is more performance heavy.
    Is it my mistake or I understand something wrong?
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,851
    Is this the same scene in each version or has something changed? Can you submit a bug report with the project so we can take a look.
     
  3. spokdev

    spokdev

    Joined:
    Dec 3, 2013
    Posts:
    6
    Yes, the same. I even tried to create default particle system, cloned it with (ctrl+D) and still each of them required separate batch.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,851
    Can you submit a bug report and post the number here?
    Thanks
     
  5. spokdev

    spokdev

    Joined:
    Dec 3, 2013
    Posts:
    6
    Sure thing. Reported bug - Case 752700
     
    karl_jones likes this.
  6. viosat

    viosat

    Joined:
    Jun 14, 2015
    Posts:
    10
    I have the same problem in my game.
     
  7. spokdev

    spokdev

    Joined:
    Dec 3, 2013
    Posts:
    6
    So, first I quessed it would affect performance. Now I actually tested: 100 default particle systems on default scene. Both on nexus 7 (2012) and on PC (i3 4160) FPS almost identical - on 5.2.1f1 and 5.3.0f4.
    Here the answer I`ve got from Unity QA:
    Part of the multithreading work for 5.3 means it's no longer feasible to batch particle draw calls.
    But the performance improvement from multithreading should far outweigh the benefits batching particles used to give in all test cases.
    If you do see any particle performance regression though, please get back in touch!
    So, I quess if no one would register performance regression - problem is non existent.
     
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,851
    Yes the system is now multi threaded so we swap batching in exchange for multi threading.