Commit Graph

9172 Commits

Author SHA1 Message Date
ionut matasaru
ea1dbda612 [Insights] Networking Insights: Fixed UI for the NetStats view.
#rb Catalin.Dragoiu

[CL 17550328 by ionut matasaru in ue5-main branch]
2021-09-17 06:20:23 -04:00
paul chipchase
76c96b571a A quick hardening pass over the file system backend for Mirage.
#rb Per.Larsson
#rnx
#preflight 61408a979dc6c8000148d0cf

### Misc
- Updated the documentation for setting up a file system backend and added descriptions to the backend's members.
- Renamed the member 'Name' to 'DebugName' to bring it in line with the other backends (still a candidate to be moved to the base class)

### Reading payloads from disk
- Added the ability to retry opening file handles for read if they fail. This can commonly occur when multiple threads or processes are both pulling and pushing to the same root directory.
-- By default we will retry to open the file handle up to 10 times, waiting for 100ms between each attempt. The user can configure the number of retries and the length of the pause between each attempt via the config files.
-- Each failed attempt at opening the file handle will result in a warning being logged, so if the user is stalled for a long length of time while we rety over and over they are at least made aware of the cause.

### Writing payloads to disk
- When attempting to write a payload to disk, we will now write to a temp file in the project save directory using a randomly generated name. Once the payload has been fully saved to disk it will then be moved to the correct location. Although not perfect this will reduce the potential for writing corrupted data to a location where it might be read in the future.
-- We do attempt to clean up the temp file if the write fails but we do not print error messages if the delete fails as it is considered an optional bonus rather than an essential feature.
- Previously we would only log an error if we failed to open a file handle for writing the payload to disk. Now we also log an error if the handle is opened but the actual writes fail.

[CL 17550126 by paul chipchase in ue5-main branch]
2021-09-17 06:02:48 -04:00
axel riffard
4fb17b2389 Display the trust popup on iOS and tvOS when using an untrusted device
#jira UE-114776
#rb jack.porter
#preflight 61444c5f4778fa00018cccb7

[CL 17549185 by axel riffard in ue5-main branch]
2021-09-17 04:56:41 -04:00
ionut matasaru
178cb44abb [Insights] Fixed typo.
#rb trivial

[CL 17548146 by ionut matasaru in ue5-main branch]
2021-09-17 01:55:11 -04:00
eric renaudhoude
cf89a6470e Color Management: Adding (advanced) source encodings for textures.
#rb rod.bogart
#jira none
#preflight 6143e5484778fa00017df627

[CL 17547199 by eric renaudhoude in ue5-main branch]
2021-09-16 22:13:33 -04:00
Yoan StAmant
166f970337 [DebugDrawDelegate]
Update registration flow since CreateRenderState_Concurrent can't be used to register our delegate since it needs to be initialized first (CreateSceneProxy) and in some code paths for loaded actors the call order might be different since primitive registration gets deferred (i.e. FRegisterComponentContext != nullptr).
In that case initialization won't called and an ensure will fire in UnregisterDebugDrawDelegate since registration failed (was not initialized).
Case 1: FRegisterComponentContext == nullptr  ==> Super::CreateRenderState_Concurrent + sync CreateSceneProxy (init) + RegisterDebugDrawDelegate ==> works fine
Case 2: FRegisterComponentContext != nullptr  ==> Super::CreateRenderState_Concurrent + deferred CreateSceneProxy + RegisterDebugDrawDelegate (skipped since not init) + CreateSceneProxy ==> ensures in UnregisterDebugDrawDelegate

Bonus:
- some code analysis fixes
- removed some 'CoreMinimal.h' includes
- exported log category 'LogVisual'
- fixed some uninitialized properties (FNavTestDebugDrawDelegateHelper, UNavMeshRenderingComponent, FNavMeshSceneProxyData)
- fixed some methods hiding non-virtual from base class (GetAllocatedSize)
- fixed FGameplayDebuggerCompositeSceneProxy::GetMemoryFootprint that was not considering base class allocations

#rnx
#jira UE-125097
#preflight 614362684778fa00016a8cad
#rb mieszko.zielinski

[CL 17544171 by Yoan StAmant in ue5-main branch]
2021-09-16 16:47:25 -04:00
Stefan Boberg
0738f8db34 Added code for Zen/HTTP marshaling of CbPackages. There is some more work to do to handle package responses properly but otherwise functional
#rnx

[CL 17543082 by Stefan Boberg in ue5-main branch]
2021-09-16 15:14:21 -04:00
carlmagnus nordin
125f2bdc86 Compile fixes for building UnrealPak in shipping config
#rnx
#rb pj.kack

#ROBOMERGE-OWNER: carlmagnus.nordin
#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17536937 via CL 17536972 via CL 17536975 via CL 17536976 via CL 17537001
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v870-17433530)

[CL 17537005 by carlmagnus nordin in ue5-main branch]
2021-09-16 07:48:41 -04:00
Stefan Boberg
a8265d6869 Trivial logging fix: 'packges' -> 'packages'
[CL 17534852 by Stefan Boberg in ue5-main branch]
2021-09-16 03:17:41 -04:00
geoff evans
4ffe06f1be Update AutomationController Log settings
Introduce bElevateLogWarningsToErrors as a good name for existing functionality. Note it's assuming the name as it's known by its customer code. This change lines up the settings variable to its colloquial name around the codebase.

Deprecate bTreatLogWarningsAsTestErrors as it was misleading because it doesn't really shuffle log warnings into the test errors bucket as much as it just reclassifies the log verbosity from log warning to log error.

Remove bTreatLogErrorsAsTestErrors as it wasn't functional outside of EditorIterationTest's custom base class, and it's tempting to use incorrectly in place of bSuppressLogErrors

#rnx
#jira none
#rb andrew.grant
#preflight 6142442c4778fa000135b987

[CL 17526549 by geoff evans in ue5-main branch]
2021-09-15 16:50:42 -04:00
ionut matasaru
8f4ef5da79 [Insights] Timing view: Added "Detph Limit" and "Coloring Mode (CPU Thread Tracks)" in the View Mode menu from toolbar.
#rb none

[CL 17522167 by ionut matasaru in ue5-main branch]
2021-09-15 12:41:49 -04:00
carlmagnus nordin
341637ba37 IoStore: Changes to allow IoStore to run as part of UnrealPak instead of as a cmdlet
#rb per.larsson
#rnx

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17517167 via CL 17517189 via CL 17517191 via CL 17519703 via CL 17519714
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v870-17433530)

[CL 17519729 by carlmagnus nordin in ue5-main branch]
2021-09-15 10:40:05 -04:00
christopher waters
a8f866f355 D3D shader cleanup:
- Removed some unnecessary code from D3D shader compilers.
- Removing shader VendorExtensions runtime data from platforms that don't need them.
- Turning FShaderCodeFeatures into a set of flags to reduce its size. Adding a few new flags for future use.
- Moved the common D3D12 shader data and creation code into shared locations to cut down on code duplication.
- Removed the unnecessary copying of header data from all D3D12 shader types.
- Removed FD3D12ShaderBytecode since its values can be inferred from other shader data.

#jira none
#rb rolando.caloca, arciel.rekman
#preflight 6140c2df3aa82d000149f13b

[CL 17509617 by christopher waters in ue5-main branch]
2021-09-14 16:28:06 -04:00
Yoan StAmant
9fa9fd9f92 [AI] Merging 17468937: GameplayDebugger: Support separate alpha on text
#preflight 6140d2073c7c670001621c73

[CL 17508455 by Yoan StAmant in ue5-main branch]
2021-09-14 15:19:36 -04:00
jack cai
1ceded55fc Control Rig: Ported change "Move create control rig menu item under create in content browser asset context menu" to UE5
#jira UE-94662
#fyi rex.hill helge.mathee

[CL 17508415 by jack cai in ue5-main branch]
2021-09-14 15:17:44 -04:00
Matt Peters
a06ff90588 CookOnTheFly - handle already-cooked packages from iterative builds.
#rb Per.Larsson
#rnx

[CL 17508341 by Matt Peters in ue5-main branch]
2021-09-14 15:14:31 -04:00
Matt Peters
75c591648c DevelopmentAssetRegistry.bin: Reduce duplication by making a function to return this string.
#rb Per.Larsson
#rnx

[CL 17506665 by Matt Peters in ue5-main branch]
2021-09-14 13:30:20 -04:00
sara schvartzman
3959c2b8d2 Control Rig: Fix compiling errors in RigVMController
#jira na
#rb trivial

[CL 17505561 by sara schvartzman in ue5-main branch]
2021-09-14 12:09:08 -04:00
sara schvartzman
c86b38a451 Control Rig: Name clashing between local/global variables handled inconsistently
#jira UE-126499
#rb helge.mathee

[CL 17504999 by sara schvartzman in ue5-main branch]
2021-09-14 10:57:46 -04:00
ionut matasaru
9a0d425bed [Insights]
- Timing View: Added extension hooks for the CPU/GPU, Other and Plugins menus.
  - Timing View: Split the options from the previous "Tracks" menu into CPU/GPU, Other and Plugins menus. Some submenus are now inlined (ex. Docked and Scrollable track filter, File Activity, Context Switches, etc.).
  - Timing View: Fixed position of the Frame tracks (to take into consideration the PosY, i.e. height of top toolbar).
  - Context Switches: Enabled the Core Tracks by default.

#rb Catalin.Dragoiu

[CL 17504595 by ionut matasaru in ue5-main branch]
2021-09-14 10:18:03 -04:00
ionut matasaru
7cfb30a5cb [Insights] Timing view: Fixed the toggle between Bookmarks and Logs for the Markers track to apply immediately when changed from the context menu.
#rb none

[CL 17504312 by ionut matasaru in ue5-main branch]
2021-09-14 09:56:55 -04:00
ionut matasaru
f67cb12ccf [Insights] Context Switches: Made the option to turn on/off the visibility of extended lines to be independent of the overlay areas toggle.
#rb none

[CL 17504246 by ionut matasaru in ue5-main branch]
2021-09-14 09:53:05 -04:00
ionut matasaru
04b8c4c7c9 [Insights] Log View: Fixed the height of the toolbar.
#rb none

[CL 17504216 by ionut matasaru in ue5-main branch]
2021-09-14 09:49:09 -04:00
ionut matasaru
c27d359f04 [Insights] UI tuning for Trace Store page (made the "trace store dir" box to fill the width of the window; removed icon for the Open Trace menu dropdown.
#rb none

[CL 17504103 by ionut matasaru in ue5-main branch]
2021-09-14 09:39:43 -04:00
carlmagnus nordin
5100d18b27 IoStore: Fixed issue that caused plugin remap redirects to be treated as localization redirects
#rb per.larsson
#rnx

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17501814 via CL 17502691 via CL 17502692 via CL 17502694 via CL 17502695
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v870-17433530)

[CL 17502697 by carlmagnus nordin in ue5-main branch]
2021-09-14 06:09:28 -04:00