Skip to main content
May 5, 2016
Solved

[QUESTION] Using Oculus.Platform.GetLoggedInUser()

  • May 5, 2016
  • 1 reply
  • 1414 views
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?
This topic has been closed for replies.
Best answer by ashupp
You are correct, StandalonePlatform is what you are using in the Unity editor.  As of release 1.4 which went out at the end of last week, you should be able to use this function in the editor.

1 reply

ashuppAnswer
Participant
May 25, 2016
You are correct, StandalonePlatform is what you are using in the Unity editor.  As of release 1.4 which went out at the end of last week, you should be able to use this function in the editor.