Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/PuzzleMatchKit/Scenes/HomeScene.unity” Scene
3. Enter the Play Mode
4. Complete the level 1
5. Click the Button with green color and arrow
Expected result: Editor does not crash
Actual result: Editor crashes
Reproducible with: 2023.3.0a8, 2022.3.11f1, 2023.3.0a9
Not reproducible with: 2021.3.31f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a7
Reproducible on: Windows 10 Enterprise 21H2 (Vulkan, OpenGLES)
Not reproducible on: No other environment tested
First few lines of the Stacktrace:
0x00007FF701ECF019 (Unity) ShaderPropertySheet::AddNewPropertyUninitialized
0x00007FF701ED9C1B (Unity) ShaderPropertySheet::SetFloat
0x00007FF7027BB7E6 (Unity) UI::PrepareSubBatch
0x00007FF7027BB539 (Unity) UI::PrepareBatches
0x00007FF7027C55F5 (Unity) UI::PrepareBatchesJob
First few lines of the 2nd Stacktrace:
0x00007FF794FF8A92 (Unity) block_remove
0x00007FF794FF8EF4 (Unity) tlsf_free
0x00007FF792DC053E (Unity) DynamicHeapAllocator::Deallocate
0x00007FF792DD1818 (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007FF792DC0DB2 (Unity) MemoryManager::Deallocate
Notes:
- Reproducible with Mono and IL2CPP
- The issue does not reproduce 100% of the time, repeat steps 3-5 at least 5 times to reproduce