Description

Packaged game crashes when launched with the -dx12 option and PixelStreaming is enabled.

Found in 4.22 CL# 5660361 and 4.23 CL# 5704223

Steps to Reproduce
  1. Open the Editor
  2. Enable the PixelStreaming plugin and Ray Tracing
  3. Restart the Editor
  4. Package the project for Windows 64
  5. Open the packaged project with -dx12

Results:
The following error will appear "Assertion failed: Result == NC_ENC_SUCCESS Unable to open NvEnc encoding session (status: 2)"

Expected:
No Crash would occur

Callstack
[2019.04.03-17.34.20:166][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2019.04.03-17.34.20:166][ 0]LogWindows: Error: === Critical error: ===
[2019.04.03-17.34.20:166][ 0]LogWindows: Error:
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 819]
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: Rendering thread exception:
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: Assertion failed: Result == NV_ENC_SUCCESS [File:D:\Build\++UE4\Sync\Engine\Plugins\Experimental\PixelStreaming\Source\PixelStreaming\Private\NvVideoEncoder.cpp] [Line: 200]
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: Unable to open NvEnc encoding session (status: 2)
[2019.04.03-17.34.20:167][ 0]LogWindows: Error:
[2019.04.03-17.34.20:167][ 0]LogWindows: Error:
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ffe0cbb5549 KERNELBASE.dll!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73b19ba77 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73b19e453 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73afca70a NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73af579b9 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73af57d49 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73e8ec48d NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73a922087 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73a92d3a5 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73a92361b NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:167][ 0]LogWindows: Error: [Callstack] 0x00007ff73a9337f4 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73a92ed06 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73c92cd97 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73c9336f1 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73adffcdd NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73adfff33 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73c67c584 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73c67f7cf NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73b1aec8f NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ff73b1aaa97 NotRT.exe!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ffe0ddc81f4 KERNEL32.DLL!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error: [Callstack] 0x00007ffe100fa251 ntdll.dll!UnknownFunction []
[2019.04.03-17.34.20:168][ 0]LogWindows: Error:
[2019.04.03-17.34.20:168][ 0]LogWindows: Error:
[2019.04.03-17.34.20:168][ 0]LogWindows: Error:
[2019.04.03-17.34.20:168][ 0]LogWindows: Error:
[2019.04.03-17.34.20:177][ 0]LogExit: Executing StaticShutdownAfterError
[2019.04.03-17.34.20:179][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2019.04.03-17.34.20:182][ 0]Log file closed, 04/03/19 13:34:20

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-72268 in the post.

1
Login to Vote

Fixed
ComponentPixelStreaming
Affects Versions4.224.23
Target Fix4.22
Fix Commit5741396
Main Commit5741403
CreatedApr 3, 2019
ResolvedApr 4, 2019
UpdatedApr 19, 2019