Commit Graph

150 Commits

Author SHA1 Message Date
mark lintott
e2d74ce99d Fixed unacceptable words in Stats and Profiling system
#jira UE-158612, UE-158573, UE-158613
#rb pj.kack
#preflight 62f3b39cf75a2a539c84166f

[CL 21317572 by mark lintott in ue5-main branch]
2022-08-10 09:49:10 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
sebastien lussier
144973b335 UWorldPartitionBuilder - Improved fake engine tick
* Now ticking engine too instead of only graphics
* Unified commandlet engine ticking in new CommandletHelpers::TickEngine() function
#rb patrick.enfedaque

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 20575477 via CL 20575930 via CL 20576379
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20578615 by sebastien lussier in ue5-main branch]
2022-06-09 12:14:22 -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
john barrett
43c987cf04 Refactored log tracing and added ability to trigger console commands on certain logs.
Commandline example:
-LogCommand="ReadContentBlockPayload failed=obj list class=ShooterGameState"

Command example:
LogCommand Add ReadContentBlockPayload failed=obj list class=ShooterGameState

#rb none

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 20380021 via CL 20380287 via CL 20381970 via CL 20381985
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20385138 by john barrett in ue5-main branch]
2022-05-26 16:45:59 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
john barrett
47180fb543 Added '-LogDebug=MatchStr' commandline parameter and 'LogTrace AddDebug MatchStr' console command to NetcodeUnitTest, to trigger debugging on a particular log line pattern.
#rb none

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 20022654 via CL 20022657 via CL 20022680 via CL 20022687 via CL 20022699
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20023082 by john barrett in ue5-main branch]
2022-05-03 06:20:54 -04:00
john barrett
402ab1ad9b NetcodeUnitTest updates/fixups.
#JIRA UE-149491
#rb trivial

#ROBOMERGE-OWNER: john.barrett
#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 19830794 via CL 19831179 via CL 19832087 via CL 19835357 via CL 19837369
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840065 by john barrett in ue5-main branch]
2022-04-20 18:34:30 -04:00
marc audy
cff01aa9fa Added support for native FProperty setters and getters.
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.

#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147839 by marc audy in ue5-main branch]
2022-02-25 10:39:39 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
peter engstrom
732d30ce94 Large world coordinates support in quantized vector net serialization.
#jira UE-140188
#rb ryan.gerleve, john.barrett, andrew.davidson
#preflight 61f67b0ad36be16308c9c314

#ROBOMERGE-OWNER: peter.engstrom
#ROBOMERGE-AUTHOR: peter.engstrom
#ROBOMERGE-SOURCE: CL 18805993 in //UE5/Release-5.0/... via CL 18808256 via CL 18821781
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822145 by peter engstrom in ue5-main branch]
2022-02-02 02:20:40 -05:00
peter engstrom
b83a6c9f00 Fix compile errors in NetcodeUnitTest.
#rb john.barrett
#preflight 61f40d30801201ab388940f0

#ROBOMERGE-AUTHOR: peter.engstrom
#ROBOMERGE-SOURCE: CL 18771950 in //UE5/Release-5.0/... via CL 18771987 via CL 18772114
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18772132 by peter engstrom in ue5-main branch]
2022-01-28 11:09:17 -05:00
Patrick Boutot
fea53e161b Support for FField that does not have a CASTFLAG. Similar to UObject, if the FField does have a cast flag it will be used, else it will loop through all it parent classes.
#preflight 61a8cd719c77d610079ecfdc
#preflight 61ae1cd7832ebaf94893b911

[CL 18382183 by Patrick Boutot in ue5-main branch]
2021-12-06 10:05:36 -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
george rolfe
e597577034 StaticClassProvider & StaticStructProvider concepts, and replaced functionality in two dependent files
#jira UE-133246
#preflight 617be019c44dc5000165e827
#rb steve.robb

#ROBOMERGE-AUTHOR: george.rolfe
#ROBOMERGE-SOURCE: CL 17991327 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17991335 by george rolfe in ue5-release-engine-test branch]
2021-10-29 22:22:08 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -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
jackson frank
2746a1c899 Networking Insights Updates
Engine Frame number is recorded for each packet, and can be seen by hovering over a packet in the packet view of the network profiler of Insights.
Connection state is displayed for each packet in pop up view when the mouse is hovered over a packet in the packet view of the network profiler.
GameInstance names contain their name, role, and status as server or client.
Connection labels include the actor that owns the connection, if the connection is going to a client or server, and the remote address and port of the connection.

EConnectionState UNetConnection::State is deprecated (becoming private), instead use GetConnectionState and SetConnectionState to access State

CL 17071965, 17101672, 17102201, 17102631

#Jira UENET-1192
#rb Ryan.Gerleve, Mattias.Hornlund

#ROBOMERGE-SOURCE: CL 17234452 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17234454 by jackson frank in ue5-release-engine-test branch]
2021-08-19 11:11:57 -04:00
andriy tylychko
6bf3101dcd deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau


#ROBOMERGE-SOURCE: CL 17176325 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17176374 by andriy tylychko in ue5-release-engine-test branch]
2021-08-16 11:09:22 -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
Patrick Boutot
aeea5f0679 Slate: Convert SConcertScrollBox, SWrapBox, SBoxPanel, SWindow FSlot's to the FSlotArgument syntax.
#jira UE-114425
#preflight 60adb0b704188d000133d0b9

[CL 16466544 by Patrick Boutot in ue5-main branch]
2021-05-26 06:42:00 -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