Description

The hierarchy of a LevelInstance actors (Outliner) will break when cooking.

The source is the call to AActor::RerunConstructionScripts in FWorldPartitionLevelHelper::MoveExternalActorsToLevel. The construction script destroys the BPs component and recreates them. This is the Parent in the current scenario. The Child is referencing its Parent's RootComponent as its AttachParent. That reference becomes invalid because of the CS and the usual code that fixes those reference relies on the AttachChildren of the Parent. Filling the AttachChildren relies on the Actor\Component being Registered which does not happen when cooking. The invalid reference is discarded by the validation code at the end MoveExternalActorsToLevel.

Steps to Reproduce
  • Download the attached project from "Additional Info URL" in the Jira details (project from March 2026) - [Link Removed]
  • Cook for Windows
  • Run the package.
  • The green cube will be far from the grey cube instead of on top of it

Have Comments or More Details?

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

0
Login to Vote

Fixed
Fix Commit52954193
CreatedFeb 18, 2026
ResolvedApr 21, 2026
UpdatedMay 28, 2026
View Jira Issue