#i cant find the problem pls help
1 messages · Page 1 of 1 (latest)
you are trying to reference a "Spawner" but you have a "Syncronizer"
i think
might want to show your main scene tree
ok
i also changed the names in case of somehting to this and still error
and the root char body to enemy2
gonna leave for a while but will see
error might be in your enemy.gd script?..
if you set a class_name in your enemy script .. which might be ..
class_name Enemy
then you can instantiate it as Enemy, not Node2D ..
but maybe that is not the issue either 🤷♂️
The issue is that you are adding the Enemy scene to one client (the authority) but not the other. When the other client connects, the synchronizer on the Enemy on client 1 is trying to find the enemy synchronizer on client 2, but there is no Enemy on client 2. You need to spawn the Enemy, much like you are the player, using a spawner
PS: Try to give your questions descriptive titles
correct thats not the issue
working on the other one
dude thanks so much
you guys are awesome
Glad to help!
I specifically avoided that phrase just in case it triggered something
(I don't think it does without the tag)
u have to do @Happy_to_help