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
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)
Comments (3)
-
ageana
Jul 27, 2023 11:54
This still happens in unity 2022.3.5f1 with Addressables 1.21.14. What versions contain the fix?
-
OnixSystems
Jul 09, 2023 19:52
Issue reproduced in Unity 2022.3.3f1
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
I would say this is fixed in change at https://github.cds.internal.unity3d.com/unity/Addressables/pull/803
in addition to best practice docs added at https://github.cds.internal.unity3d.com/unity/Addressables/pull/842