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
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
- Reorderable ListView inside a ScrollView has a glitchy behavior when trying to reorder items
- Hidden method is opened in IDE when double clicking the log message in the Console that has the HideInCallstackAttribute
- Errors in the Console when creating a new "2D Platformer Microgame" template project
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
Resolution Note (fix version 2023.3.0a7):
Fixed UsePass handling to prevent referencing old data after reimporting the pass source