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
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
- Cube is rendered green when its color is set to black and using the Lift Gamma Gain Volume interpolation
Resolution Note (fix version 2023.3.0a7):
Fixed UsePass handling to prevent referencing old data after reimporting the pass source