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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
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.