#when either host or client pickup the powerup,
1 messages · Page 1 of 1 (latest)
take out the IsLocalPlayer check. You'll need the indicator active on all the clients for this player
After I removed the localPlayer check it still not sync across all network and I received this error in console log
SpawnStateException: Object is already spawned
the error log happen after i pickup the power up
sorry, I meant in the clientRPCs
@twilit grail sorry dude, I want to ask again. between the client powerup Indicator is not syncronized after the countdown routine ended. the powerup indicator is suppose to despawn. the host and the client is good but between client is not.
In my code, I save all powerup indicator object to list. Do I have to or not? If not how can I sync powerup indicator between client? do i have to make another clientRpc for the despawn?
I would change the hasPowerup bool to be a network variable. That way everyone will get an event whenever that bool changes
thankyou bro solved 🫡