Title: Problem retrieving Unity installation for some existing unity project version in windows agent · Issue #288 · microsoft/unitysetup.powershell · GitHub
Open Graph Title: Problem retrieving Unity installation for some existing unity project version in windows agent · Issue #288 · microsoft/unitysetup.powershell
X Title: Problem retrieving Unity installation for some existing unity project version in windows agent · Issue #288 · microsoft/unitysetup.powershell
Description: When running Install-UnitySetupInstance command within a windows agent (MS hosted windows 2022), some existing unity version cannot be found. For example, here are the following logs for Unity 6000.1.6f1 (which exists!) "C:\Windows\Syste...
Open Graph Description: When running Install-UnitySetupInstance command within a windows agent (MS hosted windows 2022), some existing unity version cannot be found. For example, here are the following logs for Unity 6000...
X Description: When running Install-UnitySetupInstance command within a windows agent (MS hosted windows 2022), some existing unity version cannot be found. For example, here are the following logs for Unity 6000...
Opengraph URL: https://github.com/microsoft/unitysetup.powershell/issues/288
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem retrieving Unity installation for some existing unity project version in windows agent","articleBody":"When running Install-UnitySetupInstance command within a windows agent (MS hosted windows 2022), some existing unity version cannot be found. For example, here are the following logs for Unity 6000.1.6f1 (which exists!)\n\n \n```\n\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command \". 'D:\\a\\_temp\\90f4909a-19d6-4185-a9b2-e2a40d68409e.ps1'\"\nCould not find archives for Unity version 6000.1.6f1\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\UnitySetup\\6.0.195\\UnitySetup.psm1:572 char:9\n+ throw \"Could not find archives for Unity version $Version\"\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : OperationStopped: (Could not find ...sion 6000.1.6f1:String) [], RuntimeException\n + FullyQualifiedErrorId : Could not find archives for Unity version 6000.1.6f1\n \n##[error]PowerShell exited with code '1'.\nFinishing: Installing Unity Components 'Windows'\n```\n \n \nHowever, when trying with a more recent unity version, here Unity-6000.2.0b5:\n```\n========================== Starting Command Output ===========================\n\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command \". 'D:\\a\\_temp\\2d7dbbe3-b86b-44ed-9575-6b662e694a23.ps1'\"\nVERBOSE: Downloading\nhttps://download.unity3d.com/download_unity/c1cd6601d4c1/Windows64EditorInstaller/UnitySetup64-6000… to\nC:\\Users\\VssAdministrator\\.unitysetup\\Installers\\Unity-6000.2.0b5\\UnitySetup64-6000.2.0b5.exe\nVERBOSE: Installing Windows Editor\nVERBOSE: 10/02/2025 11:03:31: Installing Windows to C:\\Program Files\\Unity\\Hub\\Editor\\6000.2.0b5.\nVERBOSE: 10/02/2025 11:12:46: Succeeded.\nFinishing: Installing Unity Components 'Windows'\n```\n \nI tried to use Find-UnitySetupInstaller -Version '6000.1.6f1' | Format-Table command as well. In the pipeline, I got the exception 'Could not find archives for Unity version 6000.1.6f1'. However, when executing inside a local powershell, I get the list of all possible version/component for that version:\n```\nComponentType Version Length LastModified DownloadUrl\n------------- ------- ------ ------------ -----------\n Windows 6000.1.6f1 4086765272 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/Windows64Ed…\n Linux 6000.1.6f1 79981896 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n Mac 6000.1.6f1 420593856 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\nDocumentation 6000.1.6f1 376411352 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/WindowsDocu…\nWindows_IL2CPP 6000.1.6f1 222950568 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n UWP_IL2CPP 6000.1.6f1 456131008 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n Android 6000.1.6f1 548683304 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n iOS 6000.1.6f1 292926224 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n AppleTV 6000.1.6f1 289150776 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n WebGL 6000.1.6f1 906089336 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n Linux_IL2CPP 6000.1.6f1 81210808 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\nWindows_Server 6000.1.6f1 387556000 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n VisionOS 6000.1.6f1 454091200 29/05/2025 07:12:02 https://download.unity3d.com/download_unity/d64b1a599cad/TargetSuppo…\n```","author":{"url":"https://github.com/dorszpw","@type":"Person","name":"dorszpw"},"datePublished":"2025-10-02T11:23:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/288/unitysetup.powershell/issues/288"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:47ca694f-3043-8142-d5d3-bb89c588227b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9634:29DF7:24D1A50:30E3189:697D4A02 |
| html-safe-nonce | 8c02184dc7099828d5b36ef0287a0ffee4ca23d67b5ea7d0ffa4842b473b30fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjM0OjI5REY3OjI0RDFBNTA6MzBFMzE4OTo2OTdENEEwMiIsInZpc2l0b3JfaWQiOiI2MzI2ODA2MjU4MzgwNTI0MDM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e8a040e0ba0cc6ad82a6cbaaab45fdf58d71bc2e4ca8c53a0e36696a2f51cf11 |
| hovercard-subject-tag | issue:3477145732 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/unitysetup.powershell/288/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7ef9ea9d6f59fcc9f6e036cc6cc77c0b2d6627de2521725d22ab9ff83ab3936/microsoft/unitysetup.powershell/issues/288 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7ef9ea9d6f59fcc9f6e036cc6cc77c0b2d6627de2521725d22ab9ff83ab3936/microsoft/unitysetup.powershell/issues/288 |
| og:image:alt | When running Install-UnitySetupInstance command within a windows agent (MS hosted windows 2022), some existing unity version cannot be found. For example, here are the following logs for Unity 6000... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dorszpw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/unitysetup.powershell git https://github.com/microsoft/unitysetup.powershell.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 112545453 |
| octolytics-dimension-repository_nwo | microsoft/unitysetup.powershell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 112545453 |
| octolytics-dimension-repository_network_root_nwo | microsoft/unitysetup.powershell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width