how do I attach a Nativescript .gdns to a Spatial Node?

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

I have a gdnative class that extends from Resource and is exposed via a .gdns file.

The problem is that when I attach it to a Spatial then save the scene. When I close the scene and reopen it, the script is no longer attached depite not producing any errors.

Is this a bug or something I’m not getting?