I am getting Condition "!script_data" is true.

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

I am getting

modules/gdnative/nativescript/nativescript.cpp:92 - Condition "!script_data" is true.

Did you find a solution for this? having the same issue :confused:

fx46 | 2020-04-12 05:53

No luck, I tried many things but nothing worked

supper_raptor | 2020-04-13 06:01

:bust_in_silhouette: Reply From: Zylann

Check your .gdns file, make sure class_name correspond to the name of your class in C++ (if your nativescript is C++ of course, in any case the names must match)

Yes i have checked class_name matches to c++ class but still i am getting this error.
Plugin works perfectly but i always get this “Condition “!script_data” is true” error in editor

supper_raptor | 2020-04-06 05:30

:bust_in_silhouette: Reply From: martintan

When I made a new class that I registered in GDNative I had the same Condition "!script_data" is true problem. I fixed it by just restarting the Godot Engine editor.

Thanks, this is helped me too

DmRafaule | 2021-09-16 04:48