Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

[2018.2][BUG] Spaces in project folder makes it unable to open the correct project in VSCode

Discussion in 'Editor & General Support' started by Saucyminator, Jul 11, 2018.

  1. Saucyminator

    Saucyminator

    Joined:
    Nov 23, 2015
    Posts:
    61
    Just updated to 2018.2 and when I open my scripts through the editor I get this: https://i.imgur.com/jdVpKaO.png
    Correct would be this: https://i.imgur.com/bC18UwU.png

    My project folder is named "Saucy - Hellway" and VSCode opens the script I want to open plus creates new files for "Saucy", "-", and "Hellway".
    If I rename the project folder without the spaces it works and opens the correct project in VSCode again.

    Unity v2018.2.0f2
    VSCode 1.25.0
     
  2. theonenr

    theonenr

    Joined:
    Aug 4, 2014
    Posts:
    19
    The Problem with namespace will be fixed in "next weeks" according to Unity developer. But i have the same problem without space in project name :(
     
  3. RowdyCoder

    RowdyCoder

    Joined:
    Jun 24, 2015
    Posts:
    28
    Make sure that no folder in the entire path leading up to and including project folder has a space in the name. That seems to work for me.
     
  4. SuperYoshi67

    SuperYoshi67

    Joined:
    Jul 15, 2018
    Posts:
    1
    Same problem here.