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
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Resolution Note (fix version 2023.3.0a7):
Fixed UsePass handling to prevent referencing old data after reimporting the pass source