Commit Graph

141 Commits

Author SHA1 Message Date
patrick enfedaque
7a4ea8efbf Level Instance: Fix failed check caused by uninitializing wrong world (in cases where World is duplicated when saved)
#rb jeanfrancois.dube
#rnx

[CL 27024703 by patrick enfedaque in ue5-main branch]
2023-08-11 06:26:06 -04:00
patrick enfedaque
39e35d8577 Actor Folders: Fix unloading of Level Instance(s) causing Folders to be created in the main world
#jira UE-189339
#rb richard.malo
#rnx

[CL 26255100 by patrick enfedaque in ue5-main branch]
2023-06-27 08:40:35 -04:00
joe pribele
17a9c2dc99 deprecated Engine::FindAndPrintStaleReferencesToObject as it was moved FReferenceChainSearch
https://p4-swarm.epicgames.net/reviews/25629892

#rb robert.millar
#preflight 646ff13227390642750296ec

[CL 25646604 by joe pribele in ue5-main branch]
2023-05-26 12:38:28 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
patrick enfedaque
3099fd00f7 Fix bad Unsaved Asset count when Editing level instances:
- UEditorLevelUtils::PrivateRemoveLevelFromWorld: Avoid Modify being called on actor components and dirtying packages on remove world

#rb richard.malo, jeanfrancois.dube
#preflight 645a79ef013f3751586b155b
#rnx

[CL 25395014 by patrick enfedaque in ue5-main branch]
2023-05-09 16:27:53 -04:00
jeanfrancois dube
758d3037a5 Another fix for assert in UEditorLevelUtils::CopyOrMoveActorsToLevel when cancelling the task.
#rb none
[FYI] derek.truong
#preflight none

[CL 25387402 by jeanfrancois dube in ue5-main branch]
2023-05-09 10:07:10 -04:00
jeanfrancois dube
e6bee7e46d Fix assert in UEditorLevelUtils::CopyOrMoveActorsToLevel when cancelling the task.
#rb patrick.enfedaque
#preflight none

[CL 25302645 by jeanfrancois dube in ue5-main branch]
2023-05-02 11:47:16 -04:00
patrick enfedaque
53d4aacdea Level Instance: Fix undo/redo of Level Instance loading since CL 24360365 introduced trans buffer reset to UnloadPackage
- Keep the reset by default
- Override with value in EditorLevelUtils.

#rb dave.belanger
#preflight 64393669930b3b84927c6423
#rnx

[CL 25039404 by patrick enfedaque in ue5-main branch]
2023-04-14 09:27:36 -04:00
patrick enfedaque
7cfda97f01 Remove deprecated LevelPartition code (unrelated to WorldPartition)
#rb sebastien.lussier
#preflight 63e507983938a64e389c1ad9

[CL 24106079 by patrick enfedaque in ue5-main branch]
2023-02-09 16:15:41 -05:00
richard malo
0f9788db5f Fixed CIS static analysis
#rb trivial

[CL 23897645 by richard malo in ue5-main branch]
2023-01-27 23:12:31 -05:00
richard malo
e9709ec014 - WorldPartitionSubsystem is now created for inactive words.
- Fixed UEditorLevelUtils::CreateNewStreamingLevelForWorld to properly uninitialized newly created worlds prior to adding its level as a streaming level.
#rb patrick.enfedaque, jeanfrancois.dube
#preflight 63d157836a14d8406d6187e1

[CL 23888418 by richard malo in ue5-main branch]
2023-01-27 14:15:49 -05:00
sebastien lussier
b31d4cc6f5 UEditorLevelUtils::CopyActorsToLevel() wasn't fowarding the OutActors array to the internal call to UEditorLevelUtils::CopyOrMoveActorsToLevel()
#rb jeanfrancois.dube

[CL 23531402 by sebastien lussier in ue5-main branch]
2022-12-15 15:57:21 -05:00
dave jones2
8eeb8bfe5f UE-160860 - Fix UnrealEd Module truncation warnings
Part 3 of N

#jira UE-160860
#preflight 6348a349204d7f312b70632c
#rb andrew.davidson

[CL 22602879 by dave jones2 in ue5-main branch]
2022-10-18 12:28:35 -04:00
patrick enfedaque
c0b20b97e6 UEngine::FindAndPrintStaleReferencesToObject : Fix EPrintStaleReferencesOptions::Log being considered as EPrintStaleReferencesOptions::Fatal because of bad condition
#jira UE-165905
#rb richard.malo, jeanfrancois.dube, rob.millar
#rnx
#preflight skip

[CL 22340034 by patrick enfedaque in ue5-main branch]
2022-10-04 18:10:47 -04:00
patrick enfedaque
1f23f658e8 LevelInstance: Fix Break operation losing SoftObjectPaths
- Use CopyPasteId + ActorSourceName to find Source Actors this allows filling ExistingToNewMap which is used to remap properties

#jira UE-162360
#rb richard.malo
#preflight 6310a74498103d4521eba185

[CL 21742990 by patrick enfedaque in ue5-main branch]
2022-09-01 12:39:47 -04:00
jamie dale
cd2c04fbed Adding additional includes in preparation for removing a global include
#preflight skip
#rb none
#rnx

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21283042 via CL 21286016 via CL 21286060 via CL 21286134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21291490 by jamie dale in ue5-main branch]
2022-08-09 12:54:53 -04:00
patrick enfedaque
cd2140849e UEditorLevelUtils::CreateNewStreamingLevelForWorld: Activate default mode when level is created (to avoid leaving no modes active)
#rb jeanfrancois.dube
#preflight skip

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20279217 via CL 20280744 via CL 20280779 via CL 20280795
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20285405 by patrick enfedaque in ue5-main branch]
2022-05-19 15:29:48 -04:00
patrick enfedaque
5ad98ec10f LevelInstance: Edit on null WorldAsset will create a new level
#rb jeanfrancois.dube
#preflight 626aa640b17dd9121b3ba8c6

#ROBOMERGE-OWNER: patrick.enfedaque
#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20039809 via CL 20040120 via CL 20040124
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20040592 by patrick enfedaque in ue5-main branch]
2022-05-04 08:58:05 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
Cody Albert
2845989174 Fixed issue where CreateNewStreamingLevel scripting function would ignore NewLevelPath argument
#rb Jason.Walter
#preflight 62685beb2f53f9169a8600cb

[CL 19928932 by Cody Albert in ue5-main branch]
2022-04-26 17:10:49 -04:00
patrick enfedaque
cbf4ed5caf UEditorLevelUtils::PrivateRemoveLevelFromWorld: Clean up LevelCollection ref to ULevel.
This was causing a forced Garbage Collection when deleting/unloading a LevelInstance actor in projects with 'gc.PendingKillEnabled = false'

#jira UE-146309
#preflight 625ebfc5804460ab0f04b524
#rb jeanfrancois.dube

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 19809556 in //UE5/Release-5.0/... via CL 19814825
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19816481 by patrick enfedaque in ue5-main branch]
2022-04-19 16:24:17 -04:00
emil kirichev
309ebb1df4 //UE5/Main - Run Enterprise UnrealEditor Python Tests - Crash on commit of dataprep graph
#jira UE-148279
#rb JeanLuc.Corenthin
#preflight none

[CL 19753911 by emil kirichev in ue5-main branch]
2022-04-14 08:18:51 -04:00
richard malo
c4ed1fac4d Level Instance now support Partitioned worlds with disabled streaming.
Newly created Level Instances setups the worlds to be partitioned with disabled streaming.
This is in preparation of adding DataLayer support inside Level Instances.
#rb jeanfrancois.dube, patrick.enfedaque
#preflight 624739b2f73c316f680a8a0a

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 19606194 via CL 19606267 via CL 19606278
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19607375 by richard malo in ue5-main branch]
2022-04-04 08:20:34 -04:00
Robert Manuszewski
0806c88f60 Terminating PIE will no longer assert when PendingKill is disabled and level leaks are detected. Added an ensure when reporting level leaks through UEngine::FindAndPrintStaleReferencesToObject() with PendingKill disabled.
#preflight 62066f7754003c49ad37ea0a
#rb Markus.Breyer

[CL 18951753 by Robert Manuszewski in ue5-main branch]
2022-02-11 09:28:34 -05:00
robert manuszewski
e09ed3d15c Downgrading level leak asserts to errors when PendingKill is disabled
#preflight 61f8fb42a6632a34f36b27a6
#rb trivial

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 18806425 in //UE5/Release-5.0/... via CL 18808533 via CL 18821794
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822162 by robert manuszewski in ue5-main branch]
2022-02-02 02:21:50 -05:00