Skip to content

Error is written if 'C:\Program Files\Unity\Hub\Editor' does not exist #175

Closed

Description

From a PC with only an install at 'C:\Program Files\Unity' I get this error:

PS> Get-UnitySetupInstance

Version                                                 Components Path
-------                                                 ---------- ----
2018.3.13f1 Windows, Windows_IL2CPP, UWP, UWP_IL2CPP, iOS, Vuforia C:\Program Files\Unity
Get-ChildItem : Cannot find path 'C:\Program Files\Unity\Hub\Editor' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\UnitySetup\5.1.119\UnitySetup.psm1:1091 char:5
+     Get-ChildItem $BasePath -Directory | Where-Object {
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Program Files\Unity\Hub\Editor:String) [Get-ChildItem], ItemNotFound
   Exception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions