Forum Discussion

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

GetOculusIdentity not able to retrieve Oculus ID

So, I am trying to get Oculus voice chat going and it's been a pain. I've been following https://forums.oculus.com/developer/discussion/52541/cannot-join-an-oculus-session-cannot-map-local-player-to-unique-net-id#latest to integrate voice chat, and have almost got it working, except like gino, I am getting 

LogVoice:Warning: RANDOM_NUMBER timed out
just like gino did.

I am also calling RegisterRemoteTalker. I was trying to use the playerid passed from APlayerState, but apparently it was still throwing the warning.
Then I found "GetOculusIdentity", and was trying to use that. But apparently "GetOculusIdentity" just didn't do anything. It neither triggered the OnSuccess nor OnFailure delegates.

My question is, how do I get the OculusId of a client that just finished calling join session? If I were to get GetOculusIdentity, what would be the localusernum I am supposed to pass in? Why is GetOculusIdentity not working in the first place?

Thanks