- Home /
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
That's a runtime error, somewhere you are trying to use a null
reference.
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
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.
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)
Im sorry English isnt my main speach and i dont understand what you mean.. I'll qiuckly add a pic .added