Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while opening project on MAC OS M1 #10

Open
mtaha3249 opened this issue Sep 7, 2021 · 3 comments
Open

Error while opening project on MAC OS M1 #10

mtaha3249 opened this issue Sep 7, 2021 · 3 comments

Comments

@mtaha3249
Copy link

Hi, I just downloaded the file and place it in the unity. Clone a project and open it to new editor and throws exceptions. I have attaches SS, PFA.
Screenshot 2021-09-07 at 11 09 17 PM

@Pramod-Redapple
Copy link

Same issue

@AgentSamad
Copy link

same issue

@Phantomxm2021
Copy link

Replace L476-L484 lines code with the following code.

private static void StartHiddenConsoleProcess(string fileName, string args)
{
var process = new System.Diagnostics.Process();
//process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
process.StartInfo.FileName = fileName;
process.StartInfo.Arguments = args;
process.Start();
}

        private static void StartHiddenConsoleProcess(string fileName, string args)
        {
            var process = new System.Diagnostics.Process();
            //process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
#if UNITY_EDITOR_OSX
            process.StartInfo.FileName = $"{fileName}/Contents/MacOS/Unity";
#elif UNITY_EDITOR_LINUX
            process.StartInfo.FileName = $"{fileName}/Contents/Linux/Unity";
#else
            process.StartInfo.FileName = fileName;
#endif
            process.StartInfo.Arguments = args;

            process.Start();
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants