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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.