bl_GameManager.cs & bl_RoomSettings.cs S.O.S

General support.
Post Reply
User avatar
setdevil
Contributor
Contributor
Posts: 65
Joined: Thu Jun 25, 2020 11:44 am

ullReferenceException: Object reference not set to an instance of an object
bl_GameManager.SpawnPlayer (Team playerTeam) (at Assets/MFPS/Scripts/Network/Room/bl_GameManager.cs:156)
bl_RoomSettings.SelectTeamAutomatically () (at Assets/MFPS/Scripts/Network/Room/bl_RoomSettings.cs:168)

"Complect Error"

NullReferenceException: Object reference not set to an instance of an object
bl_GameManager.SpawnPlayer (Team playerTeam) (at Assets/MFPS/Scripts/Network/Room/bl_GameManager.cs:153)
bl_RoomMenu.JoinTeam (System.Int32 id) (at Assets/MFPS/Scripts/GamePlay/Level/bl_RoomMenu.cs:175)
bl_UIReferences.JoinTeam (System.Int32 id) (at Assets/MFPS/Scripts/UI/Banks/bl_UIReferences.cs:315)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <ef667cdc82bf4a4e911d1ddea9ff581d>:0)
UnityEngine.Events.CachedInvokableCall`1[T].Invoke (System.Object[] args) (at <ef667cdc82bf4a4e911d1ddea9ff581d>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <ef667cdc82bf4a4e911d1ddea9ff581d>:0)
UnityEngine.UI.Button.Press () (at C:/Program Files/Unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/Program Files/Unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/Program Files/Unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/Program Files/Unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:262)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:385)

I have this error , anyone can help me?


Thank you.
Post Reply