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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a13
Resolution Note (fix version 2020.3):
Fixed in 2020.3.28f1