diff --git a/UnitySetup/UnitySetup.psm1 b/UnitySetup/UnitySetup.psm1 index beb346d..5a6854d 100644 --- a/UnitySetup/UnitySetup.psm1 +++ b/UnitySetup/UnitySetup.psm1 @@ -963,7 +963,7 @@ function Start-UnityEditor { } $projectPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($($p.Path)) - $instanceArgs += , ("-projectPath", $projectPath) + $instanceArgs += , ("-projectPath", "`"$projectPath`"") $setupInstances += , $setupInstance }