Skip to content

Commit d73ee27

Browse files
committed
Write error for missing explicit version
1 parent 256e22c commit d73ee27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,10 @@ function Start-UnityEditor
724724
{
725725
$setupInstances = ,$setupInstance
726726
}
727+
else
728+
{
729+
Write-Error "Could not find Unity Editor for version $Version"
730+
}
727731
}
728732
}
729733
}

0 commit comments

Comments
 (0)