Search Issue Tracker
Fixed in 6000.1.0a6
Fixed in 6000.1.X, 7000.0.0a12
Votes
0
Found in
2023.2.13f1
6000.0.0b11
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Add comment