-
Do NOT commit directly on main.
-
Create a branch for each issue.
-
Download Unity Hub
-
When opening Unity Hub for the first time, it will prompt you to install the latest version of Unity, skip installation and proceed to connect your account for your /personal license in the next step.
-
Go to Installs > Install Editor > Install Unity 2021.3.20f1 with ❗Android Build Support❗ and it's complementary modules.
-
If anything fails, restart Unity Hub as administrator.
-
Keep Visual Studio 2019 checked.
-
-
Clone the git repository onto your local machine.
-
You can now open the cloned project from Unity Hub.
-
If you want a video with all the steps, you cand find it here.
-
Download Unity Remote 5 on your phone. (It is unavailable on Android 13).
-
Activate Developer options on your phone (Settings > About phone > Software information > Build number (tap 5 times)).
-
In Settings > Developer options, activate USB Debugging.
-
Connect yout phone to your PC with an USB Cable. Open Unity Remote 5 on your phone and the project in Unity (PC).
-
In Unity, go to Build Settings (Ctrl + Shift + B) and press Switch platform.
-
In Unity, go to Edit > Project Settings > Editor, and change the Device setting to Any Android Device.