Quantcast
Channel: Questions in topic: "exception"
Viewing all articles
Browse latest Browse all 470

Faulty NullReferenceException?

$
0
0
I'm working on a music-based project and am trying to do the following initialization: int currentFrame = rhythmTool.CurrentFrame; And whenever I run my project, Unity throws an exception pointing directly to that line (it's the first line in Update()) and noting it as "NullReferenceException". This happened only after Unity encountered a "fatal error" and had to be force-closed.

Viewing all articles
Browse latest Browse all 470

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>