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]

  1. 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.

  2. Resolution Note (fix version 2023.1.0b14):

    Fixed common crash on IOS/Android/Silicon platforms. Most commonly crashed in ScriptableRenderLoop.

Comments (47)

  1. timgreenberg

    Apr 07, 2023 15:31

    Still experiencing this in 2022.2.14f on M1 Max

  2. UNANA2048

    Apr 06, 2023 03:28

    As far as I know, 2021.3.17f and later 2021.3 have the same problem.
    I cannot use it as it is.
    I would like to see this addressed as well.

  3. FanSyan

    Apr 04, 2023 03:11

    我的评价是:不如幻塔

  4. kostareject

    Apr 03, 2023 15:12

    Same problem I have and is more often reproduced if using URP. I installed latest version it still there. I hope it will be soon fixed because is to much annoying

  5. kostareject

    Apr 03, 2023 15:11

    Same problem I have and is more often reproduced if using URP. I installed latest version it still there. I hope it will be soon fixed because is to much annoying

  6. floatingfactory

    Mar 31, 2023 19:24

    I have this issue but on the Intel editor version though running on an M2 Mac.

  7. cgaisc

    Mar 29, 2023 08:13

    @TIMGREENBERG That's right the Rosetta/Intel version works, but it's performance is literally half as good...

  8. timgreenberg

    Mar 27, 2023 09:45

    If somebody is looking for a temporary workaround, try the rosetta version, it doesn't crash for me

  9. p7510543

    Mar 27, 2023 07:33

    same issue
    crash on ios and android devices

  10. JoshuaMatchala

    Mar 26, 2023 20:06

    This is in no way only related to the Unity Editor, i'm getting constant crashes on ios and android, all my users. It crashes at random points while playing, never the same. HUGE issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.