Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 boddole · May 29, 2014 at 06:43 AM · iosxcodefreezeprime31

Question on Mysterious XCode Crash

Hello everyone, I've been testing builds on Xcode for a while now with no issues, however today, everytime I try a additive level load, the app locks up and Xcode only leaves (lldb) as its last debug statement (and in another panel indicates a EXC_Bad_Acess code1. From what I can tell, Load Level goes through (which throws to an empty loading screen) but before anything else happens (since no further debug statements appear), the app locks up.

I'm really stumped because I've never seen this error / crash happen in the Unity editor. I've seen that lldb can indicate a memory usage problem, but I know that the scene is question uses no more than 50mb of memory, and I can't find any null references that occur while in the editor so I'm really at a loss as to what is causing this.

I should also note, that at this same time, my Prime31 GameCenter plugin also seems to have stopped working -> although I have no evidence that these issues are related.

Below is the debug log just prior to the freeze / crash:

about to load: LoadingScreen

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

LoadLevel LoadingScreen has gone through

(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

UnloadTime: 13.493583 ms Unloading 5 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 793. Total: 3.065750 ms (FindLiveObjects: 0.175833 ms CreateObjectMapping: 0.070500 ms MarkObjects: 2.219791 ms DeleteObjects: 0.133500 ms)

(lldb)

If anyone has an idea as to what is going on, I would greatly appreciate some ideas.

Comment
Add comment · Show 1
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 Owen-Reynolds · May 29, 2014 at 11:53 AM 0
Share

I'm also always tempted to blame the hardware, or some bug in xCode, but it could be just a regular problem with your code. LoadLevel.Additive could be having some conflict with the previous level(s.)

1 Reply

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

Answer by boddole · May 30, 2014 at 06:36 AM

I suppose it has to be, but I'm just absolutely stumped as to what would cause a fully working to just stop working overnight...

I FINALLY figured out what was causing this strange crash - it was a small script buried deep in a UI hierarchy that used a TRY CATCH block. TRY CATCH removed, no more crash. I actually remember a while ago that another TRY CATCH was causing an error (and other Unity users have reported the same thing). Apparently TRY CATCH is death to Xcode.

Comment
Add comment · 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

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Export on IOS: Stuk on Splash Screen 1 Answer

Can I export a project from Unity to the same XCode project from a previous export? 0 Answers

Everyplay for Unity3D - Error for building on iOS 0 Answers

xCode ARC Support 0 Answers

Unity xcode project won't compile... 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