Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Lamine · Aug 13, 2015 at 09:07 AM · unity 5rotationiosorientation

Low memory crash on IOS when changing orientation

Hi !

I've made a Unity IOS app. There are 2 scenes into it : - The starting one is a very simple menu with 5-10 textures displayed with the legacy GUI. - The second scene displays a building in a city. You can turn the camera around, zoom, and watch some appartments of the building. It uses the nex UI system to display some GUI.

Problem is that, when i push it on an iPad (Air 1 with 2.1Go of available disk space), it starts on the menu as expected, but if i change the orientation many times, it ends up crashing after receiving some "didreceivememorywarning" warnings.

I tried that while running it from xCode, and also created an IPA, but the problem is the same.

If i don't rotate the iPad, the app won't crash at all, even if i wait 2 hours. It only happens when changing rotation many times.

There is the same problem in the second scene by the way, so it don't seem related to a scene in particular.

To narrow down the problem, i deactivated the whole menu in my scene, so basically i ended up with a scene with just a camera in it, and it crashed again !

I'm using Unity 5.1.1f1 on OSX Yosemite 10.10.4 and xCode 6.4 and no other plugin than iTween. You can get the app here : http://aiko-creative.com/apps/tribeca/

Any idea please ? T_T

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lamine · Aug 13, 2015 at 08:21 AM 0
Share

Hi again.

I tried to remove the sceond scene from the build settings. So i have a build with my menu scene only, and it crashed again !

I'll try to make a new build with only an empty scene and come back to you to tell you more.

avatar image Lamine · Aug 13, 2015 at 09:01 AM 0
Share

Hi !

I tried with a whole new project, with only one scene, with nothing in it but the basic stuff that is created (camera and light). I changed nothing in the player settings except the bundle identifier.

And it crashed again !!! I don't know if i should laugh or cry.

avatar image Lamine · Aug 13, 2015 at 09:59 AM 0
Share

Hey...

Updated to Unity 5.1.2f1 and my empty scene on my empty project is still crashing when changing orientation many times.

This is for a commercial use and we have a lot of other applications waiting to be published, so this is going to be a big problem.

If you have any lead, i'll take it.

avatar image Lamine · Aug 13, 2015 at 12:18 PM 0
Share

Same problem with 5.1.2p1.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Lamine · Aug 14, 2015 at 10:33 AM

Funny how there are thousands of views on topics like "How to move my cube to the left", and almost none on important questions, even from Unity...

Thanks for nothing.

So problem was with Metal. Go to Player Settings -> Other Settings -> Untick "Automatic Graphic API" -> Click on "Metal" -> Click on the minus (-) sign and you're good to go.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

iOS - Smooth auto-rotation of orientation 1 Answer

Model should face geographical head north. 0 Answers

I am trying to make a gun recoil with an animation and in this script it only runs after the first mouse click. This is probably an easy fix I just can't seem to wrap my head around it. This is my script. 1 Answer

Can I use DLLs in Unity Game for iOS? such as LitJson.dll? 0 Answers

Temporarily turn off the relative rotation from parent in my script while keeping the relative position updated? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges