Closed timbrando closed 3 years ago
Okay, this was a fault from my side. This example project works perfectly once opened!
In case anybody else struggles with this here's the solution to my problem: After cloning the project I tried to open the VarjoOpenXRGame.uproject file which failed because it told me "The following modules are missing or built with a different engine version: VarjoOpenXRGame.exe Would you like to rebuild them now?" and clicked Yes which failed and told me "VarjoOpenXRGame could not be compiled. Try rebuilding from source manually." In case you see this, open the Visual Studio Installer, click on Modify next to your VS installation and choose the Individual Components tab, tick the latest ".NET Framework X.X SDK" version and click on Modify to install the SDK. Now the uproject file should not fail to build anymore. If this didn't do the trick, make a slow motion capture with your smartphone while clicking on the "Show logs" during the build attempt to see what the error was (NetFx directory could not be found, in this case). Furthermore, remember to set the Anti-Aliasing Method to Temporal AA in Edit > Project Settings > Rendering > Default Settings in case the MRBackground works but the MRMask does not.
Hi, I tried to get started developing for Varjo headsets in Unreal Engine using this example project. I realized that every toggle except the Mixed Reality Mask at the wall works. I thought that it would be fixed by enabling Render Custom Depth Pass of the MRMask actor (which should be enabled by default) but that did not do the trick. Since I haven't quite got through the logic of the PP_MR shader yet I currently have no other idea how to fix this. Would be great if you could provide a bug fix for this as far as this is reproducable.
Engine version: 4.26.2 Plugin version: 0.9.0 Device: Varjo XR-3
Regards