Description

Crashes when loading an actor that inherits from AInstancedPlacementPartitionActor.

There is a serialization size mismatch.

Steps to Reproduce

1. Create a new blueprint actor that inherits from AInstancedPlacementPartitionActor class.

2. Place the actors created in Step1 in the level.

3. Packaging project.

4. Launch package application.

Then, when lunch the game crash occur. (see the attached repro project)

 

Callstack
Message dialog closed, result: Ok, title: The UE5-Repro Game has crashed and will close, text: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading2.cpp] [Line: 3664] 
ObjectSerializationError: /Game/NewMap (0xAC7741F7C0F91B08) /Game/NewMap (0xAC7741F7C0F91B08) - BP_InstancedPlacementPartitionActor_C /Game/NewMap.NewMap:PersistentLevel.BP_InstancedPlacementPartitionActor_C_1: Serial size mismatch: Expected read size 58, Actual read size 54

LogThreadingWindows: Error: Runnable thread FAsyncLoadingThread crashed.
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading2.cpp] [Line: 3664] 
LogWindows: Error: ObjectSerializationError: /Game/NewMap (0xAC7741F7C0F91B08) /Game/NewMap (0xAC7741F7C0F91B08) - BP_InstancedPlacementPartitionActor_C /Game/NewMap.NewMap:PersistentLevel.BP_InstancedPlacementPartitionActor_C_1: Serial size mismatch: Expected read size 58, Actual read size 54
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff631f7144e UnrealGame.exe!FAsyncPackage2::Event_ProcessExportBundle() []
LogWindows: Error: [Callstack] 0x00007ff631f74c83 UnrealGame.exe!FEventLoadNode2::Execute() []
LogWindows: Error: [Callstack] 0x00007ff631f8e986 UnrealGame.exe!FAsyncLoadEventQueue2::PopAndExecute() []
LogWindows: Error: [Callstack] 0x00007ff631fadc44 UnrealGame.exe!FAsyncLoadingThread2::Run() []
LogWindows: Error: [Callstack] 0x00007ff631e89e4b UnrealGame.exe!FRunnableThreadWin::Run() []
LogWindows: Error: [Callstack] 0x00007ff631e82d50 UnrealGame.exe!FRunnableThreadWin::GuardedRun() []
LogWindows: Error: [Callstack] 0x00007ffd7b227034 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffd7c962651 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: Error: Crash in runnable thread FAsyncLoadingThread
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
LogCore: Engine exit requested (reason: Win RequestExit)
Log file closed, 05/17/22 19:36:47

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Editor - Framework
Affects Versions5.0
Target Fix5.0.3
Fix Commit20379491
Main Commit20382311
CreatedMay 17, 2022
ResolvedMay 26, 2022
UpdatedJun 1, 2022