Search Issue Tracker

Fixed

Votes

1

Found in [Package]

1.17.4-preview

Issue ID

ADDR-1780

Regression

Yes

AddressableAssetSettingsDefaultObject.Settings returns null after script recompile when Editor is in batch mode

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Download the attached project
2. In the project's directory, open the "batchMode.sh" file for editing
3. Edit the "UNITY" according to the Editor's path ("\{path to editor}/Unity.app/Contents/MacOS/Unity")
4. Open up a Terminal
5. Launch the "batchMode.sh" shell script ("sh \{path to script}/batchMode.sh")
6. Wait for the script to finish executing
7. Inspect the Editor's log in the Terminal

Expected result: There are no exceptions thrown
Actual result: NullReferenceException is thrown

Reproducible with: 1.17.4-preview (2019.4.19f1, 2020.2.3f1, 2021.1.0b4, 2021.2.0a3)
Not reproducible with Unity 2018.4.31f1 (AddressableAssetSettingsDefaultObject.Settings is not null)

  1. Resolution Note:

Comments (3)

  1. ageana

    Jul 27, 2023 11:54

    This still happens in unity 2022.3.5f1 with Addressables 1.21.14. What versions contain the fix?

  2. OnixSystems

    Jul 09, 2023 19:52

    Issue reproduced in Unity 2022.3.3f1

  3. starikcetin

    Jul 29, 2022 18:11

    We can't access the links in the resolution notes. How and in which version is this fixed?

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.