Skip to content

Update Build Instructions on Linux #26

@SylanTroh

Description

@SylanTroh

Is your feature request related to a problem?

The build instructions for Linux (for props/avatars/worlds) are a bit out of date and will not work.

Describe your preferred solution

Android and Windows Build support no longer install properly through UnityHub on Linux (at least on my machine). I've found the following workaround:

  1. Download your preferred Unity Editor version from Unityhub
  2. Find your preferred Unity Editor version on the Unity website (https://unity.com/releases/editor/whats-new/6000.0.64f1#installs) and manually download the Android Build Support and Windows Build Support (Mono) Packages (these should be .pkg files, because they are for the mac version of the editor for some reason).
  3. Extract the contents of these files using the instructions found here: https://discussions.unity.com/t/issues-with-new-download-links-for-linux-no-setup-for-the-editor-and-android-as-a-pkg-file/950096

More specifically, the URL above actually recommends you extract them to the incorrect folder, so more accurately, you need to extract the package to

Unity/Hub/Editor/YourEditorVersion/Data/PlaybackEngines/AndroidPlayer for the Android Build Support, and
Unity/Hub/Editor/YourEditorVersion/Data/PlaybackEngines/WindowsStandaloneSupport for Windows Build Support.

After this, you'll have to disable OpenXR support in Project Settings > XR Plug-in Management and you'll still have set the Scripting Backend to Mono in Project Settings > Player.

You may optionally uninstall com.meta.xr.sdk.core. This doesn't seem to break anything for me.

Once you've done all of that, .BEE files should be buildable.

Describe any considered alternatives

I haven't tested building a client yet. Also, there may be easier ways to fix builds on Linux. This procedure is just the first thing that I've found that works (as of the current time).

Additional Context

I tested this using Unity Editor Version 6000.2.14f1 and Unity Hub 3.15.2

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions