Skip to content

[Bug]: Module install fail (7z) after update from 3.12.1 to 3.16.1 #179

@trashypixl

Description

@trashypixl

What Happened

I tried installing the most recent Unity Version (6.3 LTS) with the "Windows Build Support (Mono)" Module, but the install fails with the logs (at ~/.config/UnityHub/logs/info-log.json) mentioning

Command '7z' not found in PATH or known locations

Snippet with full log lines:
unity_log_snippet.json

Image Image

How to Reproduce

  1. Open Unity Hub from Flatpak
  2. Optional: Install Unity Editor (e.g. 6.3 LTS)
  3. Install one of the mentioned build support modules (e.g. Android, Windows) into an existing or new install
  4. Module downloads, but installation fails
  5. Check logs at ~/.config/UnityHub/logs/info-log.json for fail reason

Operating System

Arch Linux

Command-line output

Anything else?

The following Modules were tried, but installation failed with the above mentioned reason.

  • Android Build Support
  • Mac Build Support (Mono)
  • Mac Dedicated Server Build Support
  • Windows Build Support (Mono)
  • Windows Dedicated Server Build Support

The following Unity Versions were tried:

  • 6.3 LTS (6000.3.7f1)
  • 2022.3 LTS (2022.3.22f1)

Possible workaround is to install 3.12.1 of the Unity Hub Flatpak (at least that worked for me)

sudo flatpak update --commit=6507886a8c6859dbc9aab8bfc4df2b8ef24e1a449d325a3bead2c93068e65895 com.unity.UnityHub

Difference of Unity Hub Flatpak versions that i found
3.16.1 Flatpak:

flatpak enter com.unity.UnityHub bash
updatedb
locate 7z

/run/host/share/icons/breeze-dark/mimetypes/16/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/22/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/24/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/32/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/64/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/16/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/22/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/24/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/32/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/64/application-x-7z-compressed.svg
/usr/share/mime/application/x-7z-compressed.xml

3.12.1 Flatpak:

flatpak enter com.unity.UnityHub bash
updatedb
locate 7z

/app/extra/resources/app.asar.unpacked/lib/linux/7z
/app/extra/resources/app.asar.unpacked/lib/linux/7z/LICENSE
/app/extra/resources/app.asar.unpacked/lib/linux/7z/README
/app/extra/resources/app.asar.unpacked/lib/linux/7z/linux64
/app/extra/resources/app.asar.unpacked/lib/linux/7z/linux64/7z
/app/extra/resources/app.asar.unpacked/lib/linux/7z/linux64/7z.so
/app/extra/resources/app.asar.unpacked/lib/linux/7z/linux64/7zCon.sfx
/app/extra/resources/app.asar.unpacked/lib/linux/7z/manifest.stevedore
/app/extra/resources/app.asar.unpacked/lib/linux/7z/readme_unity.txt
/app/extra/resources/app.asar.unpacked/lib/linux/7z/unity_license.json
/run/host/share/icons/breeze-dark/mimetypes/16/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/22/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/24/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/32/application-x-7z-compressed.svg
/run/host/share/icons/breeze-dark/mimetypes/64/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/16/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/22/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/24/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/32/application-x-7z-compressed.svg
/run/host/share/icons/breeze/mimetypes/64/application-x-7z-compressed.svg
/usr/share/mime/application/x-7z-compressed.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions