When I try to modify a Blueprint structure, the Editor crashed and show the following report:
Assertion failed: ((UObject*)ContainerPtr)->IsA(GetOwner()) [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 714]
‘Default__REINST_SKEL_BP_A_C_1377’ is of class ‘REINST_SKEL_BP_A_C_1377’ however property ‘COP_XXX’ belongs to class ‘SKEL_B_C’
The problem paused my work.
How can I fix this problem?
Tnks!
can you share more of the log or stack?
what’s the context of that issue?
Thank you for your answer!
The context:
<?xml version="1.0" encoding="UTF-8"?>
<FGenericCrashContext>
<RuntimeProperties>
<CrashVersion>3</CrashVersion>
<ExecutionGuid></ExecutionGuid>
<CrashGUID>UECC-Windows</CrashGUID>
<IsEnsure>false</IsEnsure>
<IsStall>false</IsStall>
<IsAssert>true</IsAssert>
<CrashType>Assert</CrashType>
<ErrorMessage>Assertion failed: ((UObject*)ContainerPtr)->IsA(GetOwner<UClass>()) [File:F:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 714]
'Default__REINST_SKEL_BP_Grandchild_C_5835' is of class 'REINST_SKEL_BP_Grandchild_C_5835' however property 'Sphere' belongs to class 'SKEL_BP_Parent_C'
</ErrorMessage>
<CrashReporterMessage />
<CrashReporterMessage>Attended</CrashReporterMessage>
<ProcessId></ProcessId>
<SecondsSinceStart>13072</SecondsSinceStart>
<IsInternalBuild>false</IsInternalBuild>
<IsPerforceBuild>false</IsPerforceBuild>
<IsWithDebugInfo>true</IsWithDebugInfo>
<IsSourceDistribution>false</IsSourceDistribution>
<GameName>UE-Test</GameName>
<ExecutableName>UnrealEditor</ExecutableName>
<BuildConfiguration>Development</BuildConfiguration>
<GameSessionID />
<PlatformName>WindowsEditor</PlatformName>
<PlatformFullName>Win64 [Windows 10] 64b]</PlatformFullName>
<PlatformNameIni>Windows</PlatformNameIni>
<EngineMode>Editor</EngineMode>
<EngineModeEx>Dirty</EngineModeEx>
<DeploymentName />
<EngineVersion>5.5.4-40574608+++UE5+Release-5.5</EngineVersion>
<EngineCompatibleVersion>5.5.4-40574608+++UE5+Release-5.5</EngineCompatibleVersion>
<CommandLine>F:\Workspace\Test\Test.uproject</CommandLine>
<LanguageLCID>9</LanguageLCID>
<AppDefaultLocale>zh-CN</AppDefaultLocale>
<BuildVersion>++UE5+Release-5.5-CL-40574608</BuildVersion>
<Symbols>**UE5*Release-5.5-CL-40574608-Win64-Development</Symbols>
<IsUERelease>true</IsUERelease>
<IsRequestingExit>false</IsRequestingExit>
<UserName />
<BaseDir>F:/Program/Epic Games/UE_5.5/Engine/Binaries/Win64/</BaseDir>
<RootDir>F:/Program/Epic Games/UE_5.5/</RootDir>
<MachineId></MachineId>
<LoginId></LoginId>
<EpicAccountId />
<SourceContext />
<UserDescription />
<UserActivityHint>Layout="UserDefinedStruct_MemberVariablesEditor" Label="Structu</UserActivityHint>
<CrashDumpMode>0</CrashDumpMode>
<GameStateName />
<Misc.NumberOfCores>6</Misc.NumberOfCores>
<Misc.NumberOfCoresIncludingHyperthreads>12</Misc.NumberOfCoresIncludingHyperthreads>
<Misc.Is64bitOperatingSystem>1</Misc.Is64bitOperatingSystem>
<Misc.CPUVendor>GenuineIntel</Misc.CPUVendor>
<CallStack>UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_StructUtilsEditor
UnrealEditor_StructUtilsEditor
UnrealEditor_UnrealEd
UnrealEditor_KismetCompiler
UnrealEditor_KismetCompiler
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Kismet
UnrealEditor_Kismet
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll</CallStack>
<PCallStack>
UnrealEditor-CoreUObject 0x00007fff62df0000 + 444af0
UnrealEditor-CoreUObject 0x00007fff62df0000 + 479b55
UnrealEditor-Engine 0x00007fff52f40000 + 5d4cff
UnrealEditor-CoreUObject 0x00007fff62df0000 + 65674c
UnrealEditor-CoreUObject 0x00007fff62df0000 + 61cbd8
UnrealEditor-CoreUObject 0x00007fff62df0000 + 243709
UnrealEditor-CoreUObject 0x00007fff62df0000 + 260273
UnrealEditor-StructUtilsEditor 0x000001c9b3a10000 + 37c85
UnrealEditor-StructUtilsEditor 0x000001c9b3a10000 + 32d36
UnrealEditor-UnrealEd 0x00007fff50580000 + e5c5bd
UnrealEditor-KismetCompiler 0x00007fff43170000 + 82837
UnrealEditor-KismetCompiler 0x00007fff43170000 + 291d
UnrealEditor-UnrealEd 0x00007fff50580000 + e610a9
UnrealEditor-UnrealEd 0x00007fff50580000 + e561a7
UnrealEditor-Kismet 0x00007fff4e670000 + 889c58
UnrealEditor-Kismet 0x00007fff4e670000 + 8583da
UnrealEditor-Slate 0x00007fff62780000 + 28145c
UnrealEditor-Slate 0x00007fff62780000 + 29f332
UnrealEditor-Slate 0x00007fff62780000 + 2a7eb
UnrealEditor-Slate 0x00007fff62780000 + 154a4
UnrealEditor-Slate 0x00007fff62780000 + 6f23f
UnrealEditor-Slate 0x00007fff62780000 + 5d5c6
UnrealEditor-Slate 0x00007fff62780000 + 51f9c
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 3aaf0
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 25786
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 3d85e
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 205b7
USER32 0x00007fffd7750000 + ef5c
USER32 0x00007fffd7750000 + e684
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 5bb26
UnrealEditor 0x00007ff7e8310000 + 632d
UnrealEditor 0x00007ff7e8310000 + 257ac
UnrealEditor 0x00007ff7e8310000 + 2589a
UnrealEditor 0x00007ff7e8310000 + 29114
UnrealEditor 0x00007ff7e8310000 + 3bd04
UnrealEditor 0x00007ff7e8310000 + 3f0ba
KERNEL32 0x00007fffd7680000 + 17374
ntdll 0x00007fffd84d0000 + 4cc91
</PCallStack>
<PCallStackHash></PCallStackHash>
<Threads>
<Thread>
<CallStack>KERNELBASE 0x00007fffd60c0000 + 3b699
UnrealEditor-Core 0x00007fff638f0000 + 6b1592
UnrealEditor-Core 0x00007fff638f0000 + 6b4cc0
UnrealEditor-Core 0x00007fff638f0000 + 4fa99f
UnrealEditor-Core 0x00007fff638f0000 + 418f37
UnrealEditor-Core 0x00007fff638f0000 + 41c7ac
UnrealEditor-CoreUObject 0x00007fff62df0000 + 444af0
UnrealEditor-CoreUObject 0x00007fff62df0000 + 479b55
UnrealEditor-Engine 0x00007fff52f40000 + 5d4cff
UnrealEditor-CoreUObject 0x00007fff62df0000 + 65674c
UnrealEditor-CoreUObject 0x00007fff62df0000 + 61cbd8
UnrealEditor-CoreUObject 0x00007fff62df0000 + 243709
UnrealEditor-CoreUObject 0x00007fff62df0000 + 260273
UnrealEditor-StructUtilsEditor 0x000001c9b3a10000 + 37c85
UnrealEditor-StructUtilsEditor 0x000001c9b3a10000 + 32d36
UnrealEditor-UnrealEd 0x00007fff50580000 + e5c5bd
UnrealEditor-KismetCompiler 0x00007fff43170000 + 82837
UnrealEditor-KismetCompiler 0x00007fff43170000 + 291d
UnrealEditor-UnrealEd 0x00007fff50580000 + e610a9
UnrealEditor-UnrealEd 0x00007fff50580000 + e561a7
UnrealEditor-Kismet 0x00007fff4e670000 + 889c58
UnrealEditor-Kismet 0x00007fff4e670000 + 8583da
UnrealEditor-Slate 0x00007fff62780000 + 28145c
UnrealEditor-Slate 0x00007fff62780000 + 29f332
UnrealEditor-Slate 0x00007fff62780000 + 2a7eb
UnrealEditor-Slate 0x00007fff62780000 + 154a4
UnrealEditor-Slate 0x00007fff62780000 + 6f23f
UnrealEditor-Slate 0x00007fff62780000 + 5d5c6
UnrealEditor-Slate 0x00007fff62780000 + 51f9c
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 3aaf0
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 25786
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 3d85e
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 205b7
USER32 0x00007fffd7750000 + ef5c
USER32 0x00007fffd7750000 + e684
UnrealEditor-ApplicationCore 0x00007fffa6e80000 + 5bb26
UnrealEditor 0x00007ff7e8310000 + 632d
UnrealEditor 0x00007ff7e8310000 + 257ac
UnrealEditor 0x00007ff7e8310000 + 2589a
UnrealEditor 0x00007ff7e8310000 + 29114
UnrealEditor 0x00007ff7e8310000 + 3bd04
UnrealEditor 0x00007ff7e8310000 + 3f0ba
KERNEL32 0x00007fffd7680000 + 17374
ntdll 0x00007fffd84d0000 + 4cc91
</CallStack>
<IsCrashed>true</IsCrashed>
<Registers />
<ThreadID></ThreadID>
<ThreadName>GameThread</ThreadName>
</Thread>
<Thread>
<CallStack>ntdll 0x00007fffd84d0000 + 9d814
KERNELBASE 0x00007fffd60c0000 + 76eb3
KERNEL32 0x00007fffd7680000 + 1d3bc
UnrealEditor-Core 0x00007fff638f0000 + 6b1e83
UnrealEditor-Core 0x00007fff638f0000 + 6a42a4
UnrealEditor-Core 0x00007fff638f0000 + 6b3fd9
KERNEL32 0x00007fffd7680000 + 17374
ntdll 0x00007fffd84d0000 + 4cc91
</CallStack>
I upgrade my project from UE5.4 to UE5.5 then it crashed. It’s fine in UE5.4.
The Grandchild_C can be anyone which has a reference of the structure. It changes sometimes.
ahh that might be an issue.
i think that when you did the upgrade you might have messed up with the namespace of the project, breaking the class information.
so now your bp can’t find the parent, or it gets confused.
i assume you stil have a copy of the 5.4 version (and you always should if you want to avoid problems).
try making the port again.
but start by copying the whole project to a new folder manually, then open with the new engine, and when asked click “more options” then “convert in place”.
or you can try by
close everything
then delete intermediate, binaries and saved.
opening the .uproject and change the version to 5.5.
then right click the uproject and choose “regenerate project files” or smth.
Thank you very much!
My project is BP project.I’m trying to download VS2022 and Regenerate it!
By the way, Is there a way to convert C++ Back to BP?
I regenerate the project files,but the bug still occurred.
There’re many works in UE5.5 version of my project, is there a good way to keep them?
i’m not sure. you could remove the source folder, but you need to make sure everything is in bp before that.
make a backup.
always use some sort of repo or backup. otherwise you’ll lose data constantly. regardless of the engine.
Thank you !
sorry can’t load forum yesterday
I try to convert UE54 to UE55 again in place, the bug still occured. Seems it’s a bug of UE55.
I find a dirty way to change the structure :
create a new project and copy the content folder then edit the structure before linkers generated. then paste back the new structure to original project.
I don’t know is it safe.
Is the LINKER in an uasset?
i have no idea what you mean by linker.
there’s something odd with your project.
maybe the base class is not being compiled properly.
you should also take a look at “core redirectors” they could help.
Thanks!!
Linker is reference.
The problem seems hard to solve.
I’ve reported it to epic, but no answers til now.
seems weird. have you tried the core redirectors?
good luck.
It seems I haven’t changed the name of my class.
If use core redirectors, how to define the oldname and newname of grandchild BP and Component?
And I reupgrade 54 to 55 and keep the config files as 54’s original settings in case of losing the core redirectors.
but the bug’s still there
like this
should be:
+ClassRedirects=(OldName=“BP_Grandchild.Sphere”,NewName=“BP_Grandchild.Sphere”)
?
id go with
REINST_SKEL_BP_A_C_1377 to SKEL_B_C
though the actual name will be different. i don’t know exactly what.
1377 would change each time.
Should be
oldname=REINST_SKEL_BP_A_C,newname = SKEL_B_C ?