Download

Fatal error: Serial size mismat

I’m working on a USceneComponent for use in some blueprint classes. I originally had it based on UStaticMeshComponent. I decided to switch it to UBoxComponent instead and made the necessary changes to the code. After recompiling I get an error every time I load the game.

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 3034]
UIElementButton //Game//Blueprints//UI//GameHUD3D.GameHUD3D_C:UIElementButton_0: Serial size mismat

KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FMsg::Logf__VA() + 463 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:531]
UE4Editor_CoreUObject!ULinkerLoad::Preload() + 4333 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3034]
UE4Editor_CoreUObject!ULinkerLoad::CreateExportAndPreload() + 141 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2526]
UE4Editor_CoreUObject!ULinkerLoad::LoadAllObjects() + 603 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2628]
UE4Editor_CoreUObject!LoadPackageInternal() + 2025 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:894]
UE4Editor_CoreUObject!ULinkerLoad::VerifyImportInner() + 1195 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2213]
UE4Editor_CoreUObject!ULinkerLoad::VerifyImport() + 195 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1978]
UE4Editor_CoreUObject!ULinkerLoad::VerifyImportInner() + 2153 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2261]
UE4Editor_CoreUObject!ULinkerLoad::VerifyImport() + 195 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1978]
UE4Editor_CoreUObject!ULinkerLoad::CreateImport() + 1576 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3759]
UE4Editor_CoreUObject!ULinkerLoad::FinalizeBlueprint() + 294 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\blueprint\blueprintsupport.cpp:932]
UE4Editor_CoreUObject!ULinkerLoad::Preload() + 3737 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3019]

Anyone know what might be causing this?

Okay I finally found a way to fix it. I just had to had to go back to basing it on the static mesh component, delete the component from the actor and then change it back UBoxComponent.