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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment