Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X

Votes

0

Found in

2022.3.56f1

6000.0.35f1

6000.1.0b3

Issue ID

UUM-95512

Regression

Yes

[Linux] Crash on RenderEventsContext::ExecuteCommandBuffers when creating a new Material while in Play Mode

-

Reproduction steps:
1. Open the attached “IN_materialcrash” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
4. In the Assets window, right-click empty area > Create > Material

Expected results: A new material is created
Actual results: Unity Editor crashes

Reproduces with: 2022.3.56f1, 6000.0.35f1, 6000.1.0b3
Could not test with: 2022.2.0a9, 2022.2.0a10 (I couldn’t enter the Play mode due to compiler errors which I was not able to fix. This was the UUM-56959 regression point)

Reproduces on: Ubuntu 24.04
Does not reproduce on: Windows 11 Pro, MacOS

First lines of the crash stack trace:
#0 0x007fb574cf2050 in (Unknown)
#1 0x0055c561fb5283 in RenderEventsContext::ExecuteCommandBuffers(int, unsigned int, ShaderPassContext&, RenderNodeQueue&, profiling::Marker, int) const
#2 0x0055c561e17b18 in ForwardShaderRenderLoop::PerformRendering(JobFence&, ActiveLight const
, ShadowJobData const&, bool, bool, bool, Camera::RenderFlag)
#3 0x0055c561e1936a in DoForwardShaderRenderLoop(RenderLoopContext const&, core::vector<RenderObjectData, core::allocator<RenderObjectData, 0ul> >&, CullResults const&, bool, bool, bool, Camera::RenderFlag)
#4 0x0055c561e0d83b in DoRenderLoop(RenderLoop&, RenderingPath, CullResults&, ShadowMapCache&)
#5 0x0055c561d3d1be in Camera::DoRender(CullResults&, Camera::RenderFlag, Camera::PerformRenderFunction)

Notes:

Reproduces only right after extracting the project and opening on a specific version. Crash does not reproduce if the project was opened, closed, and again opened.

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.