Forum Discussion
mofvr
7 years agoHonored Guest
Does Oculus Quest support Photon Unity Networking?
I am researching about possibilities to make multi user experiences for the Quest and have been wondering if Photon would help?
26 Replies
- MassiveStateProtegeJust a note, I ended up creating my own avatars as nothing was working..
- MassiveStateProtegeWhen I load my photon scene I have a new OVRPlayerController. I haven't quite dug into how I will use it when changing scenes in my photon scenes yet.
- pyrussHonored GuestJustin thanks for all the tips, Do you use a "dont destroy on load" on that OVRPlayer controller?or call it via script when you upload a room?
- MassiveStateProtegeI think my issue currently is due to a conflict between the Oculus Platform P2P and Photon, trying to figure out how to disable that (I use the p2p before lauching photon so I can't remove it completely).
- MassiveStateProtege@pyruss
to answer your IOneventCallback problem:
Just a tip, click on items with a red underline and press alt+enter and it will usually show if a namespace is missing.using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using ExitGames.Client.Photon;
public class EventCallbacks : MonoBehaviourPunCallbacks, IOnEventCallback
{ - MassiveStateProtegeEvent callback I put on my remote avatar, and I have an OVRPlayerController Prefab already in the scene I make the instantiated avatar a child of it
- pyrussHonored GuestJustin were do you apply your "EventCallback" scripts? What about OVR camera? how do you call it?
- pyrussHonored GuestWould any kind soul, share very simplistic / basic scripts on what currently work with oculus quest 7.0 + Pun2? modeler & animator with very basic scripting knowledge and 2 days of networking survey.
I am following the photon tutorials , got it to work with regular networking but as soon as i try to add the avatar portion, all hell breaks lose and nothing works, it doesnt even let me add "IOneventCallback" to the network manager script (that uses in regular tutorial) - MassiveStateProtegeYea I have those set. hmm
- paulodgnHonored Guest@"justin.oheir" Yes the remote avatar has the same setup
For the hands to work i believe you have to set an app ID on the Avatar settings:
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
- 11 months ago
- 7 months ago
- 1 year ago