Commit Graph

46 Commits

Author SHA1 Message Date
gwennael arbona
8447ce8b7b Fix build errors with merged modular builds
#rnx
#rb john.huelin

[CL 35049069 by gwennael arbona in ue5-main branch]
2024-07-24 04:31:22 -04:00
louisphilippe seguin
5732f62e42 Added cvar to prevent gameplaydebuggermanager from automatically getting spawned
#rnx
#rb Guillaume.Guay

[CL 34525162 by louisphilippe seguin in ue5-main branch]
2024-06-20 08:31:32 -04:00
matt peters
2078e1a01a GameplayDebugger: taking "Hidden" setting into consideration
#rnx
#rb Lukasz.Furman

[CL 34154353 by matt peters in ue5-main branch]
2024-06-06 08:49:08 -04:00
mieszko zielinski
5185820c78 Massaged UGameplayDebuggerLocalController::OnDebugDraw to get rid of CA_SUPPRESS(6011) there, also made the code safer as a bonus.
#jira UE-213451
#rb mikko.mononen

[CL 33296043 by mieszko zielinski in ue5-main branch]
2024-04-29 05:22:02 -04:00
steve robb
20e93ad90b Fixed potentially uninitialized variables.
#jira UE-87511

[CL 33146357 by steve robb in ue5-main branch]
2024-04-22 14:54:14 -04:00
steve robb
bd31b2021c Fixed miscelleneous potentially uninitialized FVectors.
#jira UE-87511

[CL 32980682 by steve robb in ue5-main branch]
2024-04-15 20:17:01 -04:00
ben zeigler
12107abc07 Fix some world-bound UObjects that subclass FTickableGameObject to correctly disable tick on Deinitialize/BeginDestroy so they will not crash when trying to tick after GC starts.
These fixes are equivalent to the recent change 32555870 that fixed TickableWorldSubsystem.
#jira UE-204963
#rb jodon.karlik, Mieszko.Zielinski

[CL 32866852 by ben zeigler in ue5-main branch]
2024-04-10 18:43:25 -04:00
jodon karlik
ade65f47ea If the Gameplay Debugger is active while quitting, then restore the temporarily disabled GAreScreenMessagesEnabled flag (which allows messages to log to the screen).
Previously, quitting the game (e.g. ending PIE) while the Gameplay Debugger was active would prevent further messages from being logged to the screen in subsequent plays.

#rb Mieszko.Zielinski

[CL 31728031 by jodon karlik in ue5-main branch]
2024-02-22 13:27:31 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
jodon karlik
5c8bd63a05 Improving ListenServer mode support for GameplayDebugger. It still ends up rendering on the listen server, but now we at least get the replicated data on the non-authoritative clients.
#rb ben.hoffman

[CL 31479785 by jodon karlik in ue5-main branch]
2024-02-14 12:19:59 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
aris theophanidis
8ae2292282 Remove Compression.h from CoreMinimal.h
It's about 1/4 of CoreMinimal.h but rarely needed (Compression.h pulls on CriticalSection.h and Map.h that are costly).
#rb Yoan.StAmant

[CL 30683417 by aris theophanidis in ue5-main branch]
2024-01-18 09:56:55 -05:00
yoan stamant
cf21e02cc2 [GameplayDebugger] adds key modifier 'Shift' support for local player selection
- <ActivationKey> : Toggle debugger ON + Single best pawn candidate selection (closest to reticle) | Toggle debugger OFF
- Hold <ActivationKey> : Toggle debugger ON (if not already opened) + Continuous best pawn candidate selection (closest to reticle)
- Shift + <ActivationKey> : Toggle debugger ON + Local player selection | Toggle debugger OFF
- Hold Shift + <ActivationKey> : Toggle debugger ON (if not already opened) + Local player selection
#rb jodon.karlik

[CL 30631930 by yoan stamant in ue5-main branch]
2024-01-16 08:45:30 -05:00
yoan stamant
1155db629c [GameplayDebugger] switched back to best target selection on activation instead of using the local player
#rb graham.matuszewski, mieszko.zielinski

[CL 30590948 by yoan stamant in ue5-main branch]
2024-01-12 08:13:20 -05:00
jodon karlik
ab14b3ea56 Small usability change for the Gameplay Debugger: Always select the local Pawn. Added instructions for selecting other Pawns. This helps the case where you're testing multiclient games and your initial selection is confusing.
#rb Mieszko.Zielinski

[CL 30396111 by jodon karlik in ue5-main branch]
2023-12-19 11:24:08 -05:00
louisphilippe seguin
5042063d50 Iris
*  Fixed bug with GameplayDebuggerCategoryReplicator when iris is globally enabled by default but overriden via the gamemode

#rb Mattias.hornlund
#rnx
[FYI] josselin.francois

[CL 30347262 by louisphilippe seguin in ue5-main branch]
2023-12-15 09:05:41 -05:00
jodon karlik
169c64fbbb Gameplay Debugger now selects the local Actor on start-up if no other suitable Pawns are found (so you're likely to start with a valid Pawn -- the Player's Pawn). You still won't be able to re-select if you choose another Pawn, unless you re-enable the Gameplay Debugger or use GDT.SelectLocalPlayer.
#rb Mieszko.Zielinski, Yoan.StAmant

[CL 30091674 by jodon karlik in ue5-main branch]
2023-12-04 14:54:50 -05:00
mattias hornlund
53c49f5830 Iris
- Fixed issue with GameplayDebuggerCategoryReplicator not replicating multilpe part DataPacks correctly

#rb Peter.Engstrom

[CL 29311323 by mattias hornlund in ue5-main branch]
2023-11-01 06:54:58 -04:00
mieszko zielinski
a3e16d797a Fix to GameplayDebugger's drawing in multiplayer PIE that addresses the debugging view of one player being drawn in all players' viewports
[CL 29277428 by mieszko zielinski in ue5-main branch]
2023-10-31 11:39:10 -04:00
louisphilippe seguin
1577259def Fix crash with GameplayDebuggerCategoryReplicator when its held by ReplicationGraph. Setting it bReplicateToOwner should only have been done when Iris is actually running.
#rb Mattias.Hornlund

[CL 29181084 by louisphilippe seguin in ue5-main branch]
2023-10-27 09:47:53 -04:00
steve robb
83fe932303 Removed TAnd on variadic function argument checks.
#rb danny.couture

[CL 29087205 by steve robb in ue5-main branch]
2023-10-25 09:42:42 -04:00
mattias hornlund
a2d5e5b5b8 Iris
- Fixed bug in GameplayDebuggerCategoryReplicator when using Iris replication

[CL 28656637 by mattias hornlund in ue5-main branch]
2023-10-11 05:25:00 -04:00
steve robb
a84e22104b Replaced GET_VARARGS* macros with GET_TYPED_VARARGS*.
#rb james.hopkin
#jira UE-194628

[CL 28346416 by steve robb in ue5-main branch]
2023-09-29 13:00:07 -04:00
benjamin fox
450085ec92 Add missing Super::Tick call in AGameplayDebuggerPlayerManager::Tick
#rb jodon.karlik

[CL 28149752 by benjamin fox in ue5-main branch]
2023-09-22 15:05:28 -04:00
mieszko zielinski
ae3bbaff79 Mass gameplay debugger improvements:
- added an option to control "search range" for entity picking functionality
- massaged the entity scoring based on distance and angle to the camera, to better match intuitive expectations (the score is not a weighted average of angle and distance)
- made the category react to FMassDebugger::OnEntitySelectedDelegate broadcasts and causing it to trigger when an entity gets picked via the category (this improves synchronization with MassDebugger).

[CL 26426184 by mieszko zielinski in ue5-main branch]
2023-07-18 03:09:44 -04:00