(IN-29079) Native crashes on mobile builds

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.

Do you use graphics jobs?
If so, check if that’s the issue.
If so, make a bug report for that

No, I did not use GraphicsJobs.I’ll report when I find more precise condition.

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.

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.

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.

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.

Reported as IN-29079.

1 Like

Also getting crashes on iOS in 2022.2.3f1. Reported as IN-29953.

For me disabling Multithreaded renderer helps. But its not a long term solution, ofc.

1 Like

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

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.

Still crashes with Unity 2022.2.9f1, Unity 2023.1.0b6. Also Mac Editor crashes too.

Saved my build! Thanks! For me, it’s a great temporary solution!

UPD, I was too fast… still crashes…

Smae Issue. Unity 2022.2.13f1. iOS 16.

ScriptableRendererLoopJob(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*)

1 Like

Same issue. Unity 2023.1.16fi ios 17.

Turning off multithreaded rendering instantly crashes my game on opening.