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 [Internal link] 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: