androidwindowsunity-game-enginegradleandroid-unity-plugin

Android build issue in Unity 2022 LTS (2022.3.9f1) but working fine in Unity 2023 Tech Stream


Can anyone please help understand why Android builds might run fine in Unity 2023 Tech Stream, but not run with the error below (plus a few others, but this appears first in the stack) in Unity 2022 LTS!?

Exception while marshalling <many_files> Probably the SDK is read-only

Troubleshooting (Windows 10):


Solution

  • Pointing the Unity editor SDK path in 2022 LTS (2022.3.9f1) to the SDK path in the installed 2023 Tech Stream (2023.1.5f1) version of the Unity editor fixed all errors.