microsoft / unitysetup.powershell

Powershell module for interfacing with Unity installs and projects.
MIT License
179 stars 48 forks source link

Unable to find installer for the UWP_IL2CPP component on 2019 installs #186

Closed nickhorvath closed 4 years ago

nickhorvath commented 5 years ago

running on a 2019 build with latest develop version:

PS> Install-Module UnitySetup -Scope CurrentUser -RequiredVersion 5.1.125-develop -AllowPrerelease
PS> Find-UnitySetupInstaller -Version '2019.1.0f2' | Format-Table
WARNING: Unable to find installer for the StandardAssets component.
**WARNING: Unable to find installer for the UWP_IL2CPP component.**
WARNING: Unable to find installer for the Mac_IL2CPP component.

 ComponentType Version       Length LastModified         DownloadUrl
 ------------- -------       ------ ------------         -----------
       Windows 2019.1.0f2 765004664 4/10/2019 9:31:08 PM https://download.unity3d.com/download_unity/292b93d75a2c/Wi...
         Linux 2019.1.0f2 176670984 4/10/2019 9:29:21 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
           Mac 2019.1.0f2  81021088 4/10/2019 9:29:20 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
 Documentation 2019.1.0f2 302884184 4/10/2019 9:30:31 PM https://download.unity3d.com/download_unity/292b93d75a2c/Wi...
Windows_IL2CPP 2019.1.0f2  59137256 4/10/2019 9:29:42 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
           UWP 2019.1.0f2 273275800 4/10/2019 9:29:50 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
       Android 2019.1.0f2 481429688 4/10/2019 9:29:03 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
           iOS 2019.1.0f2 895919584 4/10/2019 9:31:12 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
       AppleTV 2019.1.0f2 328364240 4/10/2019 9:29:11 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
      Facebook 2019.1.0f2  36121584 4/10/2019 9:29:03 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
       Vuforia 2019.1.0f2 101001032 4/10/2019 9:29:35 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
         WebGL 2019.1.0f2 235860856 4/10/2019 9:29:52 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
         Lumin 2019.1.0f2 145120904 4/10/2019 9:29:23 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...

However, if i run it with a 2018 version it finds it just fine:

Find-UnitySetupInstaller -Version '2018.4.4f1' | Format-Table
WARNING: Unable to find installer for the Lumin component.
WARNING: Unable to find installer for the StandardAssets component.
WARNING: Unable to find installer for the Mac_IL2CPP component.

 ComponentType Version       Length LastModified         DownloadUrl
 ------------- -------       ------ ------------         -----------
       Windows 2018.4.4f1 580584400 7/12/2019 7:47:25 AM https://download.unity3d.com/download_unity/5440768ff61c/Wi...
         Linux 2018.4.4f1 170563344 7/12/2019 8:07:39 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
           Mac 2018.4.4f1  56130088 7/12/2019 8:07:36 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
 Documentation 2018.4.4f1 314761544 7/12/2019 8:08:06 AM https://download.unity3d.com/download_unity/5440768ff61c/Wi...
Windows_IL2CPP 2018.4.4f1  56826832 7/12/2019 8:07:51 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
           UWP 2018.4.4f1 203710992 7/12/2019 8:07:46 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
    UWP_IL2CPP 2018.4.4f1 192902432 7/12/2019 8:07:48 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
       Android 2018.4.4f1 469961640 7/12/2019 8:07:21 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
           iOS 2018.4.4f1 751158760 7/12/2019 8:08:24 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
       AppleTV 2018.4.4f1 257149768 7/12/2019 8:07:33 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
      Facebook 2018.4.4f1  69161376 7/12/2019 8:07:32 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
       Vuforia 2018.4.4f1 107805624 7/12/2019 8:07:47 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
         WebGL 2018.4.4f1 174537704 7/12/2019 8:07:54 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
nickhorvath commented 5 years ago

dupe of issue #128

Ziugy commented 5 years ago

If I recall correctly, the Unity 2019 UWP package is forced to IL2CPP. There's no option as a .NET back end here.

nickhorvath commented 5 years ago

Okay, but is it possible to use UnitySetup to install the Additional Downloads? https://unity3d.com/unity/whats-new/2019.1.8 After i put Windows (IL2CPP) Target Support and Windows Store (.Net) Target Support on the agent manually the build was unblocked.

jwittner commented 5 years ago

In 2019 UWP IL2CPP is installed by default so the warning is a bit of a red herring as you'll have it whether you wanted it or not. I'm thinking we can expand on our logic for these warnings to not print them for components that aren't expected for a specified version if the All component flag is passed.

jwittner commented 5 years ago

If you used the installers from your query above @nickhorvath I'm curious why you didn't have Windows Store .NET Target Support or Windows IL2CPP Target Support as both of those appear to be getting properly discovered for me. =(