Description

There is a crash occurring with a packaged game that has a Struct containing an Enum inside of it, as well as having the nativization on, the issue does not occur if Nativization is turned off. The user also disabled the Event driven loader. The issue is also occurring in a 4.15 version of the project, although with a slight difference. In the 4.15 build when the project window crashes, the crash reporter window appears to let the user know there has been a crash, but this window does not appear for the 4.16 build.

CL tested on
4.15.3 - 3450819
4.16.3 - 3466753

Regression:
This issue does not appear to be a regression at this time

Steps to Reproduce
  1. open test project provided
  2. Package the project for Windows 64
  3. Open the packaged project
  4. Press 1 or 2 in the Executable
    Result: The project crashes
    Expected Result: The project should not crash
Callstack
Fatal error: [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 2781] 
Missing import of (/Game/TESTLVL): MemberVar_0_1_891039E940E1711B742E4AA88ED3A7C5 in Package /Game/TestStruct was not found, but the package exists.


CrashReport!FDebug::AssertFailed()
CrashReport!FAsyncPackage::LinkImport()
CrashReport!FAsyncPackage::ProcessImportsAndExports_Event()
CrashReport!FAsyncPackage::Event_ProcessImportsAndExports()
CrashReport!FStringAssetReference::operator==()
CrashReport!FAsyncLoadEventQueue::PopAndExecute()
CrashReport!FAsyncLoadingThread::ProcessAsyncLoading()
CrashReport!FAsyncLoadingThread::TickAsyncThread()
CrashReport!FAsyncLoadingThread::TickAsyncLoading()
CrashReport!FlushAsyncLoading()
CrashReport!LoadPackageInternal()
CrashReport!UEngine::LoadMap()
CrashReport!UEngine::Browse()
CrashReport!UGameInstance::StartGameInstance()
CrashReport!FEngineLoop::Init()
CrashReport!GuardedMain()
CrashReport!GuardedMainWrapper()
CrashReport!WinMain()
CrashReport!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.15.34.16.1
Target Fix4.18
Fix Commit3553216
Main Commit3582334
Release Commit3643070
CreatedJun 20, 2017
ResolvedJul 25, 2017
UpdatedJul 16, 2018
View Jira Issue