I'm a freelance Unity dev and have been using Unity since I was 12 years old. I have watched thousands of Unity tutorials on youtube. This is the first time that I hear a creator say "Hey if you haven't written code before don't run away you don't need to understand all of it it's a follow along and it's simple" instead of "this is not a basics coding tutorial if you don't know shit go learn first". I really wish I could've heard that when I was just starting at 12. Amazing content! Keep inspiring! Edit: and I just learned about the alt key to move things around!!
Just a note if you are trying this in Unity 2021...TextMeshPro is the default text type for buttons now. Due to that you need to change "public Text startStopText" to "public TMP_Text startStopText" and make sure to add "using TMPro" to top of C# script. Without that, you cannot drag text from StartStop button to script in inspector panel.
Thank you my friend, realy helpfull for a newbies like me. Great tutorial with fully process for beginner and not native english guys 🙋♂ Thanks for your work
Tried following the guide, and has no errors. When in playmode, it seems like it doesn't connect to the camera! The buttons are clickable, but it doesn't turn on/off, and it still only shows the blank canvas. Any ideas as to what has gone wrong?
Great Video. I made the application for the oculus quest using the unity and want to view the live camera feed into the oculus. But when I connect the external camera with the oculus I am unable to see the view. Can you help me?
hello - do you have perhaps this code availlabe to copy paste ? (as seen in minute 13 of this video) maybe on a website/webpage? i often make mistakes typing; copying a working code would already be a help
Hello Sir. I just have only 1 webcam so I want to show that input into the Canvas. When I hit Play, Unity just load some frames and had error "Could not connect pins - RenderStream()" & "Error capturing camera feed. Maybe the camera has been disconnected?". It happened on my PC and Laptop. Have you seen this error before ? Thank you sir !
Hi, thanks a lot for the tutorial, tried it and it works like a charm! Gonna check out your other videos as well : ) I need to use this in an installataion- so how would you recommend I take a photo through Unity?
Did this step by step but still my phone screen is showing only the white canvas but not the camera. Dont know what to do. I am not able to use my camera in unity application, Tried a lot of tutorials but still the camera does not show in the app.
One note: You totally forgot to mention that in order for this to work at all, there's a whole process of setting up camera permissions in Unity. Would've been great if this was covered
Can I use this to add a "take a photo" stand on a 3d world? Like when you step into a trigger, you can take a photo of yourself on a screen inside this world
is this going to work if i want to make a cheap version of security cameras? like if i push a botton or key on the key boeard i will be able to change to that sertan webcam?
can you show us how to stream output video from unity to external ( as a webcam for example to be use in zoom, or as a clean HDMI to output to a recorder..?)
Yes, you have to do additional steps but totally. I would assume you would have to bring in the left and right eye video separate and devise a way that combines it in Unity.
I am a little confused because on the line that says: WebCamDevice device = WebCamTexture.devices.[currentCamIndex]; I get Identifier Expected. What do i do?
a very cool tutorial, thank you! but how can I solve that: I want to project the live video source in 3d on a cube ... is that possible? thanks in advance.
Yes it is possible! You have a 2D surface, if you make six sides you have enough for a cube, then rotate the sides to build the cube. Then figure out if you want the same image on each side or one continuous image to wrap around each side.
Do I miss something in code? My WebCamTexture isn't in green so it doesn't reconice it as property or class. I think I created script same way in Unity also.
I think reason is that I don't have cam mounted yet... Now on I have only gopro to use. Do you think that I can test this gopro usb or do I need least some card?
@@teemusekki1743 You might have missed something in code. I haven’t tried a gopro through usb as webcam personally, but it seems the newer ones may have that functionality. If that isn’t working you can always go through the micro hdmi to hdmi capture card route.
How did you make you Digital camera detected as webcamera to be used with Unity, Because I tried using my Digital camera as feed but Unity does not recognize my Camera at all, all I get when I tried running Unity is just a blank screen. Thank you
@@hizralashraq159 You might have a compatibility problem with your devices unfortunately, try troubleshooting different devices and see if you can pull up the feed as a virtual camera in a program like OBS.
I'm a freelance Unity dev and have been using Unity since I was 12 years old. I have watched thousands of Unity tutorials on youtube.
This is the first time that I hear a creator say "Hey if you haven't written code before don't run away you don't need to understand all of it it's a follow along and it's simple" instead of "this is not a basics coding tutorial if you don't know shit go learn first".
I really wish I could've heard that when I was just starting at 12. Amazing content! Keep inspiring!
Edit: and I just learned about the alt key to move things around!!
Thank you for the kind words
Just a note if you are trying this in Unity 2021...TextMeshPro is the default text type for buttons now. Due to that you need to change "public Text startStopText" to "public TMP_Text startStopText" and make sure to add "using TMPro" to top of C# script. Without that, you cannot drag text from StartStop button to script in inspector panel.
Dude you don't know how helpful this is to me. I searched the whole day for exactly this. Thank you so much!
Thank you my friend, realy helpfull for a newbies like me. Great tutorial with fully process for beginner and not native english guys 🙋♂
Thanks for your work
Works beautifully on Windows with a single web cam
Clear and very easy to understand tutorial. Thanks so much Jeff!
We need more tutorials like yours! Thank you so much. Seriously
Omg it worked! i needed this for my project, so thank you so much!
Great Unity / C# tutorial, you made coding easy for everyone! Thank you so much.
your instruction is very detailed and easy to understand. definitely worth to subscribe.
Tried following the guide, and has no errors. When in playmode, it seems like it doesn't connect to the camera! The buttons are clickable, but it doesn't turn on/off, and it still only shows the blank canvas. Any ideas as to what has gone wrong?
This is really exciting. Thanks for your video.
Exactly what I needed, many thanks!
This was extremely helpful!!!!!!!!!!!!!!!!!!!!!!! Thank you soooo much
Very easily explained. Can you pls also make a video to show how to record video from USB webcam or camcorder connected with my system.
super vid.Thank you.Another request .Please think of a way to add remote web cam .
Thank you for the content, awesome ! 👊
Great Video. I made the application for the oculus quest using the unity and want to view the live camera feed into the oculus. But when I connect the external camera with the oculus I am unable to see the view. Can you help me?
hello - do you have perhaps this code availlabe to copy paste ? (as seen in minute 13 of this video)
maybe on a website/webpage?
i often make mistakes typing; copying a working code would already be a help
Nicely done 👍🏼
Hi, Great tutorial! Can I use this on a VR Headset?
bro did u manage to apply on VR successfully?
can you make a tutorial on using webcam for games like kinnect
do you have that 'camera script' somewere were i can copy (paste) it?
thow webcam i can move charater in the unity with my movement?
Hello Sir. I just have only 1 webcam so I want to show that input into the Canvas. When I hit Play, Unity just load some frames and had error "Could not connect pins - RenderStream()" & "Error capturing camera feed. Maybe the camera has been disconnected?". It happened on my PC and Laptop. Have you seen this error before ? Thank you sir !
I have the same error and would like some help as well.
Great Tutorial.. Can you show how the camera zoom can be adjusted after initializing the camera using unity ?
does the black magic intensity shuttle work?
Thanks so much, I appreciate this so much...
Hi, thanks a lot for the tutorial, tried it and it works like a charm! Gonna check out your other videos as well : ) I need to use this in an installataion- so how would you recommend I take a photo through Unity?
That "Quick Actions and Refactorings" didn't get any options. So i lost there... "Method" thing was confusing.
Did this step by step but still my phone screen is showing only the white canvas but not the camera. Dont know what to do. I am not able to use my camera in unity application, Tried a lot of tutorials but still the camera does not show in the app.
One note: You totally forgot to mention that in order for this to work at all, there's a whole process of setting up camera permissions in Unity. Would've been great if this was covered
I am working on a similar thing , can you please tell me about the setting up of camera permissions ?
Any idea why I would be getting an error with the script asking about already containing a definition for 'Camera Script'?
Very cool. Can you make a new tutorial using ipcams? THX
how to record from ?
Can I use this to add a "take a photo" stand on a 3d world? Like when you step into a trigger, you can take a photo of yourself on a screen inside this world
is this going to work if i want to make a cheap version of security cameras? like if i push a botton or key on the key boeard i will be able to change to that sertan webcam?
Hey my friend, thank you very much so this tutorial. Does it also work with Insta 360 cams?
Is it possible to connect to the camera via WiFi?
Does this also get and play the audio from the stream?
Thanks for this great tutorial. Can I also add and spawn 3D game objects, like a cube for instance, that will appear also in the Game Display?
Without using AR Foundation and ARCore for Android devices
can you show us how to stream output video from unity to external ( as a webcam for example to be use in zoom, or as a clean HDMI to output to a recorder..?)
you could make it a html5 project and render the webpage as a source. That's what Im attempting to do.
@@coryjamescooper would love a tutorial on this!?
Great video. Is there a way to bring 3d video and stereo audio into a scene (a live performer on a stage)? Thanks
Yes, you have to do additional steps but totally. I would assume you would have to bring in the left and right eye video separate and devise a way that combines it in Unity.
I am a little confused because on the line that says: WebCamDevice device = WebCamTexture.devices.[currentCamIndex]; I get Identifier Expected. What do i do?
what did you do?
a very cool tutorial, thank you! but how can I solve that: I want to project the live video source in 3d on a cube ...
is that possible? thanks in advance.
Yes it is possible! You have a 2D surface, if you make six sides you have enough for a cube, then rotate the sides to build the cube. Then figure out if you want the same image on each side or one continuous image to wrap around each side.
Do I miss something in code? My WebCamTexture isn't in green so it doesn't reconice it as property or class. I think I created script same way in Unity also.
I think reason is that I don't have cam mounted yet... Now on I have only gopro to use. Do you think that I can test this gopro usb or do I need least some card?
@@teemusekki1743 You might have missed something in code. I haven’t tried a gopro through usb as webcam personally, but it seems the newer ones may have that functionality. If that isn’t working you can always go through the micro hdmi to hdmi capture card route.
Do you have video on Udemy ?
when i go back to unity i don't have "display" in 13:39 ruclips.net/video/vtM-kqaTUso/видео.html please help me
How did you make you Digital camera detected as webcamera to be used with Unity, Because I tried using my Digital camera as feed but Unity does not recognize my Camera at all, all I get when I tried running Unity is just a blank screen. Thank you
How does the camera connect to your computer? If you are having trouble the solution may be to get a simple HDMI capture card.
@@JeffKomarow The camera is connected to my computer using SDI cable via a Mini recorder converter blackmagic sdi to hdmi.
@@hizralashraq159 You might have a compatibility problem with your devices unfortunately, try troubleshooting different devices and see if you can pull up the feed as a virtual camera in a program like OBS.
My Cam is black...