Ensure condition failed: InParent != this

Hi This kunal, i have a issue packaging final build in ue5.2. whenever i try to build i get this message Ensure condition failed: InParent != this. i have attached the log file. please help me identify the problem. thanks.

Log.txt (196.2 KB)

i got same question like you when build project ,
here is error report log

PackagingResults: Error: Ensure condition failed: InParent != this  [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1868]
[2024.10.28-06.23.41:344][618]PackagingResults: Error: Cannot attach a component to itself.
[2024.10.28-06.23.41:344][618]PackagingResults: Error: Stack:
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff8175065b8 UnrealEditor-Engine.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff831cf5227 UnrealEditor-LevelSequence.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff8272c4723 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff8272ddbe3 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff8272c442c UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff827488b91 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff8274727e2 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff82749d4ec UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff82749b918 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff82749beb6 UnrealEditor-CoreUObject.dll!UnknownFunction []
[2024.10.28-06.23.41:344][618]PackagingResults: Error: [Callstack] 0x00007ff813dd3924 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813dd3b6c UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813de6712 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813e12903 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813e11e97 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813affe50 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813abf323 UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff813addc6f UnrealEditor-UnrealEd.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461e733f UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461dcfb6 UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461dd37a UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461e0854 UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461f6984 UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff6461f8eb6 UnrealEditor-Cmd.exe!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff86d337034 KERNEL32.DLL!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: [Callstack] 0x00007ff86ecc2651 ntdll.dll!UnknownFunction []
[2024.10.28-06.23.41:345][618]PackagingResults: Error: end: stack for UAT