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
1
Question by PsychicParrot · Oct 26, 2009 at 09:01 PM · iphonenullreferenceexception

What is a SIGBUS in unity iphone and why does it happen so often?

What is a SIGBUS, why does an error saying 'SIGBUS' happen so often and how come it sometimes goes away just by deleting the xcode project and making a new one?

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

5 Replies

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

Answer by Joachim Ante · Nov 05, 2009 at 09:23 PM

This happens when your code contains a Null reference exception. It's best to play the game in the editor and watch out for null reference or missing reference exceptions there. Once you have done that deploy to the device and you should be fine.

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
avatar image
3
Best Answer

Answer by getluky · Oct 27, 2009 at 05:53 AM

I've seen SIGBUS often occur on NULL reference exceptions that occur at runtime. They are usually fairly straightforward to track down via the XCode debugger - hit the Continue button a couple times while monitoring the XCode debug console output. It usually will give a hint as to what file and line number the null reference was in.

Not sure why recreating the XCode project would fix it - it's usually an issue that recurs unless I can fix the underlying problem.

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
avatar image
0

Answer by Eli · Jan 08, 2010 at 11:21 PM

One common way we're getting it which the Unity simulator will not report an error for is if you try to GameObject.Find() an inactive GameObject. In the simulator will you not see any issues, however it will cause a null reference as it won't be able to find the object when run from XCode - so you'll just see a SIGBUS.

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
avatar image
0

Answer by xianny · Feb 09, 2010 at 08:47 PM

Okay, to find the Null Reference culprit you are supposed to "hit the Continue button a couple time" a couple of time... but if the game simply FREEZES it is still RUNNING so there the CONTINUE button will not pop up, and only the RESTART and PAUSE buttons will be available.

How can I get the equivalent of the CONTINUE button in Xcode in this situation? Also, is there another way to find out more info on the cause of the Null Reference besides the CONTINUE button?

THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!THANKS

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
avatar image
0

Answer by smartjazz · Oct 19, 2012 at 05:43 AM

Hi there. SIGBUS is an error when working in a pathfinding script. Here it is already discussed, please visit this link:

http://answers.unity3d.com/questions/17468/how-to-troubleshoot-a-sigbus-error.html

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

1 Person is following this question.

avatar image

Related Questions

location of game object on x axis 1 Answer

NullReferenceException: Object reference not set to an instance of an object 1 Answer

Debugging NullReferenceExceptions in iOS Games 2 Answers

IOS Xcode crash only when connected to Xcode 0 Answers

NullReferenceException on function call 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