Composer crashing unreal engine when trying to play in VR preview

 

Hi, I have project opened in unreal engine for Aximmetry. I am trying to run the project in VR preview and have this VR preview streamed into the composer, but it always crashes.  I can play in my VR headset if composer is closed. If I have Aximmetry composer opened, and I hit play in Vr preview unreal engine for Aximmetry crashes. I would like to stream this VR preview through live sync into composer.

   stefan.jakubjak

 
Profile Image
Eifert@Aximmetry
  -  

 Hi,

Currently, Aximmetry doesn't have VR Unreal cameras (360 degrees VR or double render for two eyes VR). More on it here: https://my.aximmetry.com/post/2115-add-360-degree-vr-camera 

Warmest regards,

 
Profile Image
stefan.jakubjak
  -  

Why not ? It can stream when I click new editor window pie in live sync mode. There is similar window with VR preview. Is there any way to make this work?

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Aximmetry cameras in Unreal use the Cine Camera Actor.
To actually develop for VR in Unreal is more than just clicking on the VR preview button. You will need a VR camera that is quite different from the Cine Camera Actor.

Nevertheless, you might be able to make it work. You could edit the Unreal Aximmetry cameras or edit the VR cameras and stream their video with the Set Aximmetry Video blueprint nodes: https://aximmetry.com/learn/virtual-production-workflow/preparation-of-the-production-environment-phase-i/obtaining-graphics-and-virtual-assets/creating-content/creating-content-for-aximmetry-de/ue5-how-to-install-and-work-with-the-unreal-engine-based-de-edition/#passing-data-from-unreal-to-aximmetry
However, I am not exactly sure what you want to achieve.

Warmest regards,

 
Profile Image
stefan.jakubjak
  -  

I want to do a "local multiplayer". I would start unreal editor in VR preview but after the start I would change view to aximmetry camera so there would be 2 players- VR and Aximmetry camera. Something like in the video here: [ALMP] Asymmetrical Local Multiplayer Template For Unreal Engine - YouTube
Template: GitHub - spammaleros/ALMP_Template: Video:.
In this template you see 3th person view on your pc but you have different view on the VR headset, and you can move and interact as 2 players.
3th person character would be Aximmetry camera, and Another player would be playing in the VR. This would be very cool thing. I imported the template into Aximmetry Unreal and it worked fine I just had to allow openxr plugin. It would be enough for me to have virtual camera. The main issue is that as soon as I start decomposer and hit play in the VR preview it crashes the unreal engine. 

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

ALMP_Template ran for me without a problem in Unreal Editor for Aximmetry 5.1 cooked and with Aximmetry Virtual camera added in Unreal. However, I don't have access to a VR headset currently to check out the VR part.

Some things to consider at first glance:

  • The project has Forward shading turned ON. Aximmetry Unreal cameras are designed to be used with deferred shading, especially billboards.
  • It uses a SteamVR plugin which you need to enable. This SteamVR plugin is going to be removed from Unreal in the future.
  • This a template project, they meant you to modify its blueprints for your liking.
  • You could try enabling VR view for your VR headsets in the blueprints when you run the project in normal PIE mode. This might be already implemented in the ALMP/Characters/VR/MotionControllerPawn blueprint.
    Or if that doesn't work at all, you could try grabbing the camera picture in that blueprint and send that to Aximmetry with the Set Aximmetry Video blueprint node and then send the picture from Aximmetry to the VR headsets, but this is probably a long shot.

Warmest regards,