Building Library\Bee\artifacts\WebGL\ManagedStripped failed with output:
Unknown arguments :
e-link-xml=C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed\SerializedTypes.xml
–�nclude-directory=C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed
–�nclude-unity-root-assembly=C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll
–�nclude-unity-root-assembly=C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
I get this error when I build for WebGL (did not test other targets). I checked the command line arguments with another tool, and I saw that the following was used to run UnityLinker:
cmd.exe /c ""C:\Program Files\Unity\Hub\Editor\2021.2.9f1\Editor\Data\il2cpp/build/deploy/UnityLinker.exe" --search-directory="C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed" --out="Library/Bee/artifacts/WebGL/ManagedStripped" --ınclude-link-xml="C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed\TypesInScenes.xml" --ınclude-link-xml="C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed\SerializedTypes.xml" --ınclude-directory="C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed" --dotnetprofile=unityaot-linux --dotnetruntime=Il2Cpp --architecture=EmscriptenJavaScript --platform=WebGL --use-editor-options --enable-engine-module-stripping --engine-modules-asset-file="C:/Program Files/Unity/Hub/Editor/2021.2.9f1/Editor/Data/PlaybackEngines/WebGLSupport/modules.asset" --editor-data-file="C:/Users/[username]/Unity Projects/RoboRace/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json" --ınclude-unity-root-assembly="C:/Users/[username]/Unity Projects/[projectname]/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --ınclude-unity-root-assembly="C:/Users/[username]/Unity Projects/[projectname]/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --print-command-line"
I believe “–ınclude-" should be "–include-”. Note that my computer’s locale is Turkish so we have a “ı” character. How do I fix this problem?
A picture of the console output is in the attachment.