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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment