cancel
Showing results for 
Search instead for 
Did you mean: 

[QUESTION] Using Oculus.Platform.GetLoggedInUser()

Anonymous
Not applicable
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?
1 ACCEPTED SOLUTION

Accepted Solutions

ashupp
Protege
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.

View solution in original post

1 REPLY 1

ashupp
Protege
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.