Search Unity

Bug Calling Directory.SetCurrentDirectory destroys editor!!

Discussion in 'Editor & General Support' started by andyz, Sep 16, 2020.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,269
    If you call the .net function Directory.SetCurrentDirectory in code, then when your project is run in the Editor, Unity literally falls apart as it then thinks your project is in that new directory or something

    known bug?! (2019,2020)
     
  2. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,269
    case #1278242