DragonBox / u3d

U3d is a cross-platform set of tools to interact with Unity3D from command line.
MIT License
361 stars 33 forks source link

2019.2.13f1 fails to install on linux #391

Open BastianBlokland opened 4 years ago

BastianBlokland commented 4 years ago

Issue Checklist

Issue Description

Thanks for the great tool, its been working great for the past year for us. However Unity 2019.2.13f1 fails to install on linux ci. Are there any workarounds available?

Logs:

Root privileges are required
---------------------------------------------------------
--- Downloading Unity 2019.2.13f1 version 2019.2.13f1 ---
---------------------------------------------------------
Downloading from https://download.unity3d.com/download_unity/e20f6c7e5017/LinuxEditorInstaller/Unity.tar.xz
Download will be found at /home/vsts/Downloads/Unity_Packages/2019.2.13f1/Unity.tar.xz
Successfully downloaded Unity.
--------------------------------------------
--- Installing Unity 2019.2.13f1 (Unity) ---
--------------------------------------------
Installing with /home/vsts/Downloads/Unity_Packages/2019.2.13f1/Unity.tar.xz
$ mkdir -p /opt/unity-editor-2019.2.13f1; cd /opt/unity-editor-2019.2.13f1; tar xf /home/vsts/Downloads/Unity_Packages/2019.2.13f1/Unity.tar.xz
Installation successful
/var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installation.rb:242:in `version': Couldn't find a module under /opt/unity-editor-2019.2.13f1/Editor/Data/ (RuntimeError)
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:318:in `block in install'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:318:in `select'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:318:in `install'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:61:in `block in install_modules'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:58:in `each'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/installer.rb:58:in `install_modules'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/commands.rb:170:in `install'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/commands_generator.rb:173:in `block (2 levels) in run'
    from /var/lib/gems/2.5.0/gems/commander-4.4.7/lib/commander/command.rb:182:in `call'
    from /var/lib/gems/2.5.0/gems/commander-4.4.7/lib/commander/command.rb:153:in `run'
    from /var/lib/gems/2.5.0/gems/commander-4.4.7/lib/commander/runner.rb:446:in `run_active_command'
    from /var/lib/gems/2.5.0/gems/commander-4.4.7/lib/commander/runner.rb:68:in `run!'
    from /var/lib/gems/2.5.0/gems/commander-4.4.7/lib/commander/delegates.rb:15:in `run!'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/commands_generator.rb:260:in `run'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/lib/u3d/commands_generator.rb:40:in `start'
    from /var/lib/gems/2.5.0/gems/u3d-1.2.1/exe/u3d:7:in `<top (required)>'
    from /usr/local/bin/u3d:23:in `load'
    from /usr/local/bin/u3d:23:in `<main>'
lacostej commented 4 years ago

Most probably related to #384. I hope to have something working this week.