Search Issue Tracker
By Design
Votes
1
Found in [Package]
1.19.14
Issue ID
ADDR-3110
Regression
No
Warnings "The referenced script on this Behaviour (Game Object '<null>') is missing!" and error "NullReferenceException: Object reference not set to an instance of an object" thrown when in Play Mode after building Addressables
How to reproduce:
1. Open the project “IN_24945”
2. Open the “SceneTest” Scene in Assets
3. Open the “Addressables Group” window
4. Set the Play Mode script to “Use Existing Build”
5. Build the Addressables
6. Enter the Play Mode
Expected result: no warnings and errors in the Console
Actual result: warnings “The referenced script on this Behaviour (Game Object '<null>') is missing!” and error “NullReferenceException: Object reference not set to an instance of an object” in the Console
Reproducible with: 1.19.15 (2020.3.42f1)
Couldn't test with: 1.19.15 (2021.3.16f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a23 (due to compiler errors))
Reproducible on: Windows 10 Pro
Notes:
- not reproducible in the new project
Workaround: enable “Enter Play Mode options” in the Editor settings
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
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
- The Code Previews panel is initially opened in a slightly minimized state
Resolution Note:
After looking into this issue we believe that the null ref exception is caused by the users scripts and is not an issue with Addressables.