Posted on

Can’t Switch Build Platforms – Your License does not Cover

In this video, we cover a problem that I was running into just the other day. This problem deals with not being able to switch over to a different build platform like iOS or Android. This problem can be a bit tricky as Unity does not give you very much information about the problem. To fix this problem you will need to re-register your Unity license, even if you are just using the free personal license. Then once you restart it should be all working again.

Posted on

Fix Error IL2CPP.exe Did Not Run Properly

You may come across this error if you are ever trying to create an Android build for the Google Play store. This error occurs if you are trying to make a 64-bit architecture build of your game and you are using the wrong version of the Android NDK. This error is also more common because Google will now be requiring your APK in both 32 and 64-bit. This will require you to switch the scripting backend from Mono to IL2CPP and then you have to select the different architecture you want to build for and this is when this error occurs but this error only occurs when you try to build your project. To fix this error you need to download an older version of the Android NDK. The version you need is Android NDK r16b and here is the link to download it. You then have to set the address of you NDK in the External tools of Unity. After doing this The errors should be gone and you should now be able to create a 64-bit APK of your game in Unity.

Documentation:
https://forum.unity.com/threads/googleplay-64bit-console-warning.672988/
https://forum.unity.com/threads/2019-1-10f1-wont-build-to-android-device.709610/

NDK: https://developer.android.com/ndk/downloads/older_releases.html

Posted on

Cannot Click On Unity UI Objects – Unity UI Layers

Welcome to this Unity debugging tutorial on the Unity UI layering system. In this video, we will talk about a problem that can occur where you are not able to select or click on certain UI objects. This lesson will teach you about using the Unity UI system, UI buttons, and UI images.

How to Fix UI Layers

This problem where you cannot click on Unity UI object can occur because of Unity’s UI layering system. If one UI object is over top of another UI object you will not be able to click through the UI object on top to select the one behind unless you have disabled Raycast Target on the image component. This can also occur with not being able to click on UI objects that are part of a world space canvas when you have a screen space canvas as well. We will teach you how to fix your problems in Unity and to you how to use Unity’s UI system better.