mrayy / UnityCam

Unity3D Virtual webcam plugin, streams unity viewport contents to other applications as virtual camera
MIT License
506 stars 150 forks source link

UnityCam in Windows 10 UWP App not working #8

Open FluffySpectre opened 5 years ago

FluffySpectre commented 5 years ago

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:

UnityCamUWPTest.zip

Thanks in advance!

mrayy commented 5 years ago

Hello,

Actually I never tried deploying for UWP, so not sure if the plugins are loaded similar to x64 projects.

Can you confirm the plugin folder structure compatibility?

On Tue, Jul 16, 2019 at 4:40 PM BjoernBo notifications@github.com wrote:

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:

UnityCamUWPTest.zip https://github.com/mrayy/UnityCam/files/3395843/UnityCamUWPTest.zip

Thanks in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mrayy/UnityCam/issues/8?email_source=notifications&email_token=AAVMIJS7NUP43YDFR62AOY3P7V3OHA5CNFSM4ID57OX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7MWQFQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVMIJXS7W7R4YH4G7L5CC3P7V3OHANCNFSM4ID57OXQ .

-- MHD Yamen Saraiji, Ph.D. Graduate School of Media Design, Keio University Project Senior Assistant Professor. 〒223-8526 神奈川県横浜市港北区日吉4-1-1 慶應義塾協生館 KMD Telephone: +81 080 3442 5775 website: http://myamens.com/