Forum Discussion

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

Cannot join an Oculus session: "Cannot map local player to unique net ID"

I'm trying to create and join an Oculus session. I already succeeded in creating a session by using the Null and the Steam subsystems, but the Oculus' one seems to be more complex.

Rather than using the Unreal's CreateSession and FindSessions blueprint functions I used the Oculus' CreateSession and FindMatchmakingSessions. These one are my Blueprint blocks for creating and searching/joining sessions.


The session is created and found correctly (the Oculus matchmaking pool named "ciao" is the one configured on my Oculus dashboard). My problem is the JoinSession function, which actually is the one provided by Unreal, because the Oculus sdk does not provide an equivalent method, so when I call it I receive a warning message "Cannot map local player to unique net ID".

How can I join a session by using blueprints? I'm also trying to create a Blueprint function library and writing the JoinSession with C++, but I don't know how to call the OnlineInterface::JoinSession method correctly. Does someone has an example of code on how to join an Oculus session?

21 Replies

Replies have been turned off for this discussion