Search Issue Tracker
Fixed
Fixed in 6000.2.6f1
Votes
0
Found in
6000.2.0f1
Issue ID
UUM-113734
Regression
Yes
New script-based files will be created incompletely when the creation process is interrupted by a script recompilation
How to reproduce:
1. Create and open a new project
2. Create a new Script file in the Project tab
3. Right after creating, create any other script-based file in the Project tab (but do not validate the name, leave it in the renaming state)
4. Observe the Project tab
Expected result: The new file stays in the naming state (which then allows finishing creating the file)
Actual result: The new file leaves the naming state (which finishes creation of the file, leaving it as a ghost file)
Reproducible in: 6000.2.0b2, 6000.2.0f1, 6000.3.0a1
Not reproducible in: 6000.0.55f1, 6000.2.0b1, 6000.3.0a4
Fixed in: 6000.3.0a2
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- The “script-based“ files would be (MonoBehavior scripts, Assembly Definition files, Shaders, etc.) - anything that contains scripts/is text-based, that is compiled after the naming state
- Invoking script recompilation in any other way also can reproduce the bug (e.g. moving scripts/asmdef files)
- Trying to delete the ghost file will attempt to delete the root folder
- Creating a new file will delete the ghost file
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 6000.2.6f1):
Fixed in 6000.2.6f1