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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
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.