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 Proclyon · Nov 15, 2010 at 01:42 PM · errorcrasheditor-crash

Strange repeating Unity3D crash that occurs at the same event but shows no clear cause!

Hi again everyone!

I have just encountered something quite peculiar. It's a crash but I can't seem to figure yet what the cause of it is. Let me describe the situation as best I can.

I'm working in MonoDevelop using the UnityEngine, and no other dependancies. I am coding in a single C# script and this is attached to an actor with a character controller a rigidbody and other stuff that is not relevant to mention at this point. The crash occurs when I run debug in Monodevelop and take these actions:

-Set a breakpoint on a single variable named myCollider (Type = Collider), at the time of the crash the variable contains nothing (null)

-Run the project in debug mode

-Stop the program on a collision hitting the breakpoint

-Mouseover on the variable myCollider, which maintains a collider ( as I can see now)

-And BOOM unity3d crashes and everything else in the debugger says "Evaluating" now when I try to look it up.

Dissasembly shows an attempt of putting information into a register was the cause of the crash.

No it's a not a holy grail of information , I wouldn't be here asking if there was now would I ?

Could it be something as simple as a write operation on a read only ? Or is this trying to look for variables on Collider type which is null causing a crash? It is all in all just a mouseover to see what is in it , and should show NULL not a { UnityEngine.Collider } regardless. Something is wrong either way

I'm stumped for now , and please feel free to ask for more information. I would like to send a message to Unity Tech Group as crash report but not one of the quality it is now.

EDIT 11/15/2010 - 14:52: Extra info to help

Looking at the same variable like this elsewhere has no effect (Also opened the + dropdown normally it crashed on that)

Looking at a variable ControllerColliderHit that is also null gives no problem

Looking at the myCollider variable when it is not Null causes no crash

Ticking the + dropdown box on the variable sometimes does not cause a crash but the type name changes from { UnityEngine.Collider } to (null)

I'm starting to wonder if monodevelop or unity is dying on a NULL reference exception or something

Comment
Add comment · Show 2
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 Herman-Tulleken · Nov 15, 2010 at 02:56 PM 0
Share

One more thing to double check: I once had Unity crash on me like this when I accidentally defined a property recursively, for example '$$anonymous$$yType $$anonymous$$yPorperty{ get{ return $$anonymous$$yProperty; }}' (Sorry for the poor formatting).

avatar image Proclyon · Nov 15, 2010 at 03:12 PM 0
Share

I will gladly look into that thank you! No worries about the formatting , just post it as answer ins$$anonymous$$d of comment to help with that.

1 Reply

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

Answer by Proclyon · Nov 18, 2010 at 10:25 AM

The only explanation I have found came on a breakthrough through shear amount of crashes in other events. Most of the browsing through objects and properties in MonoDevelop + Unity = Crash. My answer would be, just live with it and try to navigate the minefield and hope the program improves.

Normally I don't blame the computer but this time I will.

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

No one has followed this question yet.

Related Questions

unity 3d freezes 5 Answers

Torch Script Error - Unity crashes 1 Answer

Unity Editor crashes OSX 4 Answers

Blue screen of Death... 3 Answers

"UnityEditor" namespace not found... 9 Answers


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