Search Issue Tracker
Fixed
Votes
4
Found in [Package]
1.18.2
Issue ID
ADDR-2070
Regression
Yes
Loading a Scene with Addressables.LoadSceneAsync from an Scene built using "Use Existing Build" thows an error
Reproduction steps:
1. Open the user's attached "Addressables_NullReference.zip" project
2. Go Window -> Asset Management -> Addressables -> Groups
3. In the Addressables Groups window go Build -> New Build -> Default Build Script
4. Enter the Play Mode
5. Observe the console
Expected result: Three Debug.Logs are printed out
Actual result: A NullReferenceException is thrown
Reproducible with: 1.18.9, 1.18.2 (2021.2.0a21, 2021.1.11f1)
Not reproducible with: 1.17.17 (2021.2.0a21, 2021.1.11f1) 1.18.9, 1.18.2 (2020.3.12f1)
Could not test with: 2019.4.26f1, 2018.4.36f1 (project cannot be downgraded)
Note:
- Full exception is: NullReferenceException: Object reference not set to an instance of an object
TestMonoBehaviour.Awake () (at Assets/TestMonoBehaviour.cs:9)
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
- URP Package documentation link in Package manager leads to the deprecated page
- [Usability] No setup script for Render Pipeline Assets for the proper URP Sample usage
- csc.rsp -additionalfile files are not treated as dependencies and are not reloaded when the file contents change
- Error ‘cannot use casts on l-values’ when a variable is assigned inside a second-level nested if statement before being used in a conversion
- "You cannot save to an invalid folder" warning dialog box is shown when canceling Tile Palette creation
Resolution Note:
Issue with MonoScript loading.
Requires building a MonoScript bundle introduced in 1.18.2 in order to prevent conflicts in MonoScripts