Search Issue Tracker
Fixed
Fixed in 6000.1.0a6, 7000.0.0a12
Votes
0
Found in
2023.2.13f1
6000.0.0b11
7000.0.0a1
Issue ID
UUM-67179
Regression
No
Crash on block_locate_free when rendering a specific scene
Reproduction steps:
1. Open the attached project "CrashRepro"
Expected result: The project opens
Actual result: Editor crashes
Reproducible with: 2023.2.13f1, 6000.0.0b11
Couldn’t test with: 2021.3.35f1, 2022.3.21f1 - console errors and the scene is broken
Reproducible on: Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace:
{noformat}
0x00007FFC18A8AFF5 (Unity) block_locate_free
0x00007FFC18A8B712 (Unity) tlsf_memalign
0x00007FFC1655BCBB (Unity) DynamicHeapAllocator::Allocate
0x00007FFC1656A865 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FFC1655C445 (Unity) MemoryManager::Allocate
0x00007FFC1656682E (Unity) malloc_internal
0x00007FFC166D3B61 (Unity) GrowableBuffer::GrowableBuffer
0x00007FFC16801D93 (Unity) RenderingCommandBuffer::RenderingCommandBuffer
0x00007FFC1688DE79 (Unity) ScriptableRenderContext::ExecuteCommandBuffer
0x00007FFC15DECCFF (Unity) ScriptableRenderContext_CUSTOM_ExecuteCommandBuffer_Internal
0x000001CB2EC317ED (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&,intptr)
0x000001CB2EC3174B (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer_Internal (UnityEngine.Rendering.CommandBuffer)
0x000001CB2EC3164B (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer (UnityEngine.Rendering.CommandBuffer)
{noformat}
{code:java}
0x00007FFC18A8AFF5 (Unity) block_locate_free
0x00007FFC18A8B712 (Unity) tlsf_memalign
0x00007FFC1655BCBB (Unity) DynamicHeapAllocator::Allocate
0x00007FFC1656A865 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FFC1655C445 (Unity) MemoryManager::Allocate
0x00007FFC1656682E (Unity) malloc_internal
0x00007FFC166D3B61 (Unity) GrowableBuffer::GrowableBuffer
0x00007FFC16801D93 (Unity) RenderingCommandBuffer::RenderingCommandBuffer
0x00007FFC1688DE79 (Unity) ScriptableRenderContext::ExecuteCommandBuffer
0x00007FFC15DECCFF (Unity) ScriptableRenderContext_CUSTOM_ExecuteCommandBuffer_Internal
0x000001CB2EC317ED (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&,intptr)
0x000001CB2EC3174B (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer_Internal (UnityEngine.Rendering.CommandBuffer)
0x000001CB2EC3164B (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:ExecuteCommandBuffer (UnityEngine.Rendering.CommandBuffer)
0x000001CB2EC2EE0B (Mono JIT Code) \Library\PackageCache\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:820] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.UniversalCameraData)
0x000001CB2EC26A1B (Mono JIT Code) Library\PackageCache\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:639] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera,UnityEngine.Rendering.Universal.UniversalAdditionalCameraData&)
0x000001CB2EC268DB (Mono JIT Code) \Library\PackageCache\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:620] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
0x000001CB2EC1EB0B (Mono JIT Code) Library\PackageCache\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:432] UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>) {code}
Notes:
Does not crash after deleting libarary and opening the scene if the Scene view window is not visible.
Deleting URP and the dependent packages stopped the crash when opening the Scene view window but still crashes when closing the project.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment