![]() ![]() (System.Object parameters) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:769) (System.Object parameters) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:634) `1.Invoke (System.Object args) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:306) ![]() `1.Invoke (System.Object args) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:188) GameManager.CreatePlayerDetails (UnityEngine.UI.Text PlayerID) (at Assets/Game Files/Scripts/GameManager.cs:36) PlayerDetails.DisplayPlayerDetails () (at Assets/Game Files/Scripts/PlayerDetails.cs:23) UnityEngine.UI.t_text (System.String value) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:138) UnityEngine.UI.Graphic.SetVerticesDirty () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:100) () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/UIBehaviour.cs:22) Your script should either check if it is null or you should not destroy the object. MissingReferenceException: The object of type 'Text' has been destroyed but you are still trying to access it. But when I interact with any object in the scene I get the below error. The user then logs in and SCENE 3 is loaded with the current user's stats pulled from the backend. Deletes the encrypted file holding the current credentials There's a LOGOUT button in this scene which when pressed it does the following (in this order): Stuff happens here with events sent to the backend, handling of responses, UI changes and the works. This, as you suspected is the main scene. MONGODB COMPASS OBJECT HAS BEEN DESTROYED PASSWORDIf the user is not logged in (encrypted file doesn't exist), then they are prompted for username and password and the LOGIN button creates the file, authenticates the user to the backend and loads SCENE 3. The above happens quickly and when complete it loads SCENE 3. ![]() If user is already logged in (encrypted file exists) they won't even see SCENE 2.unless the credentials have changed in the meantime, of course. When the connection to the backend is established, an event is triggered which checks if the user is currently logged in by checking the presence of an AES encrypted file and if it exists it decrypts it and passes the login details or auth token to an authentication method which authenticates the user to the backend. Is just generic loading page which connects to the backend and moves to next scene when connection has been established. I'm in quite a pickle here as can't find any answers to match my situation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |