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
- [macOS] network permission shows the name of previously closed app when different app requests network access
- Delta value returned by mouse movementsMonitor is different when changing Screen Resolution
- The Radius Scale option is removed from the Visual Effect Graph Output Particle when Lod is disabled in Particles Options
- Visual artifacts appear when the HD Dynamic Resolution Component changes the resolution scale
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
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