Commit Graph

66 Commits

Author SHA1 Message Date
ben zeigler
4ea8ed1aa1 Lower verbosity of spammy replay read log line
#rb brian.bekich
#preflight none
#jira none

[CL 24433326 by ben zeigler in ue5-main branch]
2023-02-27 17:06:22 -05:00
brian bekich
fc9d803d18 Refactoring how current replay info is accessed and updated to avoid extra file reads during recording
#preflight 63d964be67116074a88334a0
#rb louisphilippe.seguin, jon.fairchild

[CL 23972799 by brian bekich in ue5-main branch]
2023-02-02 13:26:33 -05:00
Brian Bekich
2cd4a1c575 Changed engine/game network version to be custom versions
Changed replay header version to be a custom version
Changed local file replay streamer version to be a custom version

#jira UE-149900
#preflight 639a40e12540a78d27a7c884

[CL 23836403 by Brian Bekich in ue5-main branch]
2023-01-24 15:04:19 -05:00
bryan sefcik
4b8a83790a Updated to use UE_INLINE_GENERATED_CPP_BY_NAME.
#jira
#preflight 637c388f170bc34a93587526

[CL 23244381 by bryan sefcik in ue5-main branch]
2022-11-22 20:17:33 -05:00
brian bekich
472edd5698 Improvements to tracking/handling of replay/streamer errors
#preflight 6337011ec37844870a1363b4
#rb john.barrett, ryan.gerleve

[CL 22283948 by brian bekich in ue5-main branch]
2022-09-30 19:16:01 -04:00
brian bekich
bf79f47b24 Handle potential crash on invalid bad checkpoint metadata
Handle potential crash on invalid read lengths from local stream archive

#rb john.barrett

[CL 21998432 by brian bekich in ue5-main branch]
2022-09-13 22:14:48 -04:00
brian bekich
9bcab1ddd3 Clear spectator controller references in StopDemo
Add some additional error logs in local file streamer

#rb ryan.gerleve

[CL 21916044 by brian bekich in ue5-main branch]
2022-09-09 00:54:05 -04:00
brian bekich
55d783feaa Adding additional replay result codes for decryption failure and event not found
#jira UE-153948
#rb louisphilippe.seguin

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 20463143 via CL 20463755 via CL 20463855
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v952-20449836)

[CL 20464339 by brian bekich in ue5-main branch]
2022-06-01 22:23:02 -04:00
brian bekich
bef70da1c7 Add overload of AddRequestToCache that is move aware
Trim memory from stream archive before appending new chunk to avoid realloc when possible
Adding Reset method to FLocalFileStreamFArchive
Empty -> Reset on internal archive buffers that are frequently reused

#rb ryan.gerleve

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19479781 via CL 19482266 via CL 19485254 via CL 19494862 via CL 19495149
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19498417 by brian bekich in ue5-main branch]
2022-03-24 13:27:01 -04:00
brian bekich
246949a72b Adding AppendReplayCommonAttributes to the replay streamer interface that calls new static INetworkReplayStreamer::OnReplayGetAnalyticsAttributes
Replay streamer interface adjustments for common analytics needs

#rb ryan.gerleve, jason.adcock

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 19407565 via CL 19411318 via CL 19425242 via CL 19425363
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429479 by brian bekich in ue5-main branch]
2022-03-17 19:06:28 -04:00
jason adcock
4473ccaa7e Issue: Replay playback does not start at 0.
Problem: We are updating DemoCurrentTime in TickDemoPlayback before the ReplayStreamer has any data.
Fix: Make sure we dont update time before we have data to play.

#jira UE-134367
#rb brian.bekich

#ROBOMERGE-AUTHOR: jason.adcock
#ROBOMERGE-SOURCE: CL 18869134 via CL 18869157 via CL 18869176 via CL 18870527 via CL 18870956
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18871011 by jason adcock in ue5-main branch]
2022-02-04 15:06:34 -05:00
justin marcus
bfd4fba736 Allow clean-up of temp replay files saved to persistent storage by FSaveGameNetworkReplayStreamer if deleting normal cached replays doesn't free enough space.
[REVIEW] [at]Brian.Bekich [at]Jon.Nabozny [at]Daniel.Lamb
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18834444 via CL 18835811 via CL 18836032 via CL 18836118 via CL 18845055 via CL 18845719
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18845795 by justin marcus in ue5-main branch]
2022-02-03 13:26:09 -05:00
justin marcus
a9b1526dbd Fix some bugs in FLocalFileNetworkReplayStreamer::GetDemoFreeStorageSpace()
- Fix not falling back to a physical space check if the managed storage quota is unlimited.
- Fixed some comparisions where 0 should have been a valid value.
- Fixed returning total physical size instead of free physical size.
- If the demo save directory doesn't exist, create it so we can get sizes even before demos have been saved.
[REVIEW] [at]Daniel.Lamb [at]Brian.Bekich [at]Ryan.Gerleve
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18665008 via CL 18673442 via CL 18673460 via CL 18673473 via CL 18674303 via CL 18674323 via CL 18674373
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679690 by justin marcus in ue5-main branch]
2022-01-20 15:20:46 -05:00
justin marcus
e26cc033e5 Fix replay cleanup code using the wrong path when cleaning replays at startup on console. This meant that replays wouldn't be cleaned up until another one was saved.
[REVIEW] [at]Daniel.Lamb
#rb [at]Brian.Bekich
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18660910 via CL 18665136 via CL 18665806 via CL 18665975 via CL 18667781 via CL 18667828 via CL 18668189
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18668378 by justin marcus in ue5-main branch]
2022-01-19 18:29:27 -05:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Chris Varnsverry
16230185c0 - Merge CL's 15977926, 15978323, 15978393, 15978401 and 15981176 from //UE5/RES to //UE5/Main
- Moves CoreOnline headers into their own module

#jira UE-113427
#fyi Matt.Peters
#tests built EdTest, QAGame, and one internal project in DevEd Win64

[CL 16036320 by Chris Varnsverry in ue5-main branch]
2021-04-16 13:16:39 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
brian bekich
a083ae7254 Fix to respect the cached in memory chunk loading path, and not generate errors on scrub.
[FYI] ryan.gerleve, ben.hinchliffe

#ROBOMERGE-SOURCE: CL 13187536 via CL 13191327 via CL 13191401 via CL 13191547
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13191582 by brian bekich in Main branch]
2020-05-05 18:38:50 -04:00
brian bekich
415b1d6db1 Adding"localReplay.AllowEncryptedRecording" in non-shipping builds to forcably disable replay encryption
#rb jon.nabozny

#ROBOMERGE-SOURCE: CL 13059224 via CL 13059225 via CL 13059228 via CL 13059230
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13059235 by brian bekich in Main branch]
2020-04-28 15:03:09 -04:00
brian bekich
14e042ed85 Failing to uncompress/decrypt a stream chunk will now fail playback
#rb ryan.gerleve

#ROBOMERGE-SOURCE: CL 13044071 via CL 13044073 via CL 13044074
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13048203 by brian bekich in Main branch]
2020-04-27 12:51:53 -04:00
ben hinchliffe
1be1c3bd90 Log the amount of space available when we begin replay recording
[FYI] brian.bekich, jon.nabozny


#ROBOMERGE-OWNER: ben.hinchliffe
#ROBOMERGE-AUTHOR: ben.hinchliffe
#ROBOMERGE-SOURCE: CL 12161661 via CL 12161662 via CL 12161700
#ROBOMERGE-BOT: (v661-12148976)

[CL 12161706 by ben hinchliffe in Main branch]
2020-03-13 07:37:45 -04:00
brian bekich
91f28d3bdd Removing deprecated replay streamer calls that were using user strings
(and thus, references to GWorld)

#rb ryan.gerleve, jon.nabozny


#ROBOMERGE-SOURCE: CL 11215614 via CL 11215622
#ROBOMERGE-BOT: (v644-11213502)

[CL 11224997 by brian bekich in Main branch]
2020-02-04 17:59:03 -05:00
Ryan Gerleve
35e095a9d8 Copying //UE4/Dev-Networking @ CL 11201841 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11202190 by Ryan Gerleve in Main branch]
2020-01-31 18:46:22 -05:00
brian bekich
d23b09f917 Add check for valid replay file name in StartStreaming
#jira UE-86026
#rb jon.nabozny, ryan.gerleve


#ROBOMERGE-SOURCE: CL 10971263 via CL 10973511 via CL 10973548
#ROBOMERGE-BOT: (v632-10940481)

[CL 10973925 by brian bekich in Main branch]
2020-01-13 20:04:27 -05:00