Hi,
I have noticed one issue in Unity. I do not know if this has anything to do with Unity settings. For some reason, it does not show the null reference exceptions in the log. The control just stops executing once it reached the problematic line of code. This makes the debugging very hard. Please help me.
But it does show all other Debug.Log messages.
I use Unity version 2.6.
Thanks,
Fasil
Do you have a try/catch block around the code that’s throwing the NullReferenceException? Unity will only report the exception in the console if it get propagated all the way up without being caught.
Thanks for the support. I think you are right. I have method that is called on a particular event. This calling function is from third party tool, coming from a dll file. There, it must be using a try catch and not notifying the user. Now, I tried my own try catch and I am able to catch the exception.
Thanks again,
Fasil