Answer the question
In order to leave comments, you need to log in
Why is a NullReferenceException thrown even though the reference is present?
While trying to build an application in Unity, I ran into a problem that the method in the button could not be called. I looked into the logs and found that a NullReference exception was occurring, although there were no problems or errors in the editor. All fields are filled in the inspector (see appendix).
What could be causing this problem? How to solve it?
Full error code:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question