Showing results for 
Search instead for 
Did you mean: 

Spectator camera in unity

Level 3

I've been trying to implement the spectator camera, but I am unable to run the example provided in the oculus integration plugin - the one mentioned here:

Whenever I switch to third person view using index button, the screen on my phone simply goes black. The "selfie" preview in the headset does work properly.

Has anybody been able to run this sample?


Level 4

I've just tried the SpectatorMode example, and I'm on the same boat. Probably I'm missing some prerequisite though...

Katsuomi Kobayashi (@korinVR) at XVI Inc.

Level 3

Hi ninjuArchero and korinVR,
Pardon to hear that.
May I know what is your Unity version? In Oculus SDK v29, it requires Unity 2019.4 or above. I suspect this could be the reason. 

Also, please consider using release build (turn off development checkbox) for now. A couple bug fixes had landed in v32 SDK, including "flip image" with one line change requires. See more detail in "Known Issue"


Level 3

Also, Spectator camera should now work for casting to phone and PC browser, as part of normal casting flow when trigger within Unity app. 


Level 3

I am using unity 2020.3.13f1.

I will double check that I was using it on release build.

I've tried casting to one plus 7 pro and Samsung s21 (same results)