Today I ran across a very weird issue that has never happened to me before. I opened Unity and ran a test of the scene, the console started to show Null Reference Exception errors. I looked the code, did some debugging and I finally cut to the core of the problem - Event.current returns Null. I don’t know what, I haven’t touched anything in the project, nor in Unity’s settings. Tried to search for that problem in internet, but nobody seems to have had this error before. Whatever I do, Event.current gives a null value. What can be causing this?
1 Like
Using it outside OnGUI.
–Eric
2 Likes