|Topic was automatically imported from the old Question2Answer platform.
So I wrote a GDNative plugin for my game (in C++). I can show the code if it is relevant, but I think the problem lies somewhere else given the situation.
It uses functionalities of the Path node that were introduced in 3.1. I’ve programmed and used this plugin for a long time (around 3 months) on various builds of the 3.1, and it always worked flawlessly. However now I booted Godot after a period of inactivity, I updated my Godot files and… the GDNative plugin doesn’t work anymore.
I tried a clean rebuilding of 3 different builds of Godot (3.1, 3.1.1 and the master of the github branch of one hour ago), and none worked.
The weird thing is that the plugin works for a short amount of time (around 1 or 2 minutes) and then crashes and stops working. The message it gives me is the following :
modules/gdnative/gdnative.cpp:488 - No valid library handle, can't get symbol from GDNative object
modules/gdnative/gdnative.cpp:393 - No valid library handle, can't terminate GDNative object
I also tried rebuilding the libs of the GDNative plugin everytime, but to no avail.
Any inputs on this ? Thanks in advance.
Make sure to update submodules with
git submodule update before updating the godot-cpp libraries, so that the included headers are up-to-date.
Calinou | 2019-04-16 13:02