Network Object required

Hi,

When i add the Deal Damage Script on the ServerProjectile prefab, unity says to me the following:
Screenshot 2023-07-06 105656

In the video i do not see this. I am using Unity 2022.3.4f1. (Netcode for GameObjects 1.5.1) did i miss something or is this because i used newer versions of the packages?

Kind regards,
Bert Berrevoets

This will happen if you made the DealDamage script a NetworkBehaviour. Nathan did not make it a NetworkBehaviour which is why it didn’t happen in the video

1 Like

Thanks,

That was it.
I read over the code i think 10 times, but i missed that :rofl:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms