Search Unity

Bug [2021.2.2f1] GC Finalize related crash in Editor and iOS build.

Discussion in 'Editor & General Support' started by anatolyV, Nov 23, 2021.

  1. anatolyV

    anatolyV

    Joined:
    Nov 29, 2014
    Posts:
    63
    Hi, I'm hitting a new crash ever since updating to 2021.2.1f1, it seems to be related to garbage collection, and the Finalizer thread seems to be the one that's crashing. I have no idea how to reliably repro it yet, seems to happen rather randomly. It's affecting the Unity Editor and iOS builds (albeit the stack trace is a bit different but I'm getting the feeling that it's related).

    Never had the iOS crash happen locally, so I pulled the log from Cloud Diagnostics, it's pretty prevalent in the live version there.

    I would love to submit a bug report for this with a repro project but I have no idea where to start looking and what to isolate, and I can't really share the main project due to size. Some pointers for reproing or tips to fix or sidestep this would be appreciated.
     

    Attached Files:

    Last edited: Nov 23, 2021