Hi,
What is the best way to pre-cache PSO’s? Interested in what best practice is.
We are getting a crash every so often, below.
Would adding all the be overkill or … ?
r.PSOPrecaching=1
r.PSOPrecache.Components=1
r.PSOPrecache.Resources=1
r.PSOPrecache.GlobalShaders=1
r.PSOPrecache.ProxyCreationWhenPSOReady=1
r.PSOPrecache.ProxyCreationDelayStrategy=1
Or will cause more hitching?
LogPSOHitching: Encountered 200 PSO creation hitches so far (35 graphics, 165 compute). 33 of them were precached.
LogWindows: Error: appError called: Assertion failed: !CheckCompilingPSOs(*FindResult, false ) [File:E:\PBP\P1\Engine\Source\Runtime\Engine\Private\PSOPrecacheMaterial.cpp] [Line: 581]
LogWindows: Windows GetLastError: The operation completed successfully. (0)
LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
LogMemory: Platform Memory Stats for WindowsClient
LogMemory: Process Physical Memory: 2639.27 MB used, 2642.26 MB peak
LogMemory: Process Virtual Memory: 5901.30 MB used, 5909.50 MB peak
LogMemory: Physical Memory: 70200.14 MB used, 60571.09 MB free, 130771.23 MB total
LogMemory: Virtual Memory: 107836.42 MB used, 416150.81 MB free, 523987.25 MB total
LogThreadingWindows: Error: Runnable thread Foreground Worker #0 crashed.
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: !CheckCompilingPSOs(*FindResult, false ) [File:E:\PBP\P1\Engine\Source\Runtime\Engine\Private\PSOPrecacheMaterial.cpp] [Line: 581]
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:
LogWindows: Error: Crash in runnable thread Foreground Worker #0
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1, FRunnableThreadWin::GuardedRun.ExceptionHandler)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, FRunnableThreadWin::GuardedRun.ExceptionHandler)
LogCore: Engine exit requested (reason: Win RequestExit)