Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b22
Issue ID
808747
Regression
No
refactoring class name in monoDevelop makes objects lose that script reference
Steps to reproduce:
1. Create a new project
2. Create a new C# script, name it "test"
3. Create a new gameObject in the hierarchy
4. Attach "test" script to that gameObject
5. Open "test" script with MonoDevelop
6. Right click on class name in the script and press Refactor\Rename
7. Rename the class
8. Save and close monoDevelop
9. Select gameObject you craeted before in the Hierarchy
10. Notice how it lost script reference
Expected behavior: script reference is not lost when renaming a class
Reproduced with: 5.2.4f1, 5.3.6f1, 5.4.0f2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment