Error packaging project

LogObj: Error: LoadConfig (/Script/IOSRuntimeSettings.Default__IOSRuntimeSettings): import failed for MinimumiOSVersion in: IOS_11
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Handled ensure: ===
PackagingResults: Error: Ensure condition failed: InParent != this [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1868]
PackagingResults: Error: Cannot attach a component to itself.
PackagingResults: Error: Stack:
PackagingResults: Error: [Callstack] 0x00007ff85b3265e8 UnrealEditor-Engine.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff8a7025227 UnrealEditor-LevelSequence.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff861744723 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff86175dbe3 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff86174442c UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff861908b91 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff8618f27e2 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff86191d4ec UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff86191b918 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff86191beb6 UnrealEditor-CoreUObject.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857d42b24 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857d42d6c UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857d55902 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857d819c3 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857d80f57 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857a6fe50 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857a2f323 UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff857a4dc6f UnrealEditor-UnrealEd.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f58a733f UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f589cfb6 UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f589d37a UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f58a0854 UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f58b6984 UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff6f58b8eb6 UnrealEditor-Cmd.exe!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff8df4a7344 KERNEL32.DLL!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ff8e02626b1 ntdll.dll!UnknownFunction
PackagingResults: Error: end: stack for UAT

I got this error while packaging project but i don’t know exactly where is that error. Could someone help me please. I’m using UE 5.3, my spec: (i9 13900 + RTX 4090 + 64GB RAM DDR5 + SSD ).
Thanks a lot.

try to change the value of MinimumIOSVersion from 11 to whatever current version from defaultEngine.ini in project/config file.


I tried to change value to 10 (failed) and 9 (still failed) :frowning: .

1 Like

I actually think this is the source of the issue.

Do you get any errors or warnings when you compile the game in PLAY MODE?

(NOTE: You may NOT get any warnings/errors in EVENTBEGINPLAY because disassociated assets may be called later in gameplay.)

The subsequent error flood seems to indicate an object not where it should be.

As you can see in this video, there are no warnings. All the blueprints work perfectly.

1 Like

Have you played through the entire project?

I’m looking at line 4 and it says “Ensure Condition failed…” → “\Components\SceneComponent…”

This is your issue.

It’s not the IOS, because it would have aborted right away.

The error stack is because of this component. You need to identify it.

(Also, you should package your game virtually every day, because figuring out what is wrong weeks or months in can be devastating.)

I deleted blueprint and packaging one by one but still failed, then I deleted all blueprints, only level map, static meshes and other assets without blueprint and I got the same error. I thought it was an engine configuration error.

PackagingResults: Error: Ensure condition failed: InParent != this [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1868]
PackagingResults: Error: Cannot attach a component to itself.

This line always appears with every package time

1 Like

Got it.

Can you package a NEW and completely empty project?

I’m about to suggest that you migrate your current project into a fresh project because methinks a reference is broken, but before you do, let’s rule out an Engine bug.

(And please tell me you backed up your original project.)

1 Like

I lost a whole day to remove all unused resources. The engine still works fine. There is a problem in my project. I tried to create a new one, everything works (with available engine content). And this error after i deleted everything unused and try again.

try with number greater than 11, like 15.

i checked in project settings, min 15 and max 17, i tried, nothing change bro.

THANKS ALL YOU GUYS FOR HELPING ME. I F*CKING DID IT.
Here is what i did:

  • Deleted BP_ in assets folder
  • Check all the BP compiled or not yet
  • After a hundred package, finally, it works
    Respect all of you, from Vietnam with luv <3
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.