#C class Inherit Compile Exception

1 messages · Page 1 of 1 (latest)

tiny karma
#

I am getting this exception constantly, which can cause issues such as super() not working consistently.

 modules/gdscript/gdscript_compiler.cpp:2594 - Condition "!base->is_valid() && !base->reloading" is true. Returning: ERR_BUG

I've narrowed the area causing the exception to 3 scripts:

I am thinking there is something about the files that may have gotten corrupted at this point since nothing fancy is happening here, but has anyone else seen this issue? I'm using Godot 4.

#

To be clear, the error on the compiler deals with the inheritence not with any specific method.

It's essentially saying that the base is not valid and that the base is not loading is true. The nit returns Err_Bug.

Since there is absolutely nothing crazy happening in this script I am certain its something about the data on the file itself. Going to simply delete them and make fresh files and see if they give the same error.