- Sort Posts
- 11 replies
- Last post
How to start with MRTK +Unity2019.1
Actually it works fine for me (Unity 2019.1.12f1, Vuforia 8.3.8, MRTK v2.0.0 RC2.1).
All I do just adding Vuforia Behavior and Default Initialization Error Handler scripts to Main Camera (created by MRTK "Add to scene and Configure..." menu) and configure Vuforia Engine. Rest is the same as before. Works as expected.
How to start with MRTK +Unity2019.1
Hello @rootsolutions,
Are you trying to import the whole MRTK library into your project? The Vuforia Engine HoloLens sample (free on the Unity Asset Store) utilizes select functions from MRTK to solve UX issues. However, it does not include the entire library.
Thanks,
Vuforia Engine Support
How to start with MRTK +Unity2019.1
I have created test project without MRTK. Just Unity 2019.1.10f1 and Vuforia 8.3.8. And I have the same issue. Vuforia doesn't recognize the target.
The log says following
AR: INFO: 2019-07-16 14:19:34: Vuforia selected rendering API DirectX 11
AR: INFO: 2019-07-16 14:19:34: Vuforia SDK version 8.3.8
AR: INFO: 2019-07-16 14:19:34: Vuforia SDK build 3499
AR: INFO: 2019-07-16 14:19:34: Matched precache profile for Microsoft Corporation, HoloLens, UWP 10.0, 810.1
AR: INFO: 2019-07-16 14:19:35: Vuforia Fusion: Detected and enabled use of Windows Holographic
AR: INFO: 2019-07-16 14:19:36: ObjectTracker: Successfully created dataset
Successfully created data set.
….
Exception thrown at 0x77332E12 (KernelBase.dll) in Vuforia Test.exe: WinRT originate error - 0xC00DABE0 : 'No capture devices are available.'.
cameraDeviceStartCamera
'Vuforia Test.exe' (Win32): Loaded 'C:\Windows\System32\RTMediaFrame.dll'.
AR: INFO: 2019-07-16 14:19:37: Starting camera with profile for HoloLens, 810.1
Exception thrown at 0x77332E12 in Vuforia Test.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x024FF080.
Look like Vuforia can't get access to the HoloLens camera for some reason. The test app asked for camera permission and I have granted it and have checked that it's granted. So looks like some incompatibility between Vuforia and Unity 2019.1 and MRTK has nothing to do with it.
How to start with MRTK +Unity2019.1
How to start with MRTK +Unity2019.1
How to start with MRTK +Unity2019.1
It would be really helpful to have some documentation on how to get started with the latest MRTK v2 and Vuforia. I've been trying for some time now to make this work, however, my application always crashes as soon as I want to run it on the HoloLens. I've set up Vuforia according to the documentation and attached a Vuforia Behavior Script to my MixedRealotyPlacespaceMainCamera from MRTK. Without the Vuforia script, the application runs fine on the HoloLens. I really hope for a quick reply from you guys. I think this is a critical point in time with the new HoloLens to be released soon, so if Vuforia wants to be the go-to framework for easy AR applications, some docs on how to get started with the latest MRTK should be a must-have.
Thanks @Serg675. Nailed it!
I can confirm this works on 2019.2.6f1