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
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
- Crash on OnDemandScheduler::HandleImportWorkerLogs when performing various Unity operations
Add comment