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 (IN-29079) Native crashes on mobile builds

Discussion in '2022.2 Beta' started by Kichang-Kim, Nov 8, 2022.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    952
    Hi. I found that mobile (iOS, Android) build crashes randomly when using Unity 2022.2.0b13.

    Here is stack trace of crash log (iOS):
    Android:
    With 2021.3.12f1, no crashes.
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,451
    Do you use graphics jobs?
    If so, check if that's the issue.
    If so, make a bug report for that
     
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    952
    No, I did not use GraphicsJobs.I'll report when I find more precise condition.
     
  4. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    502
    I have starting to see this issue as well in official release, even the editor sometimes will crash with similar stack trace of iOS. Have not been able to figure out the cause either.
     
  5. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    502
    Probably no one will see this now, but it does not seem like the current 2023.1 alpha have this issue.

    Edit: No, spoke too soon. Still would see same crashes randomly.
     
    Last edited: Dec 22, 2022
  6. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    952
    It still crashes with 2022.2.1f1. Both iOS and Mac (silicon) Editor. Crash timing is random. It is hard to create minimal reproducible project, so I sent crash-report only (taken from Cloud Diagnosticts). IN-26992.
     
  7. Liiii00

    Liiii00

    Joined:
    Aug 7, 2021
    Posts:
    3
    upload_2023-1-10_17-24-35.png

    Same. I'm using 2022.2.1f1, Crash randomly on iOS and android, which stop my game from publish.
    There are many LineRenderer component and material.SetFloat() API call in my game, and I'm using URP.
    Is this a known issue? Please fix it.
     
  8. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    952
    Reported as IN-29079.
     
    DevDunk likes this.
  9. kotbrain

    kotbrain

    Joined:
    Oct 13, 2019
    Posts:
    16
    Also getting crashes on iOS in 2022.2.3f1. Reported as IN-29953.

     
    Last edited: Jan 25, 2023
  10. A_Oplesnin

    A_Oplesnin

    Joined:
    Feb 12, 2018
    Posts:
    3
    For me disabling Multithreaded renderer helps. But its not a long term solution, ofc.
     
    AliBuck likes this.
  11. aimatme

    aimatme

    Joined:
    Jul 3, 2012
    Posts:
    24
    Unity3d 2022.2.7f1, URP 14.0.6, iOS crashes on

    ScriptableDrawRenderers.cpp:847:1 EXC_BAD_ACCESS

    I guess that crash in connected with my specific urp usage (vfxs), but in unity3d 2022.1.24f1 everything is OK
    Android build is also OK, my problem is iOS-only
     
  12. DanielForstinger

    DanielForstinger

    Joined:
    Feb 1, 2014
    Posts:
    3
    I am getting this crash too - anyone have any info?

    Some details:

    Crashes almost instantly on iOS: iPhone 8, iPhone 12, iPad Pro (2018)
    I have a fullscreen renderer pass doing some colour grading with a shader made in shadergraph.

    I get the same crash as people have listed here. Had no problems on 2021, just occured when I upgraded, but I can't go back now.
     
  13. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    952
    Still crashes with Unity 2022.2.9f1, Unity 2023.1.0b6. Also Mac Editor crashes too.
     
  14. AliBuck

    AliBuck

    Joined:
    Aug 22, 2020
    Posts:
    26
    Saved my build! Thanks! For me, it's a great temporary solution!

    UPD, I was too fast... still crashes...
     
    Last edited: Apr 21, 2023
  15. Seromu

    Seromu

    Joined:
    Nov 30, 2015
    Posts:
    33
    Smae Issue. Unity 2022.2.13f1. iOS 16.

    ScriptableRendererLoopJob(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*)
     
    viktorcode likes this.