Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.8.0-beta.1
Issue ID
HUBX-1053
Regression
No
Installing modules for an Editor version in the headless mode fails when the Editor version is not installed through the Hub
Reproduction steps:
1. Open a Terminal Window
2. Install an Editor version using a command (example: /Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless install --version 2023.3.0b5)
3. Install a module to the version using a command (example: /Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless install-modules --version 2023.3.0b5 -m ios android)
Expected result: Modules are added to the version
Actual result: "Failed to execute the command due the following, please see '-- --headless help' for assistance. TypeError: Cannot read properties of undefined (reading 'find')" error is thrown
Reproducible with: 3.7.0, 3.8.0-beta.1
Reproducible on: macOS Sonoma 14.3 (Intel), Windows 10 (user’s)
Not reproducible on: No other environment tested
Note: The 3.8 Hub throws this error: “No modules found for this editor. Module installation is only supported for editors installed with Unity Hub. Try reinstalling this editor with Unity Hub to use this feature."
Workaround: Use the ”install” command instead of the “install-modules” command (example: /Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless install --version 2023.3.0b5 --module android android-sdk-ndk-tools android-open-jdk)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note:
Adding modules to Editor versions installed not through the Hub is not supported