gdnative
gdnative copied to clipboard
RPC example doesn't work properly.
It would seem that the above is true.
I cloned the repo, compiled the rpc example with cargo build
, then imported the project with the latest Godot version.
I'm not sure how this is supposed to behave, but opening the server or client scenes provides a single node titled "server" with an empty script attached. Running the server and client as detailed in the readme also provides no visual results.
(I did try other examples, and the ones I tried seem to have worked fine.)
Anyone has time to look into this?
@JupiterSky11 have you checked the console? It seems that this example intends to not have any visual effects. Both server and client instances just print one line to console. (last lines in image attached below)
@Bromeon Should we add a section to describe expected behavior to the example's README? or add some visual effects to it?
Maybe we could do it similar to the property-export
example: it simply prints to the console without opening a window. I assume that behavior is less confusing.
I have took a look to the property-export
example. It seems that it still opens a window but closes it after finished.
I think this is still confusing because the user might need to check whether the example crashes.
From the conversation it looks like this is more of a documentation issue than a bug, and as such doesn't need to be pinned to a release.
Changing tags accordingly and removing the milestone.