Search Issue Tracker
Fixed
Fixed in 1.21.15
Votes
0
Found in [Package]
1.21.8
Issue ID
ADDR-3270
Regression
Yes
Addressable Asset Settings file throwing NullReferenceException exception when selecting the file in Project window
Reproduction steps:
1. Open the attached project “AddressableBug”
2. In the Project window select “Assets/Data/AddressableAssetData/AddressableAssetSettings.asset” file
3. Inspect the Console window
Expected result: No errors are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” error is thrown in the Console window
Reproducible with: 1.3.3 (2020.3.46f1), 1.21.8 (2020.3.46f1, 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5)
Not reproducible with: 1.2.4 (2020.3.46f1)
Reproducible on: macOS 13.1 (Intel), Windows 10
Note: The error stops appearing when the file is dragged on Window -> Asset Management -> Addressables -> Groups window to import it
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
- 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
Resolution Note (fix version 1.21.15):
Fixed an issue where a NullReferenceException occurs when inspecting Addressable Settings. User has their addressables data in a subfolder (Assets/Data/AddressableAssetsData) different from the default path (Assets/AddressableAssetsData). We encourage using the expected default path. Additionally the user's AddressableAssetSettingsDefaultObject must be added to the list of config objects in EditorBuildSettings, so that it can be detected by the Groups window.