Unity Issue Tracker - Crash on malloc_internal when recompiling a ShaderGraph used by another shader via UsePass
Fixed
UUM-46187
Crash on malloc_internal when recompiling a ShaderGraph used by another shader via UsePass
Unity: Shader System
Fixed
2023.3.X
2023.2.X
2023.1.X
2022.3.X
Fixed UsePass handling to prevent referencing old data after reimporting the pass source
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