Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.5.0f3
Issue ID
875241
Regression
No
The instance of a scriptable object is not created, when a namespace is used and a nested class is defined
Reproduction steps:
1. Open the attached project;
2. Open the scene "TestScene";
3. Enter Play mode and observe the Console window;
Actual result: an error "The referenced script on this Behaviour is missing!" shows up. The instance of ScriptableObject is not created.
Expected result: The instance of ScriptableObject should be created and an error should not show up.
Note: the bug appears when both a namespace is used and the ScriptableObject is defined as a nested class. If either of those is changed, then the bug does not appear (have look to the user notes in the Test.cs)
Reproduced with: 5.3.6p4, 5.4.4f1, 5.5.0f3, 5.6.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment