I really really need help, Unity Live stream ricoh s with macbook

I have completed

and

I bought a ricoh theta s hoping this would work and I have some errors, using the mac os x tutorial i am getting.

Assets/Scenes/WebCamDetect.cs(1,15): error CS1002: ; expected
Assets/Scenes/WebCamDetect.cs(1,15): error CS0116: A namespace cannot directly contain members such as fields or methods
Assets/Scenes/WebCamDetect.cs(1,26): error CS1022: Type or namespace definition, or end-of-file expected

Can someone help me walk through trying to get this to work as though I am a noob. I have tried to play with the code…but often get more errors than i had before.

1 Like

Use the same version of Unity as shown in the video, which is 5.6.1.

Alternately, look at “webcam texture” for a recent version of Unity.

https://docs.unity3d.com/ScriptReference/WebCamTexture-devices.html

I would likely try 2019 LTS with a revised script.


Unity archive is here:

1 Like