Every single time I try to use a new workspace and clone the project, and I try to make a build, I encounter with this error. nickname_projectname is my colleague's workspace name in Perforce, I censored it in this message.
Sometimes I can fix this by opening ProjectSettings.asset in a Notepad++ and rewrite the path to point to my workspace's folder I create for it. And it usually works. But if I do this now Unity says my ProjectSettings is corrupted...
Where does this path gets stored by the way inside the asset? How could I change the path in a normal way?
Unhandled exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\open\Documents\work\nickname_projectname\Standalone\IL2CPPStats' is denied.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at NiceIO.NPath.CreateDirectory()
at il2cpp.StatisticsGenerator.DetermineAndSetupOutputDirectory(Il2CppCommandLineArguments il2CppCommandLineArguments)
at il2cpp.Il2CppOptionParser.SetupOtherArguments(Il2CppCommandLineArguments il2CppCommandLineArguments, List`1 foundAssemblies)
at il2cpp.Il2CppOptionParser.ParseArguments(String[] args, Boolean& continueToRun, ExitCode& exitCode, RuntimePlatform& platform, Il2CppCommandLineArguments& il2cppCommandLineArguments, BuildingOptions& buildingOptions)
at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture, Boolean throwExceptions)
at il2cpp.Program.Main(String[] args)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)