HoloLensCameraStream
HoloLensCameraStream copied to clipboard
Cannot build Unity 2019.4
Hi I cannot seem to build this project in Unity 2019.4.1f1 as I get a whole bunch of errors, I am missing something obvious here?
Maybe you are confusing UnityEngine.Windows.WebCam.VideoCapture and HololensCameraStream.VideoCapture? In older Versions of Unity, VideoCapture was in another namespace. Could be that Unity tried to upgrade the scripts and now the wrong namespace (Unity instead of HololensCameraStream) is included
Hi @lapislazinus,
I ran into the same issue and you are right. When importing the unitypackage, Unity will mess with the VideoCapture
import and add a UnityEngine.Windows.WebCam
prefix to everything WebCam-related. Thank you for that hint!
Actually I need to specifically replace UnityEngine.Windows.WebCam
with HololensCameraStream
. Otherwise Unity will try to 'fix' VideoCapture
during every build.
Same situation in Unity2019.3.0f
Try another branch (upgrade_2018_2) please. There is no compile errors.
Actually I need to specifically replace
UnityEngine.Windows.WebCam
withHololensCameraStream
. Otherwise Unity will try to 'fix'VideoCapture
during every build.
and how is this done?
Actually I need to specifically replace
UnityEngine.Windows.WebCam
withHololensCameraStream
. Otherwise Unity will try to 'fix'VideoCapture
during every build.and how is this done?
When you import the HoloLensCameraStream unitypackage
, Unity will replace every occurrence of VideoCapture
with UnityEngine.Windows.WebCam.VideoCapture
if I remember correctly. You need to find every UnityEngine.Windows.WebCam
string/namespace in the imported files after the import and replace them with HololensCameraStream
Hello. I have just released a version in my repository that supports the latest Unity and Hololens2. Please try it out. https://github.com/EnoxSoftware/HoloLensCameraStream