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

Package: Addressables

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.