Dynamic Screen Percentage with Temporal Upsample causes the game to crash

Hi all. I’m new here and working on an exiting gaming for PC and consoles.
We’ve got a strange problem in our project with dynamic screen percentage + Temporal Upsample. after digging the web for a solution for several days we wonder if anyone else had the same problem in the past and might know a solution.

Setting r.TemporalAA.Upsampling to 1 in the SwitchDeviceProfiles.ini causes the game to crash after the loading screen, before the first frame is rendered.
Enabling temporal upsampling via the console command in game results in the same problem.
We already tried setting all different quality settings to 3 but with no success.

The following message is given before RequestExit() is called: "“Failed to find shader type FTemporalAACS in Platform GLSL_SWITCH”
Note that anti-aliasing is set to TemporalAA.



[2021.01.11-21.20.36:000][420]r.TemporalAA.Upsampling = "1"
Assertion failed: Shader.IsValid() [File:Runtime\RenderCore\Public\GlobalShader.h] [Line: 159]
Failed to find shader type FTemporalAACS in Platform GLSL_SWITCH
[2021.01.11-21.20.36:000][422]Assertion failed: Shader.IsValid() [File:Runtime\RenderCore\Public\GlobalShader.h] [Line: 159]
Failed to find shader type FTemporalAACS in Platform GLSL_SWITCH
Abort: 'NN_ABORT' in RequestExit() at pid=165(b-Switch-DebugGame), tid=6926(RenderThread 3)
C:/UnrealEngine/UE4.25/Engine/Platforms/Switch/Source/Runtime/Core/Private/SwitchPlatformMisc.cpp(159)

Stack trace:
0x000000241A2E2D78 _ZN2nn4diag6detail9AbortImplEPKcS3_S3_i+0x28
0x000000240939416C _ZN5Trace20LZ4_slideInputBufferEPv+0x3F2C (too far)
0x000000240965F808 LZ4_saveDictHC+0x276558 (too far)
0x00000024095F2308 LZ4_saveDictHC+0x209058 (too far)
0x00000024095F21CC LZ4_saveDictHC+0x208F1C (too far)
0x000000240B16F1E8 LZ4_saveDictHC+0x1D85F38 (too far)
0x000000240B15DC60 LZ4_saveDictHC+0x1D749B0 (too far)
0x000000240B15E17C LZ4_saveDictHC+0x1D74ECC (too far)
0x000000240B0E43A4 LZ4_saveDictHC+0x1CFB0F4 (too far)
0x000000240AD40870 LZ4_saveDictHC+0x19575C0 (too far)
0x000000240B2E5E64 LZ4_saveDictHC+0x1EFCBB4 (too far)
0x000000240B2E80F8 LZ4_saveDictHC+0x1EFEE48 (too far)
0x00000024093D5BFC LZ4_decompress_safe_usingDict+0x1366C (too far)
0x00000024093D4200 LZ4_decompress_safe_usingDict+0x11C70 (too far)
0x000000240A6E1C28 LZ4_saveDictHC+0x12F8978 (too far)
0x000000240A721CAC LZ4_saveDictHC+0x13389FC (too far)
0x00000024093ADEE8 _ZN5Trace20LZ4_slideInputBufferEPv+0x1DCA8 (too far)
0x000000241A5C0FC8 (unknown)
0x000000241A5C75C4 (unknown)

Modules:
base size id name/path
0x0000002408200000 0x0000000000004000 f3a398f5ff5a4194abfe643501f2b9cf6f7ad340 nnrtld
0x0000002408204000 0x000000000B0E2000 2aa14a01413915f40ab47692105f85c6 C:\Repositories\Git_Repo_B\Binaries\Switch\b-Switch-DebugGame.nss
0x00000024132E6000 0x00000000006D5000 8d50aebce1b76e4b9f6726484385a64417d4bd0a multimedia
0x00000024139BB000 0x0000000005D09000 b840027a4a439448 E:	emp\Built\Int\rel-nda\hos-v10.3.0-nvn-fp2-a64\Shared\Graphics\Modules\GTI\Nvidia_gfx_debugger.nss
0x00000024196C4000 0x0000000000A56000 fc5f35f7071d08a6fe6992c04541d4901db6de5e llgd-target
0x000000241A11A000 0x000000000100B000 d4957a284793bca3cce05272e3c5d6e8a3b520e4 nnSdk

[Dump Error] Failed to read environment variable USERPROFILE.


2 Likes