Search Issue Tracker
Fixed
Fixed in 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Votes
0
Found in
6000.0.34f1
6000.1.0b1
6000.2.0a1
Issue ID
UUM-92704
Regression
Yes
Scripts are only loaded a second time on import after renaming all the associated files (.cs, meta, class) when the Editor is closed
Steps to reproduce:
1. Create a new project
2. Create a MonoBehaviour "Test" script and a Prefab "TestPrefab", attach the script to the prefab
3. Save and close the Editor
4. Navigate to "RootProject/Assets" folder
5. Rename the script, its class and meta file to "Test2"
6. Launch the Editor, select the "TestPrefab" and observe the missing script
7. Restart the Editor and observe the script is attached
Expected results: script references are loaded on first import
Actual results: scripts are only loaded a second time on import after renaming all the associated files (.cs, meta, class) when the Editor is closed
Reproducible with: 6000.0.22f1, 6000.0.34f1, 6000.1.0b1
Not reproducible with: 2021.3.47f1, 2022.3.56f1, 6000.0.21f1
Testing Environment: Windows 11
Not reproducible on: no other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
- Error "ArgumentException: Trying to use an invalid resource" when creating custom post-processing effect in URP
- [DX12] GameObjects using CommandBuffer DrawProcedural and DispatchCompute calls have color flicker when changing color and moving mouse cursor
- The Player becomes unresponsive after resolution switch in Exclusive Fullscreen mode when using DX12 Graphics API
- (Apple Silicon) Floating point inconsistencies between mono and il2cpp
Add comment