Search Issue Tracker
Fixed
Fixed in 2022.2.17f1, 2023.1.0b14, 2023.2.0a11
Votes
129
Found in
2022.2.5f1
2023.1.0b2
2023.2.0a6
Issue ID
UUM-25831
Regression
No
[Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
Reproduction steps:
1. Open the attached project “URPrepro”
2. Open the “StarSystem” Scene
3. Enter the Play mode
4. Leave the machine idle
Expected result: Editor stays in the Play mode
Actual result: Editor crashes after some time of leaving it idle
Reproducible with: 14.0.6 (2022.2.5f1), 15.0.4 (2023.1.0b2)
Couldn’t test with: 10.10.1 (2020.3.44f1) - No Silicon Editor, 12.1.10 (2021.3.18f1) Console error - “Assets/UI Toolkit/Scripts/RadialProgress.cs(59,9): error CS0246: The type or namespace name 'Painter2D' could not be found (are you missing a using directive or an assembly reference?)”
Reproducible on: MacOS 13.1 (M1 Max)
Not reproducible on: MacOS 13.1 (Intel), Windows 10
Notes:
Doesn’t reproduce with Rosetta.
Other users have reported URP crashes with the same stack trace but different steps.
First lines of the stack trace:
#0 0x000001048e7104 in ScriptableRenderLoopJob(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*)
#1 0x00000104c2b1d8 in GfxDevice::ExecuteAsync(int, void (*)(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*), GfxDeviceAsyncCommand::ArgScratch*{*}, GfxDeviceAsyncCommand::Arg const{*}, JobFence const&)
#2 0x000001048e3e6c in ScheduleRenderJobs(unsigned int, ScriptableRenderContextArg const*, JobFence const&)
#3 0x000001048e39c4 in ExecuteDrawRenderersCommand(ScriptableRenderContextArg*)
#4 0x000001048d7628 in ScriptableRenderContext::ExecuteScriptableRenderLoop()
#5 0x0000032da8afec in (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&) [
{0x14fa71738}
+ 0x6c] (0x32da8af80 0x32da8b04c) [0x12cf42a80 - Unity Child Domain]
-
jazzay22
Feb 16, 2023 00:00
See these for example:
https://forum.unity.com/threads/unity-apple-silicon-m1-version-crashes-very-often.1314990/unreadhttps://forum.unity.com/threads/metal-crash-on-m1-max-device-with-unity-2022-2-6f1.1400149/
And my own crashes:
https://forum.unity.com/threads/frequent-crashes-on-apple-m1-max-w-unity-2022-2-5f1.1399063/ -
jazzay22
Feb 15, 2023 23:59
There are various Gfx related crashes happening, see the Mac OS forum for a variety of the. For example inside ScriptableRenderLoopShadowsJob and Particle system mesh processing. This is the most unstable I have seen Unity be in quite a while, almost unusable.
-
VentaGames
Feb 13, 2023 12:10
For me, it happens on every 3rd run (play) of my 2D game. Constantly.
But never for my 3D project. -
michal_unity171
Feb 13, 2023 09:29
Looks like this is caused by multithreaded rendering. Starting the editor and the player with -force-gfx-st makes it not crash.
-
idunlop_oefun
Feb 04, 2023 19:20
This issue occurs on Unity 2022.2.5f. As the other commenter stated - it happens when you're using the editor. It can crash in play mode or even outside of it.
-
michal_unity171
Feb 04, 2023 13:01
This affects the Player as well, crashes the player.
-
LorenzoNuvoletta
Feb 01, 2023 15:44
Having this issue on Unity 2022.2.3 and 2022.2.4.
And it doesn't happen only when it is left idle. If you have any type of shadows and lights and click play, the editor crashes within a minute, sometimes it crashes even when you are not in play mode. Always with the same stack of: ScriptableRenderLoopJob
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Can not navigate through the Scene view when using a drawing tablet
- Crash on EditorDisplayDialogProc when opening Dialog box containing buttons with unusually long labels
- Crash on AsyncWriteImageToR2dFile when baking lightmaps using custom parameter with 16x Anti Aliasing samples
- Application Cloud Connection Id is incorrect when using Build Profile with Player Setting Overrides.
- [Android] [GameActivity] UI is unresponsive when Application Entry Point is set to GameActivity
Resolution Note (fix version 2023.2.0a11):
Crash fixed in ScriptableRenderLoop that occured on Silicon/IOS/Android resolved. This possibly solves other crashes related to the job system on these platforms.
Resolution Note (fix version 2023.1.0b14):
Fixed common crash on IOS/Android/Silicon platforms. Most commonly crashed in ScriptableRenderLoop.