Replies: 5 comments
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, I'll try this as soon as I am able and will come back with results. |
Beta Was this translation helpful? Give feedback.
-
It seems like this was the issue. Replaced my custom code by the StartConnectLoginWithDeviceToken and it appears to work. |
Beta Was this translation helpful? Give feedback.
-
Could you please share the updated code? |
Beta Was this translation helpful? Give feedback.
-
Sorry, just saw your question. If it isn't too late, I simply call And get this callback
Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have an issue when trying to create a lobby. The click button function retuns this null exception :
NullReferenceException: Object reference not set to an instance of an object PlayEveryWare.EpicOnlineServices.Samples.EOSLobbyManager.CreateLobby (PlayEveryWare.EpicOnlineServices.Samples.Lobby lobbyProperties, PlayEveryWare.EpicOnlineServices.Samples.EOSLobbyManager+OnLobbyCallback CreateLobbyCompleted) (at Assets/Samples/Epic Online Services Plugin for Unity/2.1.7/EOS Plugin for Unity Samples/Scripts/EOSLobbyManager.cs:923) LobbyMenu.CreateNewLobbyButtonOnClick () (at Assets/Scripts/Menus/LobbyMenu.cs:235) UnityEngine.Events.InvokableCall.Invoke () (at <685c48cf8f0b48abb797275c046dda6a>:0) UnityEngine.Events.UnityEvent.Invoke () (at <685c48cf8f0b48abb797275c046dda6a>:0) UnityEngine.UI.Button.Press () (at Library/PackageCache/[email protected]/Runtime/UI/Core/Button.cs:70) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Library/PackageCache/[email protected]/Runtime/UI/Core/Button.cs:114) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/[email protected]/Runtime/EventSystem/ExecuteEvents.cs:57) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at Library/PackageCache/[email protected]/Runtime/EventSystem/ExecuteEvents.cs:272) UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/[email protected]/Runtime/EventSystem/EventSystem.cs:501)
When I navigate to the error, it shows that
ProductUserId currentUserProductId = EOSManager.Instance.GetProductUserId();
returns a null value.My config file is filled with the required values and the login code is successful. Am I doing something wrong or is this a bug? You'll find the login code below (using the Device ID login).
Thanks a lot.
`
Login Code
`
Beta Was this translation helpful? Give feedback.
All reactions