Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Can a big resources.assets file cause issues on iOS ?

$
0
0
Hi, I'm working on an iOS project, targeting the iPad mini. I've come to find it handy to put most of the UI textures in the Resources folder and load them with Resources.Load(), instead of assigning them manually in the editor. Now, I'm facing an odd problem. When running the project from Xcode, it starts the app on the device, showing the launch screen and loading indicator for a while, then closes. Xcode says nothing but "Finished running XXX.app on iPad", like it was the expected behaviour - no error code or what so ever. I've stripped the project down so that I now only have my welcome screen scene and kept my Resources folder with all unnecessary resources in it. Problem still happens. When I remove the unnecessary resources, the application starts much faster and remains open. This makes me think the resources.assets file is fully loaded upon start, and that there's some kind of limited time to load it fully before the app stops. What is also weird, is that if I keep running the app multiple time, eventually, it'll open. Letting me think it keeps loading that file from a run to the next. Can someone bring some light over this please ?

Viewing all articles
Browse latest Browse all 171066


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