Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.0f3
Issue ID
726272
Regression
No
Script can not be removed from GameObject when its parent class is changed to ScriptableObject
Steps to reproduce:
1. Create new project
2. Create script "A". By default, it inherits from MonoBehaviour
3. Create new GameObject (e.g. cube)
4. Attach "A" script to previously create GameObject
5. Change the script to inherit from ScriptableObject
6. Select GameObject and try to remove this script. Only Edit and Reset options will be available
Note: Script can be removed by inheriting back from MonoBehaviour or in GameObject's inspector's script "A" component setting "Script" field to "None" and then removing missing script.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
Add comment