Description

When opening a Level from the Content Browser, the world gets initialized twice. This initialization process can be quite long, especially for big world using world partition.

There doesn't seem to be any apparent reason this would be needed.

Looking into it, it seems the issue might come from ContentBrowserAssetDataCore.cpp within EditOrPreviewAssetFileItems(..) function which first load the asset and then ask the asset editor subsystem to open the asset's editor. Both those actions have a path into initializating the world:

Steps to Reproduce

Reproduction Steps:

  • Open Unreal Insight
  • Open Unreal Editor (-trace=default -statnamedevents)
  • Through the Content Browser open a Level by double clicking on it

Result:

  • Unreal Insight shows the UWorld being initialized twice in a row

Expected Result:

  • Opening a Level should only initialize the UWorld once

 

 

Have Comments or More Details?

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

1
Login to Vote

Unresolved
ComponentUE - World Creation - Worldbuilding Tools
Affects Versions5.4
Target Fix5.6
CreatedOct 10, 2024
UpdatedDec 2, 2024
View Jira Issue