"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Vumarks do not work on HoloLens 2 in Release Mode

Hello I am upgrading my Hololens 1 app to the HoloLens 2. I am using Vumarks. They work perfectly on Hololens 1 but I can get them to work on HoloLens 2. When i am building my application in Release Mode, i get an error: "cannot load <Marker> database."  In debug Mode it is working. The database is loaded but everything is super low.

I tried different things. Here are some steps to reproduce the problem.

  1.  create a new unity project (i am using unity 2019.4)
  2.  import hololens 1+2 samples for vuforia
  3.  set all required settings for hololens deployment
  4.  Build the visual studio solution via the build window of MRTK
  5.  compile the app in release mode
  6.  check on the hololens 2 that everthing is work.
  7.  create a new dev key
  8.  create a new vumark (template: https://uni-siegen.sciebo.de/s/Ooj5mHcZSxCws9h )
  9.  import new vumark database into project
  10.  set new dev key in vuforia configuration
  11.  select the new vumark in the scene
  12.  build visual solution
  13.  compile app in release mode
  14.  see error message in the development console on the left bottom
  15.  compile app in debug mode
  16.  see database is loaded and marker is tracked.

 

Best,

Florian

Hi,

Did you manage to find a solution? We're having the same issue.

Wouter

I have just repeated all my steps. One time with the samples for Unity 2019 with Unity 2019.4.20f1 and one time with the new samples for Unity 2020.1 and later with Unity 2020.2.3f1. Both times compiled with Visual Studio Emterprise 2019 version 16.8.5.