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.
↧