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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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,510
    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