Search Issue Tracker
Duplicate
Votes
0
Found in
5.3.3p2
Issue ID
776861
Regression
No
Scripts are missing on gameobjects after refactoring class name in MonoDevelop
- Add a script and attach it to any gameobject on the scene
- Open this script in MonoDevelop
- Refactor class name in the script to something else
(either Refactor -> Rename from context menu, or manually changing the name of the class and the script file name so that they match)
- Go back to the editor, click on the gameobject to which the script was attached to open Inspector window
Actual:
Previously attached script is now "Missing (Mono script)"
Expected:
The gameobject has the renamed script attached (works with Visual Studio)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment