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

Bug Shurkien particles and "Application.UpdateScene"

Discussion in 'Editor & General Support' started by kripto289, Jul 12, 2023.

  1. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    466
    Hello,
    This terrible bug continues since Unity 5.5.
    Any changes of particle system causes the editor to freeze for a few seconds.
    1k particles ~5 seconds
    5k particles ~8 seconds
    10k particles ~20 seconds
    20k particles ~1 minute.

    Impossible to work with a particle system when any change requires waiting 100500 seconds.
    Any ideas?
    upload_2023-7-13_1-10-46.png

    Looks like unity update each module per particle?
    For example, I have "noise", "shape" and "velocity" module. 20k particles * 3 active modules = 60k updates in the profiler. WTF?

    the only way to speed up the particles is to turn off playback -> change the parameter -> turn on playback
     
    Last edited: Jul 12, 2023
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    Is this maybe due to „warmup“?
    Not sure if you can do that with Inspector, I only remember that as a particlesystem flag, probably in the Start method.
     
  3. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    466
    I found what cause this problem.
    If this toggle is checked then I have this bug.
    upload_2023-7-13_1-31-53.png
    I think unity must disable it by default.