Vive Pro Camera feed too dark in Unreal Project

SOLVED
DaKenpachi
Pioneer

Vive Pro Camera feed too dark in Unreal Project

Hi,

 

I also had the problem of not being able to access the vive pro dual cam recently.

After Rolling Back to Steam VR v1527117754 (the hotfix - as suggested here) it worked:

SteamVR_Hotfix_v15_working_camera.JPG

It works everywhere: The 0.7.5.0 Standalone, in Unity, even in an older Unreal Project where I just inserted and tested the Unreal Plugin.

Except for one project: the one Unreal project I´m currently working on! -.-

 

There if I start any level (eg. my own / the sample level from SRWorks / the Persistant Level from SRWorks Experience Content) the camera feed is there, but it´s way too dark (Almost black)!
SteamVR_Hotfix_v15_camera_dark.JPG

 

And afterwards ist stays dark, no matter which application I start!! It only gets back to normal if I close SteamVR, restart the Vive Link Box, then restart SteamVR.

 

 

DaKenpachi
Pioneer

Re: Vive Pro Camera feed too dark in Unreal Project

If I check the camera settings with the sample-CameraControl.exe while it´s dark, all settings seem to be default (see attached txt file). So this can´t be the reason.

 

If I replace the Plugin folders RuntimeMeshLoader, SRWorks and SRWorks_Experience in my project´s Plugins directory with their default equivalents (from the SRWorks zip file), it does not change anything. So a corrupted plugin can´t be the reason.

 

Note: Im working with UE 4.20.1 and SRWorks 0.7.5.0.

 

 

DaKenpachi
Pioneer

Re: Vive Pro Camera feed too dark in Unreal Project

Ok it looks like the SRWorks Plugin has some kind of interference with another plugin I wrote myself.

But I wonder how this can happen! In my Plugin (see github) I do nothing else than importing the LibRealsense.

So I never access anything from SRWorks, not even something from OpenCv etc.

 

Plus - I don´t have anything from my Realsense Plugin within my Level!!! Just having both Plugins enabled in the Project settings is enough to cause this error....

 

Developers of SRWorks - how can this be??? =/

 

Vive Staff
Solution

Re: Vive Pro Camera feed too dark in Unreal Project

please check line 21 of My_UE_RealsensePlugin-master\Source\RealSensePlugin\Private\RealSenseModule.cpp.

 

your function will be called when loading module and change camera settings.

DaKenpachi
Pioneer

Re: Vive Pro Camera feed too dark in Unreal Project

AH thanks you are right - the realsense camera is opened even if I dont use any asset of the plugin.

I´m still a bit confused why opening the Realsense camera changes settings of the vive pro camera though...