Run everything with version 2020.3.14f1 of unity. See https://github.com/WilsonCWu/battlegame/wiki for resources (We just started this page recently, so send a message if you think something should be added!).
Notes:
- Install using unity hub, not standalone! The version probably won't be in the hub, but you can find it https://unity3d.com/get-unity/download/archive, which should open it in hub.
- When installing unity, make sure to install the android plugin, and all the extra addons (there might be a hidden dropdown, not all things are selected by default, even after android is selected)
- Set android as the target platform before opening the game, otherwise you'll have to import twice 🙃
- First import (first time opening the project) is expected to take a few hours, it takes a while to import
- You'll probably need ~40gb to get everything set up, between unity/ide/project. Also note that when installing Unity gives total space needed to install, but this figure is totally inaccurate for some reason, you'll need a few more gbs than it recommends
- Out of a sample size of 1, there is a 100% failure rate if you change the default unity install location.
As mentioned above, we use Unity version 2020.3.14f1
. To install it on Ubuntu, first install the Unity Hub from https://unity3d.com/get-unity/download (this is an AppImage
file). Then, run the Unity Hub executable (ensure you modify the appropriate permissions):
chmod +x UnityHub.AppImage
./UnityHub.AppImage
Add the appropriate license through the Hub interface. You may notice that the Hub does not provide all the Editor versions for installation (only the latest/LTS versions). As such, we can pass a deeplink directly to the executable to get the appropriate version (this deeplink is obtained from https://unity3d.com/get-unity/download/archive):
./UnityHub.AppImage unityhub://2020.3.14f1/ceef2d848e70
The above command should initiate the installation process for the correct version.