RHI / DX11 issue with 2020.5.1 / UE 4.24.2.0

 

Trying to build for Windows from 4.24.2.0 with a minimal project set up (Aximmetry Camera blueprint added to the scene on a Blank Game template with RTX enabled, desktop target, Win 10) results in an error complaining about targeting DX12.

Changing RHI to DX11 and restarting UE allows the build to proceed but with several warnings like:

UATHelper: Cooking (Windows):   LogInit: Display: LogShaderCompilers: Warning: Failed to compile Material /Game/Aximmetry_VirtualCam_2-Cam/Materials/Shaders/Billboard_Unlit_Without_DOF.Billboard_Unlit_Without_DOF for platform PCD3D_SM5, Default Material will be used in game.

UATHelper: Cooking (Windows):   LogInit: Display: LogShaderCompilers: Warning: Failed to compile Material /Game/Aximmetry_VirtualCam_2-Cam/Materials/Shaders/Billboard_Unlit_With_DOF.Billboard_Unlit_With_DOF for platform PCD3D_SM5, Default Material will be used in game.


... then trying to build a minimal virtual camera project in Composer results in shadows but a completely transparent billboard on the UE output. Any idea what's up?

   hardworkparty

 
Profile Image
ahmed ahmed
  -  

 I think that aximmetry currently do not support dx12 based unreal projects maybe in future release 

So maybe you need to recreate your project materials then try to reimport the project to aximmetry. 

 
Profile Image
hardworkparty
  -  

Thanks, Ahmed, but just to be clear, I did not introduce anything to the scene that was not supplied by Aximmetry.

Steps to reproduce:

• Create a project in the Aximmetry-supplied build UE 4.24.2.0 with the Game > Blank > With RTX / no starter content template

• Copy the Aximmetry UE camera into the Content folder

• Drop the Aximmetry UE camera blueprint into the scene

• Hide the player start actor by moving it below the ground plane

• Set the project Depth setting to Enabled with Stencil

• Save all

• Set the current map to be the editor and project default

• Try to Cook for Windows

• Get above error about RHI

• Switch the Targeted RHI > Default RHI to DirectX 11

• Restart Unreal

• Try to Cook for Windows again

• Get above warnings about billboard materials

• Open the .uproject in Aximmetry 2020.5.1

• Get a totally transparent billboard that casts correct shadows


 
Profile Image
ahmed ahmed
  -  

Can you try if disabling RayTracing rendering in unreal can help?

https://docs.unrealengine.com/en-US/Engine/Rendering/RayTracing/index.html

then try to build and cook the project. 

If this didn't help try start fresh by creating  new project as aximmetry shown in this video 

https://www.youtube.com/watch?v=AzkyS0Uwvqo

 
Profile Image
ahmed ahmed
  -  

If we do same step as above ,It seems that some of aximmtery shaders get corrupted  for example Billboard_Unlit_Without_DOF have the following error 

Same thing for Billboard_Unlit_With_DOF,Billboard_Lit_Without_DOF,Billboard_Lit_With_DOF,Billboard_Lit_With_DOF.

 
Profile Image
hardworkparty
  -  

Hey Ahmed-

Disabling raytracing, re-starting the editor, and re-cooking did resolve the problem, albeit obviously without raytracing.

Sorry if you're not the right one to ask this (do you work for Aximmetry?) but is this a bug? DE is supposed to support raytracing, right?

Thanks,


N

 
Profile Image
Aximmetry
  -  

Hi hardworkparty,

It's not a bug. Unfortunately DX12 is required for raytracing, but Aximmetry DE does not support DX12 yet. We plan to add it, but not in the near future.