Forum Discussion
Anonymous
10 years ago[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?
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
- ashuppProtegeYou 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 23 days ago
- 9 months ago