Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
1
Found in
2018.2.0b2
2018.2.0b4
Issue ID
1037161
Regression
Yes
VS Code opens two empty files in addition to the script file if the project name has a space in it
To reproduce:
1. Create a new project with a space in the name (e.g., "New Project")
2. Create a new script
3. Open the script with VS Code
4. Observe that the editor opens two empty files called New and Project
Expected: the VS Code doesn't open two empty files in addition to the script file
Reproduced in 2018.2.0b2, 2018.2.0b4, 2018.3.0a1
Did not reproduce in 2018.1.1f1, 2018.2.0b1
Regression introduced in 2018.2.0b2
Comments (12)
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
- A different Font Asset is applied when the original Font Asset is deleted while UI Builder is open
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Gusts92
Aug 08, 2018 19:49
This is not solved as of 2018.2.0f2!!!!
blackrum
Jul 26, 2018 14:34
I think I found the solution here, not sure it works for everyone though. In my case I had all my unity projects In a folder named "My Project" since VS Code always made 2 empty file I just tried to rename the parent folder of my project "My Project" to just "MyProject" without blank It just solved.
asperatology
Jul 26, 2018 11:38
"Fixed in future release" means 2018.3 unfortunately.
asperatology
Jul 26, 2018 11:38
"Fixed in future release" means 2018.3 unfortunately.
Julzso23
Jul 25, 2018 13:20
This still occurs for me on Unity 2018.2.0f2.
RX187
Jul 24, 2018 21:10
Also this may be resolved in a future release but what do we do until then?
RX187
Jul 24, 2018 21:09
I just updated my project to Unity 2018.2 and the issue persists even more auto correct is not working anymore in Visual Studio Code as well.
NGC6543
Jul 24, 2018 04:04
Me too. Experiencing the same issue!
LookingGlassTeam
Jul 20, 2018 15:41
This is not resolved. Using 2018.2.0f2 and still seeing this.
netramz
Jul 19, 2018 13:27
This issue started to occur for me when switching from 2018.1 to 2018.2, specifically on 2018.2.0f2 right now. One work around is just dragging and dropping files into VS Code, but this is still very annoying because I frequently forget and double click files; then I have to close each new blank file and tell it not to save each one costing me 4 clicks to declutter my workspace.