IndexOutOfRangeException only on iOS! Android / PC is ok!!
Hello everybody! I have a problem that is driving me crazy! I'm generating a three-dimensional array, and when I run inside the Unity, or Android, everything works perfectly. But when I run on iOS,...
View ArticleGame Center integration not working on devices but working on simulator
I'm trying to update an iOS game but am having trouble with the Game Center integration. What is really strange is that it works on the iOS Simulator but not on an actual iOS device. I've narrowed the...
View ArticleSign out from Game Centre via Coding
I want to implement sign in and out functionality for my game. For android version, I have used Google Play Game services and put sign in/out button for that. For iOS version, I have implemented Game...
View ArticleUnity Remote 4 Orientation
whenever I load up unity remote to test my game on my iphone, the screen in portrait mode flips into landscape and doesn't switch back, can you plz help
View Article4.6.1p5 Generating XCode project deletes Run Scripts
Hi all, I'm having a frustrating issues where each time I Build and Run from Unity for an iOS project and use the "Append" to XCode option my existing "Run Scripts" are deleted. The "Run Script" items...
View ArticleHow to NOT play audio in silent mode with iOS?
Hi, my problem is as the title. I'm developing a casual app for Android and iOS. When on iOS devices, my app always plays sounds and BGM even in silent mode. Does anyone know solutions of this problem?...
View ArticleNew UI buttons not working on top of screen on iOS devices.
I use many canvas (buttons, texts etc.) objects in my project. All of them works fine in editor and android devices. However, some of them don't work in iOS devices. These buttons (not working) are...
View ArticleiOS - Disable ARC on XCode Projects
Is there a way to disable Automatic Reference Counting (arc) when Unity builds the XCode project? When I open the XCode project, I see that Objective-C Automatic Reference Counting is set to "Yes" in...
View ArticleEXC_BAD_ACCESS on PreparePresentRenderingSurface (iOS Build)
Hello guys, I'm having a problem I can't quite figure out. Basically, I have an iOS native plugin that opens a native view when my Unity code requires. It works fine for the first time. However, on the...
View ArticleiOS JIT compile error on Generic method called with basic types (int, bool,...
I have a generic method like this: public class MyClass { public T MyMethod(string arg) { return default(T); } } When I try to call the method like this: int someInt =...
View ArticleAssetBundle instantiation in android/ios
Hi im creating one web app and one mobile app. Where in the web app i can edit some models save them as assetbundles for android or ios and then in the mobile app i can download these bundles and use...
View ArticleTry to reproduce this Text UI element "bug" if you are developing for IOS
This isn't exactly a question but rather a request to other developers who are targeting IOS devices. Also this might eventually save you a lot of debugging time. ;) So what I am asking is that someone...
View ArticleMopub Mediation iOS
Hey guys, I'm currently trying to implement Mopub as a mediator for 2 ad networks, Admob and Applovin. The implementation for ADmob and Applovin are easy enough but when trying to work in the Mopub sdk...
View ArticleAccelerometer input working in Unity Remote, not working in build.
Hey guys, My accelerometer input works fine when I run my game through Unity remote, but doesn't work when I build it through XCode and run it on my iPhone that way. Here is my code, any help is highly...
View ArticleiOS Load, Update and Save data locally?
Tried several different things. All Read/Write on Mac/PC, but I can't write on iOS. I can't seem to figure out how to have editable data I can read and write to like an XML file. Using Resources...
View ArticleRigibody2D.AddForce within a scaled GameObject
Hi, i'm adding a force to my player (Rigidbody2D). This player is inside a scaled GameObject (0.5,0.5.0.5). This is the basic setup to display the content on an iPhone. If i run the game on an iPhone...
View ArticleHow to know which currency is used in the store?
Hello i am going to make my game on ios and android how can i know if this store uses Euro or Dollar so i change the currency in the game, so for example if i have a text "Buy this for 0.99$" but the...
View ArticleOpen Facebook fan page in Unity iOS app
I want to link to my Facebook fan page from my Unity iOS App. Using Application.OpenURL(https://www.facebook.com/mypage) works on Android, but in iOS it opens the Facebook app to the news feed. I have...
View ArticleOptimizing Mobile Render Time (Low Draw Calls & Vertex Count Already!)
I made a change to my game where all 100 objects on screen were optimized to batch together (reducing draw calls from 45 to 14) and the vertex count was reduced dramatically. Each object used to be...
View ArticleiOS 64bit build with WebRequest.Create()
![alt text][1] I amd testing iOS 64build on Unity 4.6.2. When I run my app on device and call the image's method, I got the Xcode error. ![alt text][2] [1]: /storage/temp/40051-k-175.png [2]:...
View Article