Commit Graph

12690 Commits

Author SHA1 Message Date
thraidh
c68a1ff2cd [Backout] - CL25957310
#fyi james.singer, zack.neyland
#jira UE-190523
Original CL Desc
-----------------------------------------------------------------
Improve command line handling to better handle quotes on Unix.  PR #5583

#jira UE-70641
#rb @Zack.Neyland, @Robert.Seiver
#review-25564039 @Brandon.Schaefer, @Josh.Adams, @Zack.Neyland, @Robert.Seiver

[CL 26461354 by thraidh in ue5-main branch]
2023-07-19 11:06:02 -04:00
neil henning
cd18cace23 Change TaskArray back to use shared pointers for performance reasons (it was using this before I hacked out the custom shared pointer).
[CL 26457811 by neil henning in ue5-main branch]
2023-07-19 08:28:27 -04:00
thomas sarkanen
57122faf0a AnimNext params in Anim BPs
Added a new anim node: AnimNext Parameters. This injects parameters into the AnimNext stack for all leafwards nodes.

Added a new way of binding to parameters on anim nodes.
- Added indirection to UAnimGraphNode_Base to allow different 'binding types' to be authored by deriving from UAnimGraphNodeBinding
- Added new binding type for AnimNext parameters
- Moved existing binding code (inc UI widget creation) into UAnimGraphNodeBinding_Base
- Binding types can be selected on a per-node or per-anim BP basis

Reworked FParamStack API a little
- Allow for better error checking when pushing/popping stack layers. Pushed layers can now only be subsequently popped by passing in the handle of the pushed layer.
- Standalone layers are now wrapped in an opaque handle rather than returning a unique ptr
- GetParamData APIs now perform more involved type checking, allowing derived object types & type conversions to be implemented

Improved parameter type sandboxing for automated tests. If running low-level type tests while execution was happening on another thread, the editor could crash because of invalidating already-existing types.

Lots of other small fixes to get workflows nicer and end-to-end functionality working

#rb Nicholas.Frechette,Jaime.Cifuentes,Jurre.deBaare

[CL 26455905 by thomas sarkanen in ue5-main branch]
2023-07-19 04:36:34 -04:00
logan buchy
23b649234d Backout StallDetector pause on SlowTask
* Some unknown cases are causing ensure() to fire - backout until sorted

#jira UE-179567
#rb trivial

[CL 26449831 by logan buchy in ue5-main branch]
2023-07-18 18:11:34 -04:00
jimmy andrews
3f483bd95f Change the default TangentsType for all new DynamicMeshComponent and expose TangentsType to the UI
Make TangentsType have an explicit 'Default' value, which will currently map to ExternallyProvided. ExternallyProvided is also renamed to "From Dynamic Mesh" in the UI.

#jira UE-187523
#rb ryan.schmidt

[CL 26433246 by jimmy andrews in ue5-main branch]
2023-07-18 10:07:19 -04:00
paul chipchase
ba9220ab4a IAS: Add logging of all iorequests to complement the logging of all http requests.
The iorequest duration is very close to the actual latency as seen from the game client code.

#jira UE-188791
#rb paul.chipchase
#rnx

- Submitted on the behalf of PJ.Kack

[CL 26430435 by paul chipchase in ue5-main branch]
2023-07-18 07:08:07 -04:00
joe kirchoff
d2d14288f1 Replace __FILE__ with __builtin_FILE() in constexpr
#rnx

[CL 26422954 by joe kirchoff in ue5-main branch]
2023-07-17 20:50:27 -04:00
ludovic chabant
ef4cd81ea9 Sequencer: fix some issues with replicated sequence playback
There were two bugs that happened rarely:

1) We could have some of the replicated player properties sent to the client, while others weren't. In particular, we would get the LastKnownPosition on the client, but not the LastKnownStatus, which meant we would update and stay stopped, instead of playing. This change therefore adds a custom NetSerialize method on the replicated properties struct so that it is sent as a consistent whole.

2) The other bug had to do with stray network packages making it after "important" RPCs such as Stop and Finish. Sometimes, after the client has stopped from these RPCs, we would get PostNetReceive called with statuses that predate these RPCs. This often meant that, after stopping/finishing playback, the client would re-update to one of the last frames of the sequence. This could easily result in stuck cameras or black (fade) screens. Now we add a serial number to the synchronized properties so that we can ignore these outdated messages.

Other changes include adding some new logging, and simplifying/standardizing existing logging.

#rb david.bromberg

[CL 26411751 by ludovic chabant in ue5-main branch]
2023-07-17 13:59:52 -04:00
david harvey
90dee17e2c Remove the initial set of deprecated 'custom chunk' API functions, deprecated in 5.1.
- Titles should have migrated to Named Chunk installation at this point.

#jira UE-163419
#rb Justin.Marcus, Tomasz.Obrebski, Wojciech.Krywult

[CL 26407969 by david harvey in ue5-main branch]
2023-07-17 11:15:00 -04:00
steve robb
94b8262dab Replaced operator new TArray calls with emplacement.
#rb none

[CL 26395743 by steve robb in ue5-main branch]
2023-07-13 19:17:12 -04:00
bryan sefcik
320eb4ff95 Turned off callstack trace for Win ARM64 and ARM64EC.
#jira

[CL 26377232 by bryan sefcik in ue5-main branch]
2023-07-07 16:55:37 -04:00
christopher waters
2b78bbaa2b Fixing remaining IWYU errors
[CL 26358328 by christopher waters in ue5-main branch]
2023-06-30 18:31:26 -04:00
Matt Peters
da707613b5 Cooker IterativeValidate: Fix diff output from DiffWriterArchive that is being logged directly rather than being sent to the MessageCallback.
#rb Zousar.Shaker
#rnx

[CL 26356735 by Matt Peters in ue5-main branch]
2023-06-30 17:32:21 -04:00
robert millar
ba494fa0ec Change LogLatentCommands category to be declared extern rather than to be declared static in a header.
#rb none

[CL 26355752 by robert millar in ue5-main branch]
2023-06-30 17:02:09 -04:00
marc audy
1b8e7f29c4 Rework GPUScene support on mobile platforms.
Platforms that do support uniform buffer objects can now provide batched primitive data through UBO. There is a limit UBO range that can be accessed in shaders, so we group instances into batches that fit into this limit. Switch uses 64KB views, other platfroms16KB views. For each primitive we allocate 512Bytes and 256Bytes for instance. Mobile platforms that do not support UBO will use a desktop version of GPUScene.
There are a few things that still missing: Dynamic mesh passes,  static lighting
#rb ola.olsson, benjamin.rouveyrol

[CL 26354848 by marc audy in ue5-main branch]
2023-06-30 16:34:38 -04:00
christopher waters
1c99959e3e Fixing IWYU compiles
[CL 26353592 by christopher waters in ue5-main branch]
2023-06-30 16:11:56 -04:00
Josh Adams
8d6eb87c35 - Hooked up the VisionPro simulator deviceprofile to disable virtual streaming
- Made Simulator deice strings for IOS platforms, iPhone0,0 - AppleTV0,0 - VisionOS0,0, since before they were just "arm"
#rb adam.kinge

[CL 26353255 by Josh Adams in ue5-main branch]
2023-06-30 16:02:28 -04:00
jordan hoffmann
9db68b0847 [Feature] CmdLink.exe that can run commands on an active UE process
#rb josh.adams justin.harematthew.sorrels

[CL 26351922 by jordan hoffmann in ue5-main branch]
2023-06-30 15:09:35 -04:00
kirill zorin
3bd8189815 FormatStringSan: correctly handle UTF8 args
#rb devin.doucette

[CL 26351303 by kirill zorin in ue5-main branch]
2023-06-30 14:49:10 -04:00
nick edwards
9c37766203 TBitArray:
- Find and FindAndSetFirstZeroBit updated to use FindFromImpl internally, as they perform the same search logic.
- FindAndSetLastZeroBit updated to use FindLast internally, as it performs the same search logic.
- Unit tests added for TestFindLast, TestFindAndSetFirstZeroBit and TestFindAndSetLastZeroBit

#rb Steve.Robb

[CL 26343861 by nick edwards in ue5-main branch]
2023-06-30 10:29:48 -04:00
johan berg
9fe22ee65f Fix tracing of FNames for numbered names when outline numbers is enabled.
When UE_FNAME_OUTLINE_NUMBER is enabled the number is part of the name entry so we can format the name before tracing it.

#rb robert.millar,johan.torp
#jira UE-189546

[CL 26340314 by johan berg in ue5-main branch]
2023-06-30 03:22:11 -04:00
bryan sefcik
e528a69b47 Disabled tpause when compiling ARM64EC because it isn't defined.
#jira

[CL 26329460 by bryan sefcik in ue5-main branch]
2023-06-29 17:45:22 -04:00
Matt Peters
ec9fef914b Cooking: Iterative: Add -iterativevalidate mode that diffs iteratively unmodified previous packages against their resaved version.
#rb Zousar.Shaker
#rnx

[CL 26327591 by Matt Peters in ue5-main branch]
2023-06-29 16:40:47 -04:00
jamie dale
e1575ff4a2 Added a category type that can be used with FMessageDialog to control the icon used by the in-editor dialog
Note: This doesn't impact any OS specific dialogs

Breaking: FCoreDelegates::ModalErrorMessage is now called FCoreDelegates::ModalMessageDialog and takes an extra EAppMsgCategory argument

#jira
#rb Dave.Belanger

[CL 26322954 by jamie dale in ue5-main branch]
2023-06-29 14:57:59 -04:00
per larsson
41a7f53758 I/O - initialize container flags to None
#rb triival
#rnx

[CL 26308849 by per larsson in ue5-main branch]
2023-06-29 08:57:40 -04:00