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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment