How to fix build error with UnityAds after upgrading to Unity 5

Is your Unity project using UnityAds? Did you just update to Unity 5? Are you now seeing an error when trying to build for Android? The read on…

Unity 5 now includes in-built support for UnityAds, without requiring the UnityAds plugin from the Asset Store. As such, if you’ve previously imported the plugin, Unity might complain. It may simply be fixable by choosing Assets > Reimport All (which might make Unity realise it should ‘ignore imported version’ of UnityAds). Continue reading How to fix build error with UnityAds after upgrading to Unity 5

Boosting Unity performance on mobile devices

Mobile devices are becoming more and more powerful. However, not all your users will have high-end mobile devices, so you should keep a low-powered device handy for testing the performance of your games. If you follow the usual advice for mobile devices (use low-poly models, minimal lights, few effects and static objects where possible) you’ll be OK on most devices, but you may be caught out on some devices – resulting in annoyed users. Here are a few tricks to try if you still need to improve the performance of your Unity game. Continue reading Boosting Unity performance on mobile devices

Unity – How to make things see where they’re going

While developing a game, I wanted to enable characters to “see” where they’re going; that is, to tell them what they’re about to stumble into, without using colliders. The answer was to cast a Ray, angled slightly downward,  in front of the character, so he can “see” if he’s about to walk into a tree, or a river, before it happens. Continue reading Unity – How to make things see where they’re going