gdnative icon indicating copy to clipboard operation
gdnative copied to clipboard

RPC example doesn't work properly.

Open JupiterSky11 opened this issue 3 years ago • 5 comments

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.)

JupiterSky11 avatar Jan 07 '22 05:01 JupiterSky11

Anyone has time to look into this?

Bromeon avatar Aug 25 '22 21:08 Bromeon

@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?

Bogay avatar Sep 17 '22 00:09 Bogay

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.

Bromeon avatar Sep 17 '22 06:09 Bromeon

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.

Bogay avatar Sep 18 '22 13:09 Bogay

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.

chitoyuu avatar Jan 09 '23 07:01 chitoyuu