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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment