Record WebCamTexture
My unity project is supported with Banuba SDK. I have attached face masks in my scene and I am recording the texture using the webcam. Here my concern is that I am trying to record WebCamTexture, but...
View ArticleHololens 2 WebcamTexture not working in XAML builds
I'm using WebcamTexture in a Hololens 2 project and it works while I'm debugging it using build solution (not with unity debugger). If I try to play the texture without debugger, I'm getting black...
View ArticleVideo Recording in Runtime
Hi I am making a multi screen video recording app using Unity 2020 (like Acapella if you are confused). I have made it so a microphone input can be recorded and played back at a later date but the...
View ArticleHOW TO INTEGRATE WEBCAM AND TEACHABLE MACHINE MODEL
I want to make a simple 2D game in which my player (square) is jumping when I do Class1 from my TeachableMachine model. My model has two classes- first one is jump (he recognize that I jumped in front...
View ArticleRender a live webcamtexture in photon 2
Hi, I want to render a webcamtexture on a player in cube. So Every player in game have its own video on their cub. Currently i am use RPC call but after few seconds my player disconnect and my game...
View Articletwo webcams into a single rawimage side-by-side,How to have two webcams in...
Hello. I've been able to capture streams of different webcams simultaneously using the code found here https://github.com/Chamuth/unity-webcam/blob/master/MobileCam.cs and simply creating two...
View ArticleWebcam texture not rendering on iOs URP
Hello, Having a real problem with Webcam textures on iOs. I render the webcam (mobile phone camera) to a Raw Image (with an unlit two sided material on it) and fix the aspect ratio to be correct. It...
View ArticleAdressing USB cameras via WebCamTexture in Android
While WebCamTexture.devices provides a list of all available devices while running Unity on Windows, including USB attached to the PC and those of an Android devices connected thru Unity Remote, it...
View ArticleCrashes when calling "WebCamTexture.devices".
Crashes when calling "WebCamTexture.devices". Only the actual device with the built apk installed crashes with the following error. Please let me know if there is a solution. Unity 2020.2.7f1 Unity...
View ArticleSelecting a camera when connecting multiple cameras in Unity
I am trying to show AR video by connecting the hand tracking camera device (Leap motion: window device manager list: 0) and webcam camera (window device manager list: 1) in Unity. Leap motion connects...
View ArticleWebCamTexture.devices.Length returning 0 in Unity 2020.3.8f1
I run my code on Snapdragon 855 Mobile Hardware Development Kit and call "WebCamTexture.devices.Length" to find the camera device number , but it always return 0 in Unity 2020.3.8.f1. However I change...
View ArticleWebCamTexture FPS faster than Application.TargetFrameRate,WebCamTexture at...
I want Application.TargetFramerate to be lower than WebCamTexture.requestedFPS. For example, TargetFramerate = 5 and FPS = 30. When I've tried this, both in the editor and on iOS, WebCamTexture cannot...
View ArticleEasyAR 3.1.0 - webcam black screen after updating to Unity 2021.1.18f1
EasyAR 3.1.0 worked properly in older versions of Unity. The webcam loaded as expected, but since I've updated to Unity 2021.1.18f1, the webcam only shows a black screen. I tested it with the samples...
View ArticleWebcamTexture device order
Does anyone know what the criteria are determining the order that multiple webcams appear in WebcamTexture devices list? It doesn't appear to be alphabetical.
View ArticleHow can I convert webcam texture to rendertexture?
Is there any way we can convert the feed coming from a webcam to a rendertexture?
View ArticleWebCamTexture not displaying in VR
Okay so a few months ago while working on an XR project for work, back when i was using an earlier version of XRInteraction toolkit (currently 2.0.0-pre7) i had a simple scene where i could press a...
View ArticleLaptop Webcam and mic not working in .exe build
I want to access the webcam and mic (record and play) in my windows build. In my case Webcam and Mic is working properly in unity editor mode and External web cam and Mic is working properly in desktop...
View ArticleWebcam texture in unity render streaming
I want render a webcam texture on a player (currently which is cube ) in Unity Render Streaming. I have two player in a scene which controller through a different web browser and I want to render their...
View ArticleHow to access video stream of our Lepton 3.5?
For a study project my team and I were trying to stream the video of our thermal camera (FLIR Lepton 3.5) via the PureThermal 2 Smart I/O into a unity RawImage inside our HoloLens 2 HeadsUpDisplay UWP...
View ArticleReceiving webcamtexture and sending camra stream in unity render streaming
I want to sent camera stream to a web browser like **web browser input** sample and I want to resived webcamtexture from web browser like **Bidirectional** sample The problem is web browser input work...
View ArticleCan't see virtual webcam device on Unity 2019 (Ubuntu 16.0.4)
I successfully loopbacked Web cam devices on Ubuntu 16.0.4. I can played virtual cams well via ffplay software or webamtests.com on Ubuntu 16.0.4. However, when I tried to play it on Unity, the...
View ArticleHow do you take multiple photos using Webcamtexture and rotate it to show it...
Hi, good evening. I was trying to make an app to take 5 photos with a counter for Android. But it closes by itself without errors taking a photo. And it shows the camera tilted 90º. I tried use this...
View ArticleWebCamTexture absurd CPU usage & visual bug on Linux
Hi everyone, In a recent project on Unity 2021.3.8f1 , I try to use `WebCamTexture`, and everything looks fine on macOS & IOs & Android. See the code below : private void SetUpCamera() {...
View ArticleWebCamTexture input frame-rate over 30fps?
I am working on a project to track a smartphone screen via 4 ArUco markers attached to the corners of the phone. The tracking algorithm is already implemented and working well. **My current issue is...
View ArticleARfoundation camera configuration for high resolution
Hi everybody, I am working at an AR project but I stumbled upon an issue I can't solve. By default the image I get by using> TryAcquireLatestCpuImage(out XRCpuImage image) is 480 x 640. So I tried...
View ArticleWebCam texture doesn't work on Build Windows - Unity 2022.1.17f1
WebCamTexture works fine on editor, but doesn't work on Build. I have tried: turn off antivirus and firewall, check authorization, put the webcamtexture on UI_RawImage and a plane gameObject,...
View ArticleAll getPixels32 data I get from WebCamTexture on WebGL are black pixels.
I would like to create the following source code to obtain pixel data from WebCamTexture with WebGL. I tried running the following, but the rgb value is (0,0,0). using System.Collections; using...
View ArticleFacing issue while loading camera on Android 9
I have been working on AR Foundation and camera related stuff in Unity, I have encountered issue loading camera on this device: Redmi 6 pro Android 9 MIUI 12.0.4 Seems camera is not loading either you...
View ArticleUnity does not detect my OBS webcam source(insta 360 ONE RS)
Hi, I'm pretty new to scripting in Unity. I'm trying to use insta 360 ONE RS camera as a webcam texture for skybox in Unity. I created a game object in Unity and attached this script to it- using...
View ArticleProjecting webcam livefeed on to a specific geometry (From Insta360 to OBS to...
Hi, I'm trying to project a live feed from insta360, using it as a webcam. I have the webcam texture, as you can see in the screenshot. But I now want to project this onto the shape you see in the game...
View Article