mrayy / unitycam Goto Github PK
View Code? Open in Web Editor NEWUnity3D Virtual webcam plugin, streams unity viewport contents to other applications as virtual camera
License: MIT License
Unity3D Virtual webcam plugin, streams unity viewport contents to other applications as virtual camera
License: MIT License
Even in the example project, all I can get is black out of the webcam device in whatever app I tested it in (browser and OBS so far). Any idea why this might be? I'm using this for Unity
Windows 10.
Seems odd that it doesn't show as a camera in most apps. What is Zoom doing differently to other software?
Also - VLC seems to work too but with lag. However that might just be how VLC works with capture devices.
When running a scene / compile app using UnityCam, I can see its output in some programs like Skype, but not in others like OBS and most importantly, Unity itself! Is it using a different method than the kind Unity is looking for?
Hi just wondering if audio is supported as a passthrough to a virtual microphone/audio device?
Thanks.
Hi,
i can't get UnityCam to work in a Windows 10 UWP Application.
It works in the Editor, but in the UWP-Build the streamed image remains black.
Do I have to migrate the UnityWebcam VS Project to an Universal Windows Project?
Do you have any suggestions?
I tried it in Unity 2018.4.4f1 and 2019.1.10f1 with the following Build Settings:
Target Device: Any device
Architecture: x64
Build Type: D3D Project
Target SDK Version: Latest installed
Minimum Platform Version: 10.0.10240.0
Visual Studio Version: Latest installed (2017)
Build and run on: Local Machine
Build configuration: Release
Copy References: No
Copy PDB Files: No
Development Build: No
I attached a small Testproject, so you can reproduce the problem:
Thanks in advance!
I'm trying to get the feed to work on apps like zoom and teams, but those apps do not see the UnityCam, They do see it on the browser version. But not the app.
Any ideas?
Thanks
Have been able to get camera working in Skype for Business (x32) and can see the test project great.
Camera does not appear in Microsoft Teams as an option, have tried the x32 & x64 bit DLL versions as well as x32 and x64 versions of Teams - Teams only lists the physical camera attached to windows 10 as the video input.
Any suggestions on how to get teams to accept input from UnityCam ?
Hi, I'd like an option to output at a resolution of 2048x2048 to simulate a fisheye camera.
I found the list of resolutions in UnityCaptureFilter.cpp but am unable to build it - can you share what dependencies are required? Thanks.
as title said . have you ever update it for the newest system and unity?
it seems that it can not work fine in that environment
After running the scene successfully, camera is not detected neither in the Camera of Windows nor in SharpCap Software. Kindly Help!
On Windows 10 does not create a webcam device which Zoom (or other camera apps) can use. Does not show in Device Manager under Imaging Devices.
Steps to reproduce on Windows 10:
Please advise, and thanks.
I briefly looked into the code and seems it can be used directly in UE4.
Referred in UE4 example UnrealWebcam.dll is missing.
How can i find it or compile it?
Is it same as UnityWbcam.dll? Can I just rename it?
Is it possible to run UnityCam in the background, when the image is not rendered to the Game view?
It would be nice to have that option on the script.
When I switch my project to URP , other application still can get UnityCam but with black screen
When running a build, the application sometimes whites out and shows "(Not Responding)" in the title bar, as if it's locked up, but the game keeps running, with the scene rendering and video output not being interrupted.
This happens in Unity 2019.3.7f1, but does not happen in 2019.1.14f1.
Appears to happen for all users on different hardware.
Repro steps:
Create a minimal scene with the unity cam component
Build the application and run it in a window
Click outside the application so it is not the active window and wait ~10 seconds
Observe the window stops responding for several minutes, sometimes recovering eventually
I'm a new user of this plugins and I dont know how to get the URL of the the WebCam. Should I open the cpp Project to get the source stream?
To Reproduce:
There is no longer a webcam output.
There are also no errors.
I am having an issue with installing this, I ran the batch script and I am unsure as to where I would find the component. It didn't show up within Unity. I am having a hard time understanding what needs to be done. Do I need to copy and paste anything into any of the folders, or am I missing something else?Could someone walk me through it one step at a time?
Thank you in advance!
Hi there, and thanks for the great project.
The project seems to be missing the meta files, so the examples scene has missing scripts.
I saw that this issue mentioned modifying the resolution of the virtual camera(#18 ). When I followed the steps mentioned in it and compiled it, there were some errors:
would it be possible to add support for DirectShow so it can be used with stuff like FFMPEG or VLC. or is there another way to achieve this?
I want to change some virtual camera attributes from the source code, such as camera name, resolution, etc.
I downloaded the source code and tried to compile the DLL. Unitycamservice can be compiled successfully. Another unitywebam DLL keeps reporting errors. Prompt sharedimagewrapper this does not recognize and syntax error. Which version of vs do you compile with and how to solve this problem? There are also virtual cameras in Tencent meeting without pictures. Do you have the latest version of DLL source code, can you send a copy?
Looking forward to your reply
Basically what the subject says :)
Not an issue exactly ... but I'd love to see a version of this that works on a macOS Unity project (especially on Apple Silicon) for an education project that I'm working on right now. Happy to donate some funds towards achieving this. If anyone reading this is keen to attempt the project, please contact me at [email protected]
I used this plug-in in the video conference, and after UnityCam was turned on, the resolution was relatively low
I would like to ask what is the solution
After build comes out
When the program loses focus and runs for a while, the program will not respond
But the program is still running
use unity2019.3.3f1
I installed the two "run me first" .bats as administrator, got the verification window, restarted. Then I loaded the example in Unity 2019.3.6f1 and made sure the build was set to x86_64. There app runs full screen, but there is no camera option in Skype. Zoom and Google Meet show the UnityCam as an option but when selected do not show the animation and report the error "video failed" Any suggestions?
when i set opengl as grphics apis for windows, it can't work
Hello,
I have tried to include this as part of my project by putting it in the Assets folder.
However, now I am getting a lot of errors, for example "The type or namespace could not be found", or "Multiple plugins with the same name", "you are trying to import an asset which contains a global game manager. This is not allowed".
What to do? Am I doing this right?
I am using Windows 10, Unity 2019.4. Btw, are you aware of any OS-independent solution?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.