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
?
Hey there, love the plugin. Trying to squeeze that 90 fps is a real pain tho. all the ticks used in the current setup make it extremely heavy. I tried to nativize the vr character blueprint but got error. any ideas?
Thanks again
UATHeler: Packaging (Windows (64-bit)): -\Unreal-\Plugins\VRExpansionPlugin\VRExpansionPlugin\Intermediate\Build\Win64\UE4\Inc\VRExpansionPlugin\VRBPDatatypes.generated.h(12): fatal error C1189: #error: “VRBPDatatypes.generated.h already included, missing ‘#pragma once’ in VRBPDatatypes.h”
UATHelper: Packaging (Windows (64-bit)): [6/19] Module.VRExpansionPlugin.gen.6_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [7/19] Module.VRExpansionPlugin.gen.4_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [8/19] Module.NativizedAssets.2_of_3.cpp
UATHelper: Packaging (Windows (64-bit)): -\Unreal\PILLAR-\VRExpansionPlugin\VRExpansionPlugin\Intermediate\Build\Win64\UE4\Inc\VRExpansionPlugin\VRBPDatatypes.generated.h(12): fatal error C1189: #error: “VRBPDatatypes.generated.h already included, missing ‘#pragma once’ in VRBPDatatypes.h”
UATHelper: Packaging (Windows (64-bit)): [9/19] Module.VRExpansionPlugin.gen.8_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [10/19] Module.VRExpansionPlugin.gen.9_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [11/19] Module.VRExpansionPlugin.gen.7_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [12/19] Module.VRExpansionPlugin.gen.2_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [13/19] Module.NativizedAssets.gen.1_of_2.cpp
UATHelper: Packaging (Windows (64-bit)): -\Unreal-\Plugins\VRExpansionPlugin\VRExpansionPlugin\Intermediate\Build\Win64\UE4\Inc\VRExpansionPlugin\VRBPDatatypes.generated.h(12): fatal error C1189: #error: “VRBPDatatypes.generated.h already included, missing ‘#pragma once’ in VRBPDatatypes.h”
UATHelper: Packaging (Windows (64-bit)): [14/19] Module.VRExpansionPlugin.gen.3_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [15/19] Module.VRExpansionPlugin.gen.1_of_9.cpp
UATHelper: Packaging (Windows (64-bit)): [16/19] Module.VRExpansionPlugin.cpp
UATHelper: Packaging (Windows (64-bit)): [17/19] Module.NativizedAssets.3_of_3.cpp
UATHelper: Packaging (Windows (64-bit)): [18/19] Module.NativizedAssets.1_of_3.cpp
UATHelper: Packaging (Windows (64-bit)): -\Unreal-\Plugins\VRExpansionPlugin\VRExpansionPlugin\Intermediate\Build\Win64\UE4\Inc\VRExpansionPlugin\VRBPDatatypes.generated.h(12): fatal error C1189: #error: “VRBPDatatypes.generated.h already included, missing ‘#pragma once’ in VRBPDatatypes.h”
UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: –\Unreal-\Binaries\Win64*.pdb
UATHelper: Packaging (Windows (64-bit)): (see C:-–\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT- *-Win64-Development_2.txt for full exception trace)
UATHelper: Packaging (Windows (64-bit)): Total build time: 232.79 seconds (Parallel executor: 0.00 seconds)
UATHelper: Packaging (Windows (64-bit)): Took 233.0981982s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users-–\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-PILLAR-Win64-Development_2.txt)
UATHelper: Packaging (Windows (64-bit)): (see C:\Users--\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\Log.txt for full exception trace)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error
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