Commit Graph

15 Commits

Author SHA1 Message Date
paul chipchase
135e304463 Add an ini file option which when set to true allows package submissions to source control to go ahead even if the virtualization process failed.
#rb none
#jira UE-159596
#rnx
#preflight 62d94160110da0f944afdd32

### Problem
- When rolling our virtualization to projects we have run into a number of set up problems which has caused users to fail to submit packages from the editor as when the virtualization failed we prevented the overall submit from going through.
- Although we will eventually work through all of these problems and add better fault tolerance for now it is annoying for the content team so we need an easy way for a project to allow package submits to be completed even if the virtualization process part of the submit failed.
- Worth noting that the virtualization process failing should never affect the state of the package files, the only downside is that the packages may not be virtualized.

### Fix
- The virtualization/rehydration of packages now return an enum instead of a bool although at the moment we are only returning Success and Failed, but it will allow us to expand in the future
- Combined the code calling the virtualization process from both the source control window and the source control changelist window into a single utility function.
-- Now the two windows only diverge on how they report failure to the user.

- This new utility function now checks to see if the virtualization manager suggests if failing the virtualization process should block any package submission to source control or not.
- I am not happy with this solution, but I haven't come up with anything that feels right, this solution will at least work.

[CL 21199597 by paul chipchase in ue5-main branch]
2022-07-21 08:31:47 -04:00
paul chipchase
b148541cdf Move using declaration out of the global scope as per the coding standards.
#rb trivial
#rnx
#preflight 62d7de33d54af4b9a2c08702

[CL 21176663 by paul chipchase in ue5-main branch]
2022-07-20 06:59:09 -04:00
paul chipchase
30b731c6f1 Add an opt in entry to the asset context menu that allows the user to re-hydrate a virtualized package.
#rb Sebastian.Nordgren
#jira UE-159595
#rnx
#preflight 62d13965a66919b6700c8069

### SVirtualAssetsStatistics
- We do not currently have a virtualization specific editor module and have been piggybacking onto the DDC editor module, so although this new code has nothing to do with the VA statistics panel it seems easier to keep the code in a single file and then split it later when we move it to a virtualization editor module.
- At the moment if the files being hydrated are not checked out then the process will fail. Support for auto checkout will be added in a future submit.

### EditorExperimentalSettings
- By default no change will be made to the context menu. The user must edit the experimental editor settings and opt in to be able to see it.
- This is because the feature should not really be used in day to day workflows and is provided to either fix problems or to make it easier for people developing the virtualization system.

### PackageRehydrationProcess
- Fixed some typos in error messages
- Being unable to write to the package is considered an error rather than a warning. It was demoted to a warning when virtualizing to try and reduce the number of blocked submits but we do not have this problem with rehydration.
- Added code to reset the loader of a package if it happens to be already loaded in the editor now that we can invoke it from the editor.

[CL 21107763 by paul chipchase in ue5-main branch]
2022-07-15 06:38:07 -04:00
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -04:00
mark lintott
716a674b0d Non-Unity Fix
#jira UE-150250
#rb trivial
#preflight 626941d47f6900cdefa50635

[CL 19938283 by mark lintott in ue5-main branch]
2022-04-27 09:21:42 -04:00
mark lintott
4dad041e96 Implemented Editor notifcations when BulkData payloads cannot be reached through any Virtual Aseet backend.
#jira none
#rb paul.chipchase
#fyi patrick.finegan
#preflight 6262a193a2579b4c7744c813

[CL 19863788 by mark lintott in ue5-main branch]
2022-04-22 08:55:44 -04:00
paul chipchase
05d81ee7f3 EditorBulkData and the virtualization system now use FIoHash directly and FPayloadId is removed
#rb Per.Larsson, Devin.Doucette
#jira UE-133497
#rnx
#preflight 61f835491c5ac5523462810a

- A lot of files have been touched but most of this is changing FPayload::IsValid to !FIoHash::IsZero, the main changes are in EditorBulkData/EditorBulkDataTests
- The only difference between FPayloadId and FIoHash is that the former considered the hash of an invalid or empty buffer to be 'invalid' too where as FIoHash would return a valid hash
-- To keep behaviour the same, we only hash payloads in EditorBulkData using a utility method ::HashBuffer which will not hash empty or invalid payloads and return a default FIoHash instead.
-- Unit tests have been extended to prove that the behaviour has not changed.

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18806362 in //UE5/Release-5.0/... via CL 18808527 via CL 18821790
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822154 by paul chipchase in ue5-main branch]
2022-02-02 02:21:24 -05:00
paul chipchase
2848641c68 Add a horizontal scrollbox to SVirtualAssetsStatisticsDialog
#rb Sebastian.Nordgren
#rnx
#jira UE-139891
#preflight 61ee8ed1ef289ffc6de22851

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18707811 in //UE5/Release-5.0/... via CL 18707812 via CL 18707952
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18707959 by paul chipchase in ue5-main branch]
2022-01-24 09:12:04 -05:00
mark lintott
5dda670d1e Fix for Virtual Assets patload notification popping too fequently
#jira UE-136222
[FYI] lauren.barnes
#preflight 61ead65df63a4c1de093b6fb

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18689931 in //UE5/Release-5.0/... via CL 18689944 via CL 18689956
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18689970 by mark lintott in ue5-main branch]
2022-01-21 10:57:43 -05:00
paul chipchase
1bc341f7ec The virtualized asset statistic panel now displays the correct values in the Time and Size columns
#rb trivial
#jira UE-137075
#rnx
#preflight 61b21e1a5c61dba07b35d8c0

- The time column was showing the size data and vice versa, as the columns were originally the other way around.
- Fixed alignment issues
- Fixed a typo in the DisplayPayloadActivityInfo lambda

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18419813 in //UE5/Release-5.0/... via CL 18422467
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422725 by paul chipchase in ue5-release-engine-test branch]
2021-12-09 14:47:31 -05:00
mark lintott
066109181d Fixed issue where the Virtual Payload PullCount became negative
#preflight 61a7a581e8314ee7b586ffff

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18340296 in //UE5/Release-5.0/... via CL 18340312
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18340324 by mark lintott in ue5-release-engine-test branch]
2021-12-01 11:49:50 -05:00
mark lintott
e0d24c21b9 Added Notification events to VA system
Added notification UI for reporting errors syncing bulk data
Added notification UI for displaying sync activity
#rb paul.chipchase
#jira none
#preflight 619d3c8a47752856c96d119f

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18273993 in //UE5/Release-5.0/... via CL 18274011
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18274015 by mark lintott in ue5-release-engine-test branch]
2021-11-23 15:05:13 -05:00
mark lintott
cb4dbb08fa Updated VA UI so that a clear message is given if the feature is currently disabled.
#rb trivial
[FYI] paul.chipchase, patrick.finnegan
#jira none
#preflight 619ccff6f70a9e92db375117

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18268522 in //UE5/Release-5.0/... via CL 18268536
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18268540 by mark lintott in ue5-release-engine-test branch]
2021-11-23 06:54:34 -05:00
mark lintott
3aeb570fc3 Fix for Zen Statistics in UI not adding up correctly
#jira UE-135043
#rb trivial
#preflight 619cbae43a72199267459842

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18268176 in //UE5/Release-5.0/... via CL 18268179
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18268181 by mark lintott in ue5-release-engine-test branch]
2021-11-23 05:39:59 -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