Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
0
Found in
2019.1.0a11
2019.2.0a1
2019.2.0b1
2019.3.0a1
Issue ID
1157243
Regression
Yes
NullReferenceException thrown when Package's package.json contains incorrect data and Package Manager window is open
Reproduction steps:
1. Open any Project
2. Open Package Manager Window
3. Go to the directory of any default package
4. Mark package.json as writeable and delete its content
5. Focus back to Unity
Expected result: The Console logs an error with a handled exception
Actual result: The Console logs unhandled NullReferenceException
Reproduces on: 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Does not reproduce on: 2018.4.1f1, 2019.1.0a10
Note: 2019.2.0a1 throws a different error in this scenario - System.ArgumentException: JSON parse error: Invalid value
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment