Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Application.OpenURL crashes in iOS on iPad3

$
0
0
I just added three buttons to my UI that link to webpages using Application.OpenURL. The button calls the public method below using the button's onClick() feature. I pass the url to the method as a string from onClick(). public class URLs : MonoBehaviour { public void Link(string url) { Application.OpenURL (url); } } If I use these buttons from within Unity while the game is running, it opens the webpages just fine. I tried it on my iPhone 6 and there haven't been any crashes, but when I try this on my iPad 3 I get a memory warning and the application closes due to "memory pressure". I tried using the Instruments application with Xcode to see if there was anything that jumped out, but it was almost entirely unintelligible to me. If anyone has any insight as to why this could be happening or how I could more effectively use Instruments to get to the bottom of this, I would be definitely really very enthused.

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>