VR Expansion Plugin

Can you works in VR with Forward Rendering without problems?

I can’t run any project with Forward Rendering enabled except VRExpansionPluginTemplate. In 4.19 run smooth. If i create a Blank project, enable Forward Rendering, save, close and reopen, when it open again, go to Project Settings and UE4 Crash… With Template all runs well.

Anyone can test ?

The error is:
Fatal error: [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 1803] Couldn’t find Shader TBasePassPSFCachedPointIndirectLightingPolicySkylight for Material Resource FloorPlaneMaterial

UE4 4.20.2


You are using the VR Expansion Plugin Template or in your game?

I recommend do a multiple things on VR. The DynamicShadows is a huge pain to VR. Set all illumination to Static, don’t use many Movable lights with shadows enabled, Merge Actors as you can, Proxy Meshes, HLOD and instance as you can, set Oclussion Culling and Precomputed Visibility. Raise up MemoryPool, by default is too low. Be careful with DrawCalls, not raise it above of 1000 or 1500 draw calls. Care with Postprocesing and Traslucent materials.

Create in the Config folder a DefaultScalability.ini with settings, raise up if you need it:

[TextureQuality@0]
r.Streaming.PoolSize=800
r.Streaming.MaxEffectiveScreenSize=1080

[TextureQuality@1]
r.MaxAnisotropy=4
r.Streaming.PoolSize=1200
r.Streaming.MaxEffectiveScreenSize=1080

[TextureQuality@2]
r.MaxAnisotropy=8
r.Streaming.PoolSize=2300
r.Streaming.MaxEffectiveScreenSize=1080

[TextureQuality@3]
r.Streaming.PoolSize=2800
r.Streaming.MaxEffectiveScreenSize=0

Look to get the best result in VR. https://forums.unrealengine.com/development-discussion/content-creation/112248-deconstructing-robo-recall