Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X
Votes
0
Found in
2020.3
2020.3.14f1
2021.1
2021.2
Issue ID
1354597
Regression
No
Null value is returned when calling MonoScript.FromScriptableObject()
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/Landing
3. Find the "Buttons" object in the Hierarchy window under Canvas -> Content
4. Click on the "Buttons" GameObject
5. Observe the Console
Expected result: no errors regarding null values for ScriptableObjects logged
Actual result: errors regarding null values for ScriptableObjects logged
Reproducible with: 2020.3.16f1, 2021.1.17f1, 2021.2.0a12
Not reproducible with: 2021.2.0a13, 2022.1.0a5
Could not test with: 2019.4.29f1 (user project files are corrupted after downgrading)
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a13
Resolution Note (fix version 2020.3):
Fixed in 2020.3.28f1