Commit Graph

11286 Commits

Author SHA1 Message Date
jordan hoffmann
155432a8ef [BugFix] Inconsistent behavior in root component transform scale values for dynamically-spawned Blueprint actor instances.
#jira UE-62747, UE-67537
#preflight 6361a0ac522c8f7ab3fb85c9

[CL 22894037 by jordan hoffmann in ue5-main branch]
2022-11-01 19:01:49 -04:00
mihnea balta
5d9583c49b Fix driver version checks not working for Nvidia GPUs.
The new driver detection method (using the setup API) did not set the UserDriverVersion in the same way as the other methods, so the function which extracted the number used for comparison didn't work correctly.

Also removed a bogus cvar from BaseEngine.ini while we're at it (r.DetectAndWarnOfBadDrivers has been removed from the code years ago).

#jira UE-168877
#rnx
#lockdown Michal.Valient
#preflight https://horde.devtools.epicgames.com/job/6361413fce68f7cbb68dd599
#rb Chris.Waters

[CL 22890134 by mihnea balta in ue5-main branch]
2022-11-01 16:01:40 -04:00
joe pribele
9c02a2df54 [Core] changed FCustomVersionContainer::ToString to use a string builder to be more efficient
#preflight 636170f70c2e7c8f9148eff3

[CL 22889943 by joe pribele in ue5-main branch]
2022-11-01 15:55:16 -04:00
henrik karlsson
4a36cfe8ff Moved operator== to be hidden friend instead of put directly in global namespace
Moved GetTypeHash function to be hidden friend instead of put directly in global namespace.

Note that the function/operator needs to be fully inlined in the type or placed in the cpp. If the function is added as friend but then implemented outside the type then hidden friend optimization won't work.

This should improve compile time somewhat according to msvc devs.

#rb Steve.Robb
#preflight 6360b7052b5338aceb26471b

[CL 22889837 by henrik karlsson in ue5-main branch]
2022-11-01 15:50:27 -04:00
Stephen Holmes
aa8997ef01 AI Truncation warning fixes.
This is the majority of the fixes however a few systems have been left for individual CLs.

#jira UE-166285
#preflight 63616567ce676ae868034ab0
#review-22869010

[CL 22889316 by Stephen Holmes in ue5-main branch]
2022-11-01 15:32:27 -04:00
henrik karlsson
280bd598af [Core]
* Moved IoChunkId to its own file

#preflight 6360c1c441625be270a84079
#rb none

[CL 22888769 by henrik karlsson in ue5-main branch]
2022-11-01 15:13:52 -04:00
steve robb
5bbc445002 Improved comments for unusual backwards-searching behavior in FString::Find.
#rb james.hopkin
#preflight none

[CL 22888649 by steve robb in ue5-main branch]
2022-11-01 15:09:46 -04:00
Charles deRousiers
a48a2610cb Change groom asset and groom binding asset to use the unified guid system.
#rb marc.audy
#jira none
#preflight 635fb0a21b41d36d481347c4

[CL 22878699 by Charles deRousiers in ue5-main branch]
2022-11-01 05:41:45 -04:00
alejandro aguilar
d63f911dca Added logic to avoid setting CacheDir parameter on EOSSDK platform creation if said cache is not mounted
#jira UE-164053
#review-22827957 @Sam.Zamani, @Joe.Graf, @Ryan.Hairyes, @Chris.Varnsverry, @Rafa.Lecina
#preflight 635f9ab63c0af539fddbd4a2

[CL 22857777 by alejandro aguilar in ue5-main branch]
2022-10-31 06:07:22 -04:00
Graeme Thornton
fb828e81a5 Fix for hololens compilation after backing out a big TSet/TMap change
#rb steve.robb
#preflight 635d185c3c0af539fd87d974

[CL 22851418 by Graeme Thornton in ue5-main branch]
2022-10-29 08:30:53 -04:00
henrik karlsson
27d174fc9f Fixes to make code compliant with header units
#preflight 635c4bbd0e7b78e504cde2a9
#rb none

[CL 22850787 by henrik karlsson in ue5-main branch]
2022-10-29 03:00:24 -04:00
graeme thornton
e7986ac620 [Backout] - CL22808749
[FYI] Steve.Robb
Original CL Desc
-----------------------------------------------------------------
TMap and TSet can now be declared as members with forward-declared key and value parameters.
KeyFuncs::KeyInitType and KeyFuncs::ElementInitType typedefs are no longer used and user-defined KeyFuncs do not need to provide them.  Deprecated placeholders for these typedefs exist though they may not be defined exactly as they were before.  A new KeyType typedef needs to be provided by custom KeyFuncs which don't already inherit from BaseKeyFuncs or TDefaultMapKeyFuncs.
KeyConstPointerType, KeyInitType, ValueInitType and ElementInitType typedefs have been deprecated across TMap, TSet and TSortedMap.  Regular C++ parameter-passing semantics should be used instead (const T& Ref or T Value, depending on T).
Added missing FSetElementId::operator!=().

[FYI] steve.robb
#rb james.hopkin
[FYI] henrik.karlsson
#preflight 635a56c15d49a96f7b31938f

[CL 22850782 by graeme thornton in ue5-main branch]
2022-10-29 02:59:59 -04:00
joe pribele
3b4fd613e3 [Core] fix for warning C6250 Calling 'VirtualFree' without the MEM_RELEASE flag may free memory but not address descriptors (VADs); results in address space leaks
added pragma to suppress the warning copied from MallocStomp
#preflight 635c3cd20053ddfa53466a81

[CL 22837615 by joe pribele in ue5-main branch]
2022-10-28 16:48:02 -04:00
justin marcus
7bf1ba442a [Backout] - CL22822857
Change WebRemoteControlInternalUtils.cpp to use WIDECHAR
[FYI] aurel.cordonnier
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL22811007
[FYI] Justin.Marcus
Original CL Desc
-----------------------------------------------------------------
Fix JSON Reader UTF8 parsing.
Add ability to use JSON Reader with a string view.
Add explicit UTF8 smoke tests.
Change uses of TJsonReader<UCS2CHAR> to TJsonReader<WIDECHAR> since TStringBuilder<UCS2CHAR> doesn't compile.
Change uses of TJsonReader<char> to TJsonReader<UTF8CHAR>.  There isn't much use for TJsonReader<char> as ASCII is a subset of UTF8 so TJsonReader<UTF8CHAR> is always preferable.
#rb [at]Steve.Robb
#preflight https://horde.devtools.epicgames.com/job/635980ead86d91ca2cfabc77

[CL 22835909 by justin marcus in ue5-main branch]
2022-10-28 15:39:05 -04:00
henrik karlsson
cd1466475b Fixed up const/constexpr variables in header files to be "inline"
This is required for c++ modules/header units in order to decide if constexpr/const value should be available to outside module

#preflight 635c0b5c1803be35c767e0ea
#rb none

[CL 22835882 by henrik karlsson in ue5-main branch]
2022-10-28 15:38:42 -04:00
joe pribele
9397804938 [Core] fix for automation reporting false failures for tests that purposely cause ensure or check failures
#preflight 635c1d0b1b41d36d486bd767

[CL 22835280 by joe pribele in ue5-main branch]
2022-10-28 15:15:39 -04:00
danny couture
ae89fa3df9 Fix TSAN warning in LocalQueue.h
#rnx
#rb Arne.Schober, Andriy.Tylychko
#preflight 635bb7057515720a5fb724d7

[CL 22826946 by danny couture in ue5-main branch]
2022-10-28 07:31:48 -04:00
danny couture
466e22c674 Fix TSAN warning in TEventStack
#rnx
#rb Arne.Schober
#preflight 635ab808944463bad462055a

[CL 22826824 by danny couture in ue5-main branch]
2022-10-28 06:58:32 -04:00
Steve Robb
edfd95da58 Fix for the fix in CL# 22824506.
#rb trivial
#jira none
#preflight none

[CL 22824541 by Steve Robb in ue5-main branch]
2022-10-28 03:00:47 -04:00
Steve Robb
f50b601886 Possible fix for new VS2022 toolchain error.
#rb trivial
#jira none
#preflight none

[CL 22824506 by Steve Robb in ue5-main branch]
2022-10-28 02:59:38 -04:00
aurel cordonnier
c34355bbdf [Backout] - CL22811007
[FYI] Justin.Marcus
Original CL Desc
-----------------------------------------------------------------
Fix JSON Reader UTF8 parsing.
Add ability to use JSON Reader with a string view.
Add explicit UTF8 smoke tests.
Change uses of TJsonReader<UCS2CHAR> to TJsonReader<WIDECHAR> since TStringBuilder<UCS2CHAR> doesn't compile.
Change uses of TJsonReader<char> to TJsonReader<UTF8CHAR>.  There isn't much use for TJsonReader<char> as ASCII is a subset of UTF8 so TJsonReader<UTF8CHAR> is always preferable.
#rb [at]Steve.Robb
#preflight https://horde.devtools.epicgames.com/job/635980ead86d91ca2cfabc77

[CL 22823854 by aurel cordonnier in ue5-main branch]
2022-10-28 01:03:42 -04:00
saam barati
8121f4a401 Fix build error
#preflight none

[CL 22823606 by saam barati in ue5-main branch]
2022-10-28 00:34:44 -04:00
zach bethel
27cd761297 Fixed leaks in LockFreeList implementation.
#rb Danny.Couture
#jira UE-167008

[CL 22823596 by zach bethel in ue5-main branch]
2022-10-28 00:34:03 -04:00
justin marcus
e432616e7f Fix JSON Reader UTF8 parsing.
Add ability to use JSON Reader with a string view.
Add explicit UTF8 smoke tests.
Change uses of TJsonReader<UCS2CHAR> to TJsonReader<WIDECHAR> since TStringBuilder<UCS2CHAR> doesn't compile.
Change uses of TJsonReader<char> to TJsonReader<UTF8CHAR>.  There isn't much use for TJsonReader<char> as ASCII is a subset of UTF8 so TJsonReader<UTF8CHAR> is always preferable.
#rb [at]Steve.Robb
#preflight https://horde.devtools.epicgames.com/job/635980ead86d91ca2cfabc77

[CL 22823191 by justin marcus in ue5-main branch]
2022-10-27 23:19:57 -04:00
Matt Peters
aae3d924df LowLevelMemTracker: Add OnLowLevelChangeInMemoryUse for systems like MiMalloc that can allocate and free subsets of a single reservation.
#rb Zousar.Shaker
#rnx
#preflight 635af8c71b7de936a52a0dae

[CL 22819478 by Matt Peters in ue5-main branch]
2022-10-27 18:09:38 -04:00