We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aaa55a commit b3db7b7Copy full SHA for b3db7b7
MLAPI/MonoBehaviours/Core/NetworkedObject.cs
@@ -325,7 +325,7 @@ internal List<NetworkedBehaviour> childNetworkedBehaviours
325
if(_childNetworkedBehaviours == null)
326
{
327
_childNetworkedBehaviours = new List<NetworkedBehaviour>();
328
- NetworkedBehaviour[] behaviours = GetComponentsInChildren<NetworkedBehaviour>();
+ NetworkedBehaviour[] behaviours = GetComponentsInChildren<NetworkedBehaviour>(true);
329
for (int i = 0; i < behaviours.Length; i++)
330
331
if (behaviours[i].NetworkedObject == this)
0 commit comments