Invalid call. Nonexistent function 'set_nextwork_peer' in base 'SceneTree'.

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

So I’m following this video on making multiplayer :

and when after I have typed out the same code as him triple check that nothing was different I got this error Invalid call. Nonexistent function 'set_nextwork_peer' in base 'SceneTree'.

If you have any idea why that would be great appreciated it!

:bust_in_silhouette: Reply From: Regulus

The function name should be set_network_peer instead of set_nextwork_peer (without the x)

Oh my I’m so dumb I was so confused with that the problem was looks like it was me being blind as always big thanks tho!

Tentamens | 2022-09-08 15:57