Commit Graph

275 Commits

Author SHA1 Message Date
tuo chen
1a5b186cb9 Fix for missing MobileStarterContent.upack but the import checkbox is enabled, resulting import error
#rb wei.liu
#jira none
#preflight skip

[CL 20590332 by tuo chen in ue5-main branch]
2022-06-10 02:12:12 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
Matt Kuhlenschmidt
36cc361039 Prevent starter content from overriding default maps with table and chairs map. We no longer want that to be the default if you include starter content in a new project
#jira UE-148389
#preflight none

[CL 20105621 by Matt Kuhlenschmidt in ue5-main branch]
2022-05-09 13:25:14 -04:00
Jon Nabozny
30f88d3533 Fix config warnings when loading templates.
#jira None
#preflight 62437590f4217035fa7239e2

[CL 19744414 by Jon Nabozny in ue5-main branch]
2022-04-13 15:32:48 -04:00
ryan schmidt
70cf2f8b24 Editor: explicitly enable Modeling Mode in code-generated blank template projects.
#rb matt.kuhlenschmidt
#jira UE-144458
#preflight 621f90c8901d830f36554c56
#rnx


#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 19223595 via CL 19223725 via CL 19223758 via CL 19223785 via CL 19226187
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19230202 by ryan schmidt in ue5-main branch]
2022-03-02 16:50:31 -05:00
aaron mcleran
158c3a5b16 Removing restricted platform names from file
#rb Maxwell.Hayes
#jira UE-130476
#preflight 6216c015a45a91013f430d08


#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19106676 via CL 19107096 via CL 19107208 via CL 19107219 via CL 19110186
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19151559 by aaron mcleran in ue5-main branch]
2022-02-25 13:27:37 -05:00
kenzo terelst
294ee71d37 New projects always have DX12 by default on Windows
#jira UE-143062
#rb Mihnea.Balta
#preflight 620e3a65fe76023596bed597

#ROBOMERGE-AUTHOR: kenzo.terelst
#ROBOMERGE-SOURCE: CL 19074102 in //UE5/Release-5.0/... via CL 19090522
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19134975 by kenzo terelst in ue5-main branch]
2022-02-24 20:00:22 -05:00
ben marsh
8b7d41a8ef Fix replacement strings in templates being garbled if the project name contains the template name.
#jira UE-132388
#preflight none

#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18586773 in //UE5/Release-5.0/... via CL 18586792 via CL 18586821
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18586841 by ben marsh in ue5-main branch]
2022-01-12 13:14:25 -05:00
tim smith
c440be643c Live coding now handles adding a feature pack as long as the project already contained source files. Otherwise it requests that the game be built from the IDE. Will also request that the game be built from the IDE when adding a class to a blueprint only project.
#rb none
#rnx
#jira UE-130744 UE-134701

#ushell-cherrypick of 18406025 by Tim.Smith
#preflight 61b0d7367177ccd1a130be05

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 18407173 in //UE5/Release-5.0/... via CL 18407182
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18407194 by tim smith in ue5-release-engine-test branch]
2021-12-08 11:50:54 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
patrick enfedaque
f004747118 World Partition: Replace conversion prompt with Tools > [World Partition] Convert Map...
#rb richard.malo
#preflight 6154adec4cfdcf00019924d9

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 17676613 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17676630 by patrick enfedaque in ue5-release-engine-test branch]
2021-09-30 08:27:21 -04:00
patrick enfedaque
209be396b4 World Partition:
- New Level Dialog: Empty Open World Template
- Remove IsWorldPartitionEnabled project setting

#rb jeanfrancois.dube, richard.malo
#preflight 615477fc03f3320001fefe99

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 17663222 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17663241 by patrick enfedaque in ue5-release-engine-test branch]
2021-09-29 12:29:37 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
rolando caloca
f6cd88c157 UE5 - Remove platform
#rb Steve.Smith
[FYI] Jules.Blok, Ryan.Durand, Ben.Marsh

#ROBOMERGE-SOURCE: CL 17295935 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17295945 by rolando caloca in ue5-release-engine-test branch]
2021-08-24 19:28:38 -04:00
tim smith
65894144c8 Removed "Fail If Generated Code Changes" requirement for this case. Adding new types will cause the project generated file to change thus triggering the failure.
#rb trivial
#rnx
#jira UE-105197

#ROBOMERGE-SOURCE: CL 16955125 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16955131 by tim smith in ue5-release-engine-test branch]
2021-07-26 08:20:19 -04:00
vincent beauchemin
1756042148 Fix missing ' for WorldPartitionConvertCommandlet isn't set as the default Commandlet Class in newly-created projects
#rb jeanfrancois.dube
[FYI] tim.gautier
#jira UE-116640

#ROBOMERGE-SOURCE: CL 16873616 via CL 16873636
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16873646 by vincent beauchemin in ue5-release-engine-test branch]
2021-07-16 13:45:17 -04:00
daren cheng
f9cbf67a7e Don't copy over saved config folder when copying projects.
#jira UE-117726
#rb Ben.Marsh Christina.TempelaarL

#ROBOMERGE-SOURCE: CL 16745699 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16745751 by daren cheng in ue5-release-engine-test branch]
2021-06-22 13:47:40 -04:00
tim smith
b294a27c29 Add the ability to enable re-instancing via project settings. Old setting still supported.
Add the ability to enable auto compile when adding new C++ classes.
Fixed user feedback issues when adding new C++ classes.

#rb joe.kirchoff
#rnx
#jira UE-116958
#preflight 60cb2e884ce02c0001d278c1

#ROBOMERGE-SOURCE: CL 16703582 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16703591 by tim smith in ue5-release-engine-test branch]
2021-06-17 08:47:50 -04:00
david harvey
530ff2d183 remove reference to deleted platform.
#rnx
#jira none
#rb eric.mcdaniel

#ROBOMERGE-SOURCE: CL 16685098 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16685099 by david harvey in ue5-release-engine-test branch]
2021-06-16 04:26:29 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
JeanFrancois Dube
3c3e3eed8d Disable World Partition by default for new projects.
#rb patrick.enfedaque

[CL 16209527 by JeanFrancois Dube in ue5-main branch]
2021-05-05 13:10:19 -04:00
Chris Varnsverry
2ae64cad99 - Remove CoreOnline ini config from project generation
- All shared ptr/ref are being changed to default ESPMode::ThreadSafe and ESPMode::Fast is being deprecated, so this migration path is not needed.

#jira FORT-342384

[CL 16090866 by Chris Varnsverry in ue5-main branch]
2021-04-22 05:26:25 -04:00
andrew lauritzen
2b2b3adc5f Add a shadow depth VS permutation for non-nanite vsm to avoid the need for a read-only project setting
PS already has a permutation (bAtomicWrites) so this primarily affects offline compilation
Leaving the function of NonNaniteVSM the same for now to minimize the surface area of the change, but the shader and other logic can be simplified in the future
NonNaniteVSM can become a dynamic debug cvar in the future once we are happy this is working

#jira UETOP-1088
#lockdown graham.wihlidal
#rb ola.olsson, krzysztof.narkowicz
[FYI] nick.whiting

#ROBOMERGE-SOURCE: CL 16057407 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16061153 by andrew lauritzen in ue5-main branch]
2021-04-20 10:31:17 -04:00
Chris Varnsverry
16230185c0 - Merge CL's 15977926, 15978323, 15978393, 15978401 and 15981176 from //UE5/RES to //UE5/Main
- Moves CoreOnline headers into their own module

#jira UE-113427
#fyi Matt.Peters
#tests built EdTest, QAGame, and one internal project in DevEd Win64

[CL 16036320 by Chris Varnsverry in ue5-main branch]
2021-04-16 13:16:39 -04:00