0 votes

I'm trying to get multiplayer working using the high level networking in 2.2.

I am passing an object to an RPC function. On the client that calls the RPC function, the RPC function gets called and has a valid pointer to the objects. On the other client, I get null pointers.

I have debugged the instance_id for these objects and noticed they are different on the two clients. I assume this instance id is meant to be the same on both clients inorder for a correct reference to be obtained. So these objects I am referencing are just objects in the level.

How do i fix this problem?

in Engine by (52 points)

1 Answer

0 votes
by (52 points)
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.