Search Issue Tracker

Fixed

Fixed in 2023.2.1f1, 2023.3.0a10

Votes

6

Found in

2023.1.16f1

2023.2.0b12

2023.3.0a7

Issue ID

UUM-41319

Regression

No

Player crashes on SharedObject<GfxDeviceAsyncCommand::Arg,1,SharedObjectFactoryGfxDeviceAsyncCommand::Arg >::Release when it runs out of memory

--

-

Reproduction steps:
1. Open the attached “repro-project“
2. Open the Assets/HairTestSceneCrash.unity scene
3. Build And Run
4. Wait for the Player to crash

Reproducible with: 2023.1.2f1, 2023.2.0a21
Could not test with: 2021.3.28f1, 2022.3.4f1 (Could not build the project due to errors in the Console)

Reproduced on: Windows 10 Pro, Windows 11 (by reporter), macOS Ventura 13.4 (Intel)

First few lines of the stack traces:
0x00007FF8D18B81AC (UnityPlayer) SharedObject<GfxDeviceAsyncCommand::Arg,1,SharedObjectFactoryGfxDeviceAsyncCommand::Arg >::Release
0x000002A038E25DFA (Mono JIT Code) (wrapper managed-to-native) UnityEngine.MaterialPropertyBlock:DestroyImpl (intptr)
0x000002A038E25D0B (Mono JIT Code) UnityEngine.MaterialPropertyBlock:Dispose ()
0x000002A038E25C2B (Mono JIT Code) UnityEngine.MaterialPropertyBlock:Finalize ()
0x0000029EE51B3014 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr)

0x00007FF93D719F43 (UnityPlayer) SharedObject<GfxDeviceAsyncCommand::Arg,1,SharedObjectFactoryGfxDeviceAsyncCommand::Arg >::Release
0x00007FF93DA50EE7 (UnityPlayer) RenderingCommandBuffer::ClearCommands
0x00007FF93DAB19A9 (UnityPlayer) ScriptableRenderContext::CleanupCommandBuffers
0x00007FF93DAB34BC (UnityPlayer) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x000001D216605EB3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal (UnityEngine.Rendering.ScriptableRenderContext&)

Comments (3)

  1. Qleenie

    Nov 02, 2023 17:34

    Any update on backports? This is critical issue, and there is no usable Unity version without this bug.

  2. schema_unity

    Jul 09, 2023 13:51

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.