Can't use the Platform in Standalone Mode, and Users.GetLoggedInUser() does not work.
I want to get Data of logged in Oculus user, so I went to this page documentation/unity/ps-setup/ and tried to activate "Use Standalone Platform", but that checkbox was disabled. Also the following script does not work on the first line. Users.GetLoggedInUser() seems to be NULL. How do I get it to work in Standalone mode? void Start() { Users.GetLoggedInUser().OnComplete((Message<User> uMsg) => { if (uMsg.IsError) { Debug.Log("Platform: GetLoggedInUser() failed. Reason: " + uMsg.GetError().Message ); return; } else { User _localUser; _localUser = uMsg.Data; Debug.Log(_localUser.DisplayName); } }); } [Using game engine and Oculus SDK] Unity 2019.4.18f1 (LTS), Oculus SDK 1.55.12.6KViews1like4CommentsCannot get Oculus username: Oculus.Platform.Message "User isn't entitled to use this Application!"
Hello! How are you? We are currently facing an issue where we can't get a specific username that is set up as part of the company. The error comes from Oculus.Platform.Message and says "User isn't entitled to use this Application!" Is the only user that is receiving this message and we saw that the user is added and accepted the invitation to be part of the company. Is there something else we are missing? We are developing in Unity and using the Oculus SDK Thanks in advance!3.1KViews0likes9Comments[QUESTION] Using Oculus.Platform.GetLoggedInUser()
Hi, I am trying to use "Oculus.Platform.Users.GetLoggedInUser()" but on the callback I get the error message: "StandalonePlatform doesn't support this function yet, did you mean to use WindowsPlatform?" I have looked in "Oculus.Platform.WindowsPlatform" and all I have found is an Initialize call which I believe is used by "Oculus.Platform.Core.Initialize" It could be because the "Oculus.Platform.Core.Initialize()" is creating a "StandalonePlatform" instead of a "WindowsPlatform" because of it being in the Editor but in that case is their a way round this? Can anyone please tell me if it's just "GetLoggedInUser" is not supported yet or if I need a workaround for this editor "StandalonePlatform" thing?Solved1.4KViews0likes1Comment