Search Unity

Each new project start in safe mode

Discussion in 'Getting Started' started by mgmike444, Jun 9, 2022.

  1. mgmike444

    mgmike444

    Joined:
    Oct 13, 2021
    Posts:
    1
    Hi community,

    I try to solve a difficult situation :
    - For each new project, i've got the safe mode box (with choice with Safe mode or continu with warning/error) and this error >
    error CS2015: 'C:\Users\mgraz\My project\Library/PackageCache/com.unity.ide.vscode@1.2.5/Editor/ProjectGeneration/AssemblyNameProvider.cs' is a binary file instead of a text file

    I've deleted all project, changed directory in a new disk, updated, reinstalled Unity and Visual Studio...no changes ;(
    My least choice is to reinstall Windows 10...

    If you're aware, and have the right solution...you're the One to solve me !!!

    With kind regards ;)

    Michel
    ...lost in safe mode :)
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    Sounds like a systems file permission issue to me. Does your Windows account have full write access to that directory? Was Unity installed from an account that had sufficient permissions?

    I would start by creating a new directory at C:\Unity\ and creating a new project there. Maybe try launching Unity as Administrator to see if that changes anything.
     
  3. RaphaelHoward

    RaphaelHoward

    Joined:
    Jun 20, 2022
    Posts:
    1
    Try running Unity as an administrator, it should help.
     
    Last edited: Jun 26, 2022