You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
The BuiltIn Compiler worked perfect in Unity Editor for MacOs. Suggest solution
Change the Setup function inside CompilerInfo to this:
I changed the Path to "\"" + Path + "\"" to avoid problem with Windows file path since C:\Program Files\Unity\Hub\Editor\2021.2.11f1\Editor\Data\DotNetSdkRoslyn\csc.dll has space in the path string.
I also found that CustomCompiler_2021 need to change in this function
private string GetOutDir(string dagName)
{
if (dagName.EndsWith("E")) return "Library/ScriptAssemblies";
var unityVersions = Application.unityVersion.Split('.');
if (int.Parse(unityVersions[0]) == 2021)
//return "Library/PlayerScriptAssemblies";
return "Library/ScriptAssemblies";
else
return "Library/Bee/PlayerScriptAssemblies";
}
since the Library/PlayerScriptAssemblies was not found.
The text was updated successfully, but these errors were encountered:
NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Environment
Additional context
The BuiltIn Compiler worked perfect in Unity Editor for MacOs.
Suggest solution
Change the Setup function inside CompilerInfo to this:
I changed the
Path
to"\"" + Path + "\""
to avoid problem with Windows file path sinceC:\Program Files\Unity\Hub\Editor\2021.2.11f1\Editor\Data\DotNetSdkRoslyn\csc.dll
has space in the path string.I also found that
CustomCompiler_2021
need to change in this functionsince the
Library/PlayerScriptAssemblies
was not found.The text was updated successfully, but these errors were encountered: