Search Issue Tracker
Fixed
Fixed in 2022.3.14f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a7
Votes
1
Found in
2022.3.6f1
2023.1.11f1
2023.2.0b7
2023.3.0a3
Issue ID
UUM-46187
Regression
Yes
Crash on malloc_internal when recompiling a ShaderGraph used by another shader via UsePass
How to reproduce:
1. Open the user attached “1617723-UsePass.zip“ project
2. Open the scene called "Scene"
3. Open "SpecVertColFast" in Shader Graph
4. Ensure the GameView and Shader Graph is visible in the Editor
5. Save and Recompile the "SpecVertColFast" shader
6. Observe crash
Reproducible with: 14.0.8 (2022.3.1f1, 2022.3.6f1)
Not reproducible with: 12.1.12 (2021.3.29f1), 14.0.7 (2022.3.0f1), 15.0.6 (2023.1.7f1), 16.0.3 (2023.2.0b3)
Reproduced on: Windows 10
First lines of stack trace:
0x00007ff691caed4e (Unity) malloc_internal
0x00007ff69216d895 (Unity) keywords::LocalKeywordState::Resize
0x00007ff692171401 (Unity) ShaderLab::Pass::ComputePassValuesHash
0x00007ff69214b303 (Unity) Material::UpdateHashes
0x00007ff69213a501 (Unity) Material::BuildProperties
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2023.3.0a7):
Fixed UsePass handling to prevent referencing old data after reimporting the pass source