Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
10 years ago
Solved

[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?
  • 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

Replies have been turned off for this discussion
  • 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.