Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent available modules via RDP vs SSH on Windows #437

Open
4 tasks done
joelsdc opened this issue Sep 12, 2023 · 2 comments
Open
4 tasks done

Inconsistent available modules via RDP vs SSH on Windows #437

joelsdc opened this issue Sep 12, 2023 · 2 comments

Comments

@joelsdc
Copy link

joelsdc commented Sep 12, 2023

Issue Checklist

  • I'm using the latest u3d version
  • I ran u3d --help
  • I read the README
  • I made sure that a similar issue doesn't exit

Issue Description

When trying to install a Unity version with specific packages, if I run the command via RDP/cmd I get a different set of results, than if I run the same command via SSH (on the same server).

Example when running via RDP from a cmd shell:

C:\Users\Admin>u3d available -u 2021.3.3f1 -p
Version 2021.3.3f1: https://download.unity3d.com/download_unity/af2e63e8f9bd/
Packages:
 - Unity
 - Visualstudio
 - Visualstudioprofessionalunityworkload
 - Visualstudioenterpriseunityworkload
 - Android
 - Ios
 - Appletv
 - Linux-il2cpp
 - Linux-mono
 - Linux-server
 - Mac-mono
 - Mac-server
 - Universal-windows-platform
 - Webgl
 - Windows-il2cpp
 - Windows-server
 - Documentation
 - Language-ja
 - Language-ko
 - Language-zh-hans
 - Language-zh-hant
 - Android-sdk-ndk-tools
 - Android-sdk-platform-tools
 - Android-sdk-build-tools
 - Android-sdk-platforms-29
 - Android-sdk-platforms-30
 - Android-ndk
 - Android-sdk-command-line-tools
 - Android-open-jdk

C:\Users\Admin>

The exact same server, same command, but running it via SSH:

admin@TEST-PHX C:\Users\Admin>u3d available -u 2021.3.3f1 -p
No closest version from UnityHub found for version 2021.3.3f1
Version 2021.3.3f1: https://download.unity3d.com/download_unity/af2e63e8f9bd/
Packages:
 - Unity
 - Visualstudio
 - Visualstudioprofessionalunityworkload
 - Visualstudioenterpriseunityworkload
 - Android
 - Ios
 - Appletv
 - Linux-il2cpp
 - Linux-mono
 - Linux-server
 - Mac-mono
 - Mac-server
 - Universal-windows-platform
 - Webgl
 - Windows-il2cpp
 - Windows-server

admin@TEST-PHX C:\Users\Admin>

Any clue what can be causing this behavior?

This is on u3d v1.3.3

@joelsdc
Copy link
Author

joelsdc commented Sep 12, 2023

NOTE: This happens with any version I try to install via SSH, the 2021.3.3f1 was just one example.

@joelsdc
Copy link
Author

joelsdc commented Sep 12, 2023

Adding the commands with --verbose:

From RDP:

C:\Users\Admin>u3d available -u 2021.3.3f1 -p --verbose
DEBUG Loading modules for several versions: ["2021.3.3f1"]
DEBUG Using http opts: {:use_ssl=>#<MatchData "https">, :read_timeout=>300}
DEBUG No modules registered for UnityHub for version 2021.3.3f1
INFO Version 2021.3.3f1: https://download.unity3d.com/download_unity/af2e63e8f9bd/
INFO Packages:
INFO  - Unity
INFO  - Visualstudio
INFO  - Visualstudioprofessionalunityworkload
INFO  - Visualstudioenterpriseunityworkload
INFO  - Android
INFO  - Ios
INFO  - Appletv
INFO  - Linux-il2cpp
INFO  - Linux-mono
INFO  - Linux-server
INFO  - Mac-mono
INFO  - Mac-server
INFO  - Universal-windows-platform
INFO  - Webgl
INFO  - Windows-il2cpp
INFO  - Windows-server
INFO  - Documentation
INFO  - Language-ja
INFO  - Language-ko
INFO  - Language-zh-hans
INFO  - Language-zh-hant
INFO  - Android-sdk-ndk-tools
INFO  - Android-sdk-platform-tools
INFO  - Android-sdk-build-tools
INFO  - Android-sdk-platforms-29
INFO  - Android-sdk-platforms-30
INFO  - Android-ndk
INFO  - Android-sdk-command-line-tools
INFO  - Android-open-jdk

C:\Users\Admin>

From SSH:

admin@TEST-PHX C:\Users\Admin>u3d available -u 2021.3.3f1 -p --verbose
DEBUG Loading modules for several versions: ["2021.3.3f1"]
DEBUG Using http opts: {:use_ssl=>#<MatchData "https">, :read_timeout=>300}
DEBUG No modules registered for UnityHub for version 2021.3.3f1
INFO No closest version from UnityHub found for version 2021.3.3f1
INFO Version 2021.3.3f1: https://download.unity3d.com/download_unity/af2e63e8f9bd/
INFO Packages:
INFO  - Unity
INFO  - Visualstudio
INFO  - Visualstudioprofessionalunityworkload
INFO  - Visualstudioenterpriseunityworkload
INFO  - Android
INFO  - Ios
INFO  - Appletv
INFO  - Linux-il2cpp
INFO  - Linux-mono
INFO  - Linux-server
INFO  - Mac-mono
INFO  - Mac-server
INFO  - Universal-windows-platform
INFO  - Webgl
INFO  - Windows-il2cpp
INFO  - Windows-server

admin@TEST-PHX C:\Users\Admin>

Any tips are more than welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant