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.

Bug Unity crash on loading a scene (ParticleSystemParticles::array_reserve)

Discussion in 'Editor & General Support' started by soulburner, Mar 24, 2023.

  1. soulburner

    soulburner

    Joined:
    Mar 25, 2012
    Posts:
    167
    Hi.

    We've been experiencing a crash that appears on loading a new level. It is not 100%, but after some amount of loading it occurs (it could be 1 load, could be 5).

    Looks like it somehow related to the particle systems every time.

    In the .log file it simply outputs:
    But sometimes it writes a stacktrace. Sometimes we can take a stacktrace from the crashdump file. Here are 3 different stacktraces, but all they have in common this line:
    Here are some crash stacktraces:

    1.
    2.
    3.
     
  2. soulburner

    soulburner

    Joined:
    Mar 25, 2012
    Posts:
    167
    PS: Our temporary solution is -- we're disabling all particles on all scenes and enable them manually after the scene is loaded. Magically, that solves the crashes.
     
  3. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,166
    what unity version?
     
  4. soulburner

    soulburner

    Joined:
    Mar 25, 2012
    Posts:
    167
    2022.2.10f1
     
  5. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,166
    Are you able to submit a bug report, with a reproduction project?
    We've not seen any other reports of this (yet)
     
  6. soulburner

    soulburner

    Joined:
    Mar 25, 2012
    Posts:
    167
    No, sorry. That happens on our very big project and stripping it down to a minimal reproduction project will be too much work.
     
  7. soulburner

    soulburner

    Joined:
    Mar 25, 2012
    Posts:
    167
    Also, the bug still reproduces on 2022.2.5, but with less chance (or we need to reload a level more times to get the crash). But it is still there, so that's not something new for ver .10
     
  8. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,166
    Ok thanks for the info!