Search Unity

Bug Crash on Launch-How to recover project?

Discussion in 'Editor & General Support' started by eco_bach, Mar 25, 2021.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    So catch 22 situation.
    Running Unity 2021.1
    Accidentally enabled DX12 in Project settings but now I crash on launch.
    Tried deleting Library folder same thing.

    Need to recover project!
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I'd use source control to revert whatever project settings file this is saved in. But assuming you're not using source control, I'd try launching the editor with the -force-d3d11 command line argument. Never tried it with the editor (works fine on builds), but the documentation says it works.

    https://docs.unity3d.com/Manual/CommandLineArguments.html
     
  3. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Ok great tip, thanks!