UnityTechnologies/GalacticKittens

Spaceship shield not colliding with enemies or enemy bullets

Closed this issue · 0 comments

The shield GameObject in the PlayerSpaceship prefab hierarchy does not collide with enemy GOs.

This is due to the fact that as of NGO 1.0.1, all GOs with a NetworkBehavior cannot be spawned as disabled, they must be active.

From that fix:
Fixed issue when attempting to spawn a parent GameObject, with NetworkObject component attached, that has one or more child GameObjects, that are inactive in the hierarchy, with NetworkBehaviour components it will no longer attempt to spawn the associated NetworkBehaviour(s) or invoke ownership changed notifications but will log a warning message. (Unity-Technologies/com.unity.netcode.gameobjects#2096)