oculus-samples / Unreal-SharedSpaces

Oculus multiplayer showcase demonstrating basic multiplayer functionality in Unreal, including Oculus Platform Social APIs, Photon as the transport layer and UE replication. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
Other
136 stars 65 forks source link

Quest Profile Image and User Names Replication #60

Closed deedox closed 1 year ago

deedox commented 1 year ago

Hi, I'm trying to apply Quest user names and images to the players. I'm struggling a bit with proper replication, it works when I play alone but when another player joins no images are applied and names are shown as "Text" I would be thankfull for any advice.

Screenshot 2023-03-09 153801

AlexThiv commented 1 year ago

Hi @deedox,

Seems like the nodes above only gets the logged in user info rather than the other users. You can check how we handle the player name replication and would probably want to replicate the image url.

In the SharedSpacesCharacter "CLIENT - Sending name to server." you will see the call to "Notify Server of Name" which in turn will set the character name on the entity.

Hopefully this points you in the right direction. Let me know how it turns out and if I can help further.

deedox commented 1 year ago

Hi, sorry for the late reply. I was very buss the last month. I hope that you still can help me. I manage to make the names working but I'm struggling with the user images. This how far I came but with no luck. I'm not able to download the user image for the client characters.. Basically what I want is get each users image and apply them to my custom character mesh. usrimg_1 usrimg_2