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

  1. Resolution Note (fix version 6000.2.6f1):

    Fixed in 6000.2.6f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.