how to develop and deploy to both android and ios?
I want to develop and deploy to both android and ios. Is it better to develop on a mac and then be able to deploy to both ios and android from there, or develop on a windows pc and deploy to both...
View ArticleWhy files sizes for Win and iOS are so big compared to Android?
Hi, I've build my APK for Android and its 30mb When I build for Windows the EXE = 17mb, but the accompanying Data folder is 240mb. When I build for iOS the xCode folder = 925mb! After opening in xCode...
View ArticleiOS Application.OpenUrl("app-settings:") Camera Crash Issue
Hello, I have following problem: if I open Application Settings using `Application.OpenURL("app-settings:")`and change Camera Permission Setting the application crashes (tested on iOS 11 and 10 however...
View ArticleAppend to an Xcode .mm file from a PostProcess functions?
Hello, I was wondering if there was a way to write a post-process function in a Unity script that would append to a .mm file in xcode? Specifically, I'm trying to append this block of code: @interface...
View ArticleSpotlight Does Not Show Up on iPhone5 (works on iPhone 6 and Galaxy S4)
Hi everyone, My game has a scene that has 3 different Directional lights (set at different angles and using culling mask to light a sphere and coins) and 1 Spotlight to light only the floor. It all...
View ArticleHow can I call a method from async method?
Hello, I am trying to integrate admob to my mobile game. I want to call a function when admob request failed. But as I understand while callback function of admob request is async, it throws error....
View ArticleIAP for iOS game, beta testers saying it keeps telling them "incorrect...
Basically as the title says. The IAP works fine after a few "password incorrect" messages, just wondering if this is normal behavior for beta testing and if it will be normal once released in the app...
View ArticleApp Transport Security has blocked a cleartext HTTP (http://) resource load...
I need to access a HTTP request through amazonaws.com, which works on android but Xcode gives this error above "App Transport Security has blocked..." I found that I need to modify the info.plist to...
View ArticleSlow Video using Unity ARKit Remote
When I connect the ARKit Remote to the editor and run my scene in the editor the video stream is laggy and unusable. Has anyone experienced this/got a fix? (Using on an iPhone 6S+)
View ArticleLoader during Unity IAP Callback
I want to put loader in between dialog boxes come up for the purchase. What is the way for this? Because when game player press **buy** button, he should require to wait for 5 to 10 second depends on...
View ArticleNSInternalInconsistencyException in iOS simulator when building Metal only
Received an ***NSInternalInconsistencyException*** in the iOS Simulator (Xcode v9.1) with Unity 2017.2 using a MacBook Pro (Retina, 15-inch, Late 2013) running High Sierra (10.13.1). The build is set...
View ArticleSave via XML or JSON for mobile game
I'm trying to develope a game for Android and IOS. Next step is to save data, so it is available in the next session. Also I would the data to be human-readable, cause we not only use it for saving,...
View ArticleHow to detect iPhone X or iPad using iOS.DeviceGeneration?
i.e if it is an ipad(any) or iPhoneX then i want to open a different scene. How do I do it? if(...detect iPad(any) or iPhoneX ...) { SceneManager.LoadScene("SpecificScene"); } Thank you
View ArticleProblem with iPhoneX iOS.DeviceGeneration on iPhoneX
Hello, I am using Unity 2017.2.0p3 and when I try to> if(UnityEngine.iOS.Device.generation == DeviceGeneration.iPhoneX) on iPhoneX iOS 11.2 SIMULATOR (XCode 9.2 beta), it doesn't work (generation is...
View ArticleARKit scene loading causes a flash / flicker
I'm using the ARKit plugin and can't seem to track down the cause of this one. I have a main menu scene that loads a gameplay scene. The gameplay scene features all of the ARKit stuff from the...
View Articleunity xcode an error occurred during export codesign failed
My unity game runs on the iphone when deploying directly, but when I archive & export to upload for the appstore I keep getting "an error occurred during export codesign failed" ---------- Notes: I...
View ArticleXcode 9.1 slow iOS startup nearly 15 seconds
My project was working fine with Xcode 8.X and would load up in around 2-3 seconds, now after upgrading to Xcode 9.1, it takes nearly 15 seconds to load up. Any suggestions? Using High Sierra on...
View ArticleHow do I properly initialize X509Store on iOS and Android?
I am using SslStream in Unity to communicate with our backend network services. I have been trying to properly validate the X509 certificates, and have found that it is necessary to add the CA's public...
View ArticleThis parameter has to be of type: [UNREGISTERED]
I'm getting the following errors when building for iOS: Script error: OnTriggerEnter2D This message parameter has to be of type: [UNREGISTERED] The message will be ignored. (Filename:...
View ArticleUnity 2017 Integrate into Xcode 9 error
Hi, I am trying to integrate a simple unity 2017 scene into a IOS app (XCode 9). I tried lot of methods specially the-nerd.be tutorials and few other. But no luck. If someone have done this...
View Article