![]() Double click on the 'Path' variable and add a new one on the right. After entering the environment variables, you have to click on the system variables and find the 'Path' variable. ![]() Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers. This issue is related to environment variables. Click on Player Settings and make sure the android Minimum API level is set to Android 4.0.3 Ice Cream Sandwich (API level 15) or higher. That said, even Android Studio warns "spaces in the path may cause issues" when you open it and you do need to open Android Studio to set it to reference the new paths & to download the appropriate SDK versions (at least if you're exporting the Android project, which I was). Unity is the ultimate game development platform. I'm relatively confident that there IS a Unity-side bug related to having spaces in the path. My Unity editors are installed onto a volume that is mounted to /Volumes/Main Data/UnityEditors/** - as long as that space exists, there's nothing you can do (I tried a multitude of things) that will get the Unity build process to work with the path, which appears to not properly escape the space.Īttempting to manually escape the path does not appear to resolve the issue - the input (path) is probably getting sanitized, essentially un-escaping the path in this scenario.Ĭopying the AndroidPlayer/** contents to ~/Desktop/AndroidPlayer/** and then setting the paths appropriately (to reference that location, which has no spaces) in the Unity preferences DOES resolve the issue. ![]() ![]() I can actually confirm, for certain, that there is still a bug related to this issue - but it appears to be a macOS-specific issue, and only occurs when the path name contains a SPACE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |