New Class not found in current scope but found in Singleton

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LyffLyff

So I have all these classes as References which I call with Classname.new(), this has worked perfectly fine so far but now I have created a new class called “Playback” and this one cannot be found outside of a Singleton. Any Idea how I could fix this?

WAV.new() # class just like Playback -> found, no error
Global.Playback.new() -> the class I just created called from global scope -> no error
Playback.new() -> the new class from a normal node script  -> error
:bust_in_silhouette: Reply From: LyffLyff

Found it!
The problem was I am overwriting the project file in my application, meaning any class that gets added after the overwrite was first initialized with the “starting” project file obviously did not have any record of those classes, therefore the error only on this class.