Search Issue Tracker
Duplicate
Votes
1
Found in
2022.3.11f1
2023.3.0a9
Issue ID
UUM-54223
Regression
Yes
Crash on ShaderPropertySheet::AddNewPropertyUninitialized or block_remove when in Play Mode
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
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-54561
Comments (1)
-
AlexeySim
Nov 26, 2023 18:22
Same issue but in realtime on android platform.
AtomicStack::Pop()
BucketAllocator::Allocate
DualThreadAllocator<DynamicHeapAllocator>::Allocate
MemoryManager::Allocate
ShaderPropertySheet::AddNewPropertyUninitialized(ShaderLab::FastPropertyName, ShaderPropertySheetType, unsigned int) ShaderPropertySheet::SetFloat(ShaderLab::FastPropertyName, float, ShaderPropertySheet::SetFlags) at ??:0) 2023/11/14 ParticleSystemRenderer::AwakeFromLoad(AwakeFromLoadMode) at ??:0)
AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode, bool) AwakeFromLoadQueue::PersistentManagerSingleQueueAwakeFromLoad(int, AwakeFromLoadMode) at ??:0)
AwakeFromLoadQueue::PersistentManagerAwakeFromLoad_NoChecks(AwakeFromLoadMode) at ??:0) 2023/11/14 14:55:45.551 LoadSceneOperation::CompleteAwakeSequence() at ??:0)
LoadSceneOperation::PostLoadSceneAdditive() at ??:0)
LoadSceneOperation::IntegrateMainThread() at ??:0) PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) at ??:0)
PreloadManager::UpdatePreloading()
ExecutePlayerLoop(NativePlayerLoopSystem*) at ??:0)
Add comment
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
This is a duplicate of issue #UUM-54561