Search Issue Tracker
Fixed in 7.2.2
Votes
0
Found in [Package]
6.9.1
Issue ID
1183840
Regression
Yes
Json Parse Error in shadergraph file causes unity to crash and refuse to open project until file is corrected or deleted
Doesn't reproduce in 2019.1.11f1
Reproduced in 2019.2.6f1, 2019.3.0b3, and 2020.1.0a4 (both 6.0.1 and 6.1.1)
Repro steps:
1. Use a project with Universal
2. Create a new PBR shadergraph
3. Navigate to the folder the shadergraph is in
4. Open the shadergraph file in your text editor of choice
5. Add an extra curly brace ("{") to the beginning of the file and save it
6. Switch back to Unity
Expected result: Unity will not crash but the shadergraph will become invalid and the console will print a Json Parse Error
Actual result: Unity not only crashes, but doesn't run the crash handler, so there is no way to report the crash properly
I've attached the crash logs, but since Unity does not run the crash handler there's a chance that it doesn't write the final crash data to the logs either.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment