nativescript.cpp:91 - Condition ' !script_data ' is true.

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

modules/gdnative/nativescript/nativescript.cpp:91 - Condition ’ !script_data ’ is true.

This appears every time I switch from another app to the godot editor, and a few more times past that. So it happens a lot. Everything is otherwise working. Does anyone know a workaround to get rid of the error?

I am also having this problem. Did you chance upon a solution?

TaylorHadden | 2020-02-08 22:11

:bust_in_silhouette: Reply From: DFPercush

Search your project folder for *.gdns and make sure none of your GDScripts have the wrong extension. I noticed that same error when I created a new script in the editor and attached it to a node in my scene. Somehow it got the .gdns extension instead of .gd. Maybe because it remembered me creating a native script last time.