Description

When launching a packaged game that has Share Material Shader Code enabled, the process will crash before opening.

Regression?: Yes
This issue does not occur in 4.17.2-3658906+++UE4+Release-4.17
This issue does occur in 4.18.0-3709383+++UE4+Release-4.18

Steps to Reproduce
  1. Create a new project
  2. In Project Settings > Packaging > Packaging, enable Share Material Shader Code
  3. Package the project for Win64 Development
  4. Launch the packaged game
    Result: The process crashes
    Expected: The process launches correctly.
Callstack
[2017.10.27-14.17.50:563][  0]LogWindows: Error: Assertion failed: Offset + BytesToRead <= UncompressedFileSize && Offset >= 0 [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\PakFile\Private\IPlatformFilePak.cpp] [Line: 3070] 
[2017.10.27-14.17.50:563][  0]LogWindows: Error: 
[2017.10.27-14.17.50:563][  0]LogWindows: Error: 
[2017.10.27-14.17.50:563][  0]LogWindows: Error: 
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000FD63A06D KERNELBASE.dll!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000402162E0 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000003FB1B5CB UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000003FB55F78 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000004264126B UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000419CBD5A UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000419CEA2D UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000419CDCE2 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000419CE868 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000408F9525 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000408F8E4B UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x00000000408F86EB UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x0000000040899E66 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000003FAE0AED UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000003FAD990A UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:563][  0]LogWindows: Error: [Callstack] 0x000000003FAD9B7A UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:564][  0]LogWindows: Error: [Callstack] 0x000000003FAE6C68 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:564][  0]LogWindows: Error: [Callstack] 0x0000000043058407 UE4Game.exe!UnknownFunction []
[2017.10.27-14.17.50:564][  0]LogWindows: Error: [Callstack] 0x00000000776159CD kernel32.dll!UnknownFunction []
[2017.10.27-14.17.50:564][  0]LogWindows: Error: [Callstack] 0x000000007774A561 ntdll.dll!UnknownFunction []
[2017.10.27-14.17.50:564][  0]LogWindows: Error: [Callstack] 0x000000007774A561 ntdll.dll!UnknownFunction []

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.184.19
Target Fix4.18.14.19
Fix Commit3727958
Release Commit3727958
CreatedOct 27, 2017
ResolvedOct 31, 2017
UpdatedSep 30, 2021
Pull Requests
4447 - klorberg
View Jira Issue