+2 votes

I am getting

modules/gdnative/nativescript/nativescript.cpp:92 - Condition "!script_data" is true.
in Engine by (751 points)

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

No luck, I tried many things but nothing worked

2 Answers

+1 vote

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)

by (29,120 points)

Yes i have checked classname 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

0 votes

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.

by (14 points)

Thanks, this is helped me too

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.