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 Elon · Apr 15, 2014 at 08:57 PM · nullreferenceexception

No idea what happend to unity (See pictures)

I was working on my gun animation , and after i added the thing that can call a function during ur animation(forgot its name sorry) everything started to act weird in the animation section of the screen..i cant press on Project , Console and Animation tabs bcuz of it. But the weirdess thing is that the game works..and the animation is working...

also i get this error message : NullReferenceException: Object reference not set to an instance of an object

pics: http://imgur.com/U7nXkNb http://imgur.com/4wNdrpP

I have no idea what happend there...what do i do?

edit : when i restart unity its all seems to work but when i hover over the little thing who calls the function its happening again.

the code : http://imgur.com/NwSf2Sa

Comment
Add comment · Show 11
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 Benproductions1 · Apr 16, 2014 at 12:07 AM 0
Share

That's a runtime error, somewhere you are trying to use a null reference.

avatar image Elon · Apr 16, 2014 at 12:20 AM 0
Share

Im new to unity , what do you by im trying to use a null refrence? i tried deleting the function that plays the sound so it wont be able to run it but its still freezing my animation section

avatar image Benproductions1 · Apr 16, 2014 at 12:24 AM 0
Share

References have nothing to do with Unity, they are a general program$$anonymous$$g concept. It's very unclear what the problem is, we can't really help you further without some code.

avatar image Elon · Apr 16, 2014 at 12:27 AM 0
Share

Alright , i though thats something to do with unity you probably noticed im new to coding... here the code

(ill edit the main post it wont show it here)

avatar image Elon · Apr 16, 2014 at 12:33 AM 0
Share

Im sorry English isnt my main speach and i dont understand what you mean.. I'll qiuckly add a pic .added

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

NullReference on textfield 1 Answer

Can I Ignore Null Reference Exceptions? ( bug? ) 3 Answers

itween example work well on unity3d while NullReferenceException on android 0 Answers

GameObject.Find/WithTag returns null 1 Answer

Adding sound to animation: NullReferenceException 0 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