Commit Graph

204454 Commits

Author SHA1 Message Date
mikko mononen
ef8889a1c4 StateTree: Added functionality to call and reuse a subtree
- Removed unnecessary checks for specific transition (handled in enter state logic)
- Added state type to StateTreeState, State, Group, or Linked
- StateTreeState property customization hides properties based on type
- Allow a state to link to another state
- Changed baker binding validation to handle linked states
- Added linked state handling in execution context
- Updated UI deal with linked states
- Updated gameplay debugger to deal with linked states
- Moved automatic Root state adding from Editor data to editor open (tests were broken due to extra root state)
- Fixed tests and added simple test for linked state
- Added meta to tag to state link to allow to select only direct states (no next, etc)
- Added counter to track state changes (mainly for debugging)

#jira UE-147509
#review
#preflight 624beb69637925b5d306d8e7

[CL 19621621 by mikko mononen in ue5-main branch]
2022-04-05 03:20:57 -04:00
Charles deRousiers
1ce1f108d2 Add per-view marker for IndirectLightRendering.
#rb none
#jira none
#preflight 624beb04637925b5d306d7e8

[CL 19621611 by Charles deRousiers in ue5-main branch]
2022-04-05 03:19:40 -04:00
PJ Kack
bf5f7f1391 Fix static analysis error in RuntimeAssetCacheAsyncWorker.cpp by removing unreachable code.
#jira UE-147690
#rb carlmagnus.nordin
#rnx
#preflight 624be5e2f73c316f683df19b

[CL 19621555 by PJ Kack in ue5-main branch]
2022-04-05 02:52:31 -04:00
Dmitriy Dyomin
be7b86ff4e Expose mobile specific "Enable GPUScene" option to project settings
#rb none
#preflight 624be4f1b6084b98328498ae

[CL 19621552 by Dmitriy Dyomin in ue5-main branch]
2022-04-05 02:48:49 -04:00
PJ Kack
91d645a0a8 Android editor integration improvements.
UAT RunClient: Continuously redirect output to uat stdout while client is running.
UAT RunClient: Add a process wrapper to kill client process when uat exits and to write the adb device log file to the host pc directories.
UAT RunClient: Push the ClientCmdLine args as a UECommandLine.txt file to the device to the correct location (different for adb deploy and android file server) to override the stage/apk command line.
UAT MakeApk: Add a UECommandLine.txt cache file to the intermediate directory to invalidate the apk when the stage/apk command line changes (e.g. when switching between CBTB or COTF or cooking with/without Zen).
LaunchAndroid.cpp: Add debug output for which override command line file that is being used.
LaunchAndroid.cpp: Implement missing -waitforattach/-waitfordebugger feature.
DataDrivenPlatformInfo.ini: set bUATClosesAfterLaunch=false to stop the editor from passing -nokill to uat to let it stop all processes when the client exits..

#jira none
#rb chris.babcock
#rnx
#preflight 6245849873665f7d5e4f0a18
#preflight 624be1f3dc6183e3f5518801

[CL 19621549 by PJ Kack in ue5-main branch]
2022-04-05 02:48:11 -04:00
max chen
8641821de3 Sequencer: Drag and drop should gather all skeletal mesh components (not just the root if it's a skeletal mesh component) so it can perform a animation skeleton match with all the possible skeletal mesh components.
follow up to CL 18963239

#rb mike.zyracki
#preflight 6201c11ebf1c4969112e7520

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 19621351 via CL 19621365 via CL 19621370 via CL 19621375
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19621444 by max chen in ue5-main branch]
2022-04-05 02:02:23 -04:00
buildmachine
eb83dc79f5 Localization Automation using CL 19613608
[CL 19621285 by buildmachine in ue5-main branch]
2022-04-05 00:48:26 -04:00
graham wihlidal
1b3654fd84 Changed r.OptimizedWPO so it can be toggled at runtime (by forcing a scene proxy recreate in order for the behavior change to be properly pushed to GPU Scene)
#rb trivial
[FYI] jian.ru, jamie.hayes
#preflight skip

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 19620514 via CL 19620519 via CL 19620524
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19620680 by graham wihlidal in ue5-main branch]
2022-04-04 22:42:38 -04:00
jian ru
20d770921c Dynamically branch over WPO calculation in some nanite shaders based on a primitive flag
#rb graham.wihlidal, jamie.hayes

#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 19617966 via CL 19618272 via CL 19618686
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19620550 by jian ru in ue5-main branch]
2022-04-04 22:06:27 -04:00
chris kulla
da10b9f80c Path Tracer: fix warnings from bad ShaderType
#rb trivial
#preflight 624b8c2adf7d23dbfe3e00f6

[CL 19619323 by chris kulla in ue5-main branch]
2022-04-04 20:50:10 -04:00
jamie hayes
98fb1ed729 Fix a bug with Nanite where texture coordinates would not be decoded if they were used by a material's vertex shader but not the pixel shader.
#rb graham.wihlidal
#preflight skip

#ROBOMERGE-AUTHOR: jamie.hayes
#ROBOMERGE-SOURCE: CL 19617116 via CL 19617246 via CL 19617755
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19619248 by jamie hayes in ue5-main branch]
2022-04-04 20:47:47 -04:00
Alejandro Arango
06e085de41 NvApi: Upgraded to R510 (from R460)
#jira
#rb mihnea.balta, peter.knepley
#preflight 624b8c418f066102249f7122

[CL 19619006 by Alejandro Arango in ue5-main branch]
2022-04-04 20:39:26 -04:00
graham wihlidal
f38a3deddf Changed r.Nanite.ProgrammableRaster to be a global off/on toggle, added per Nanite raster pass toggles (i.e. r.Nanite.ProgrammableRaster.Lumen), and removed r.Nanite.AllowProgrammableRasterSW
#rb jamie.hayes, krzysztof.narkowicz
[FYI] brian.karis, daniel.wright
#preflight skip

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 19615918 via CL 19616490 via CL 19617150
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19618563 by graham wihlidal in ue5-main branch]
2022-04-04 20:18:17 -04:00
stu mckenna
85551e9de5 - Fix for polluting the type registry with core LWC types
#rb rob.krajcarski
#rnx

#ROBOMERGE-OWNER: stu.mckenna
#ROBOMERGE-AUTHOR: stu.mckenna
#ROBOMERGE-SOURCE: CL 19615611 via CL 19615958 via CL 19617141
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19618555 by stu mckenna in ue5-main branch]
2022-04-04 20:17:59 -04:00
stu mckenna
ba7b2a5c3a - Remove dead functions
#rb michael.galetzka
#rnx

#ROBOMERGE-AUTHOR: stu.mckenna
#ROBOMERGE-SOURCE: CL 19615610 via CL 19615859 via CL 19616479
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19617412 by stu mckenna in ue5-main branch]
2022-04-04 19:25:34 -04:00
stu mckenna
ba0ff6340c - Fix for mesh renderer not showing the default material
#rb michael.galetzka
#rnx

#ROBOMERGE-AUTHOR: stu.mckenna
#ROBOMERGE-SOURCE: CL 19615589 via CL 19615826 via CL 19616464
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19617402 by stu mckenna in ue5-main branch]
2022-04-04 19:25:12 -04:00
chris kulla
703b25cc16 Path Tracer: re-enable mGPU support
Remove coherent sampler since it would be complicated to support in the mGPU case and isn't really necessary for performance anymore

#rb Jason.Hoerner
#preflight 624b79f09f404234149aec8e

[CL 19617353 by chris kulla in ue5-main branch]
2022-04-04 19:23:28 -04:00
Aidan Possemiers
28282ac8a5 Fixing copyright boilerplate.
#JIRA none
#rb self
#preflight trivial

[CL 19617318 by Aidan Possemiers in ue5-main branch]
2022-04-04 19:21:41 -04:00
jason walter
451659b1a6 Fix fully loaded state of the package on asset add. Since the asset is added the package is fully loaded the flags are incorrect because of the transaction is remotely.
#jira UE-147557
#rb matt.johnson
#preflight 624b07ca73665f7d5e8217f2

[CL 19617199 by jason walter in ue5-main branch]
2022-04-04 19:15:46 -04:00
zach bethel
ea0476928c Fix for double signal of gpu fence in DX12 when performing All -> Graphics transition.
#rb dave.barrett
#fyi kenzo.terelst
#preflight trivial

[CL 19617020 by zach bethel in ue5-main branch]
2022-04-04 19:06:35 -04:00
Aidan Possemiers
bea38b0fae This commit is a large collection (from various authors) of Pixel Streaming 5.1 work
that is useful to be released early onto Main.

--------------------------
Bugfixes
--------------------------

Fix update default max bitrate to support 4k
Fix resolution changing and fix match viewport resolution browser side option.
Fix stream not playable when streamer disconnects but page not refreshed.
Fix SFU/data-only peers were able to request/gain quality controller status.
Fix delegate registration for backbuffer texture sources would sometimes be called when deleted and crash.
Fix uncessary bundling of pixel streaming servers when building non-game targets such as Editor/Server.
Fix PixelStreaming plugin now works with "-onethread" enabled and some methods have been made more thread safe.

--------------------------
Refactors
--------------------------
Refactor texture source API surface to enable texture sources that do not use Unreal Engine texture types.
Refactor to make FixedFPSPump be more usable by any arbitrary thing that wants updates at a fixed interval (not just video sources).
Refactor to remove player id from video sources to make them easier to create outside of a true peer connection existing.
Refactor to remove unecessary CVarPixelStreamingWaitForTextureCopy.
Refactor to expose functionality on module `CreateExternalVideoSource`. This is experimental and will likely be changed before 5.1.

--------------------------
Features
--------------------------
Added foundation for desktop streaming on Pixel Streaming.
Added simulcast support for VP8.
Added a compute shader for faster I420 conversion when using VPX, this is faster than CPU readback and conversion in our tests.
Added some PixelStreaming tests
	1. A test that will start streaming, connect to a client, and check that a data channel message can be sent.
	2. A mock signalling server test and functionality to test the C++ connection to the signalling server.
Added "stat pixelstreaming" and made PixelStreaming.HUDStats able to be toggled on/off.
Added custom UE implementation webrtc::AdaptedVideoTrackSource that can add/remove remove video sinks at runtime.
Added ability on module to start/stop streaming as needed.
Added peers can now swap roles between P2P and simulcast mid-stream.
	To test this new feature:
	1. Simply toggle the PreferSFU toggle in the settings panel.
	2. Click the new restart stream button in the settings panel.

#JIRA UCS-2781,UE-140913,UE-141101,UE-141104,UE-141105,UE-141106,UE-141862,UE-147157
#rb Luke.Bermingham
#fyi Nick.Pace, Mathew.Cotton, Mattias.Jansson
#preflight 624a7c27637925b5d3f7840c
#preflight 624b71109f404234149a58a2

[CL 19616813 by Aidan Possemiers in ue5-main branch]
2022-04-04 18:55:21 -04:00
Zousar Shaker
2a6c9aff0f Add HybridIterativeEnabled to deny list for settings changes that invalidate cooked output.
#rb matt.peters
#preflight 624b7019c51908059aee9374

[CL 19616556 by Zousar Shaker in ue5-main branch]
2022-04-04 18:41:05 -04:00
Brandon Schaefer
47456601a7 Re-enable Audio Tests now that we have a Null Audio device working for SDL
#jira none
#rb none
#preflight none

[CL 19616551 by Brandon Schaefer in ue5-main branch]
2022-04-04 18:40:39 -04:00
andrew lauritzen
9a05ddf238 Partial workaround for scene captures invalidating virtual shadow maps:
- VSM caching now "skips" render calls/frames that did not include any VSM rendering. This allows disabling dynamic shadows or VSMs in scene captures to avoid wiping the cache for the main frame.

#preflight 624b3218323cb7b991431070
#rb graham.wihlidal

#ROBOMERGE-AUTHOR: andrew.lauritzen
#ROBOMERGE-SOURCE: CL 19614849 via CL 19615203 via CL 19615409
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19616302 by andrew lauritzen in ue5-main branch]
2022-04-04 18:25:43 -04:00
jamie dale
1fe23a7057 Fix-up FSoftObjectPath/FSoftObjectPtr during load of an instanced package
#jira UE-144884
#preflight 624b2c10dc6183e3f546ed00
#rb Francis.Hurteau, CarlMagnus.Nordin
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19613732 via CL 19614798 via CL 19614837 via CL 19614865
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19616233 by jamie dale in ue5-main branch]
2022-04-04 18:21:24 -04:00