37 Commits

Author SHA1 Message Date
jodon karlik
e81b1e140a 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 32486865 by jodon karlik in 5.4 branch]
2024-03-25 17:44:45 -04: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
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
mieszko zielinski
148b9d3479 Added a togglable support for debugging local/remote MassEntityManager added to GameplayDebuggerCategory_Mass and made similar possible for any category implementation.
#preflight 644b6f74d362ce2c93124359
#preflight 6453c391d863ba2621829b77

[CL 25339695 by mieszko zielinski in ue5-main branch]
2023-05-04 14:49:00 -04:00
Brian Bekich
933b3733c1 Handle gameplay debugger replicator in basic rep graph
#jira UE-183272
#jira UE-183273
#preflight 643963a0c947f6523a56e24c
#rb louisphilippe.seguin

[CL 25048869 by Brian Bekich in ue5-main branch]
2023-04-14 16:19:55 -04:00
frederic doll
7c2065815f Move display spawn points from LWM to GameplayDebugger
#rb yoan.stamant, karl.dubois, panos.grigoropoulos
#preflight 640f4ec20e1f02786be73478

[CL 24619166 by frederic doll in ue5-main branch]
2023-03-13 15:38:08 -04:00
mikko mononen
5f53df69f7 Gameplay Debugger: Added oriented box and capsule.
#jira UE-174418
#rb Maxime.Mercier
#preflight 640f0766363e9b40ab80ce8e

[CL 24611640 by mikko mononen in ue5-main branch]
2023-03-13 09:17:34 -04:00
Stephen Holmes
66e71fb368 Minor fix for previous submit accidentally replaing 0.2f with 0.
#Jira none
#review-24524627 trivial
#preflight none

[CL 24524623 by Stephen Holmes in ue5-main branch]
2023-03-06 12:17:16 -05:00
mikko mononen
64550e6581 GameplayDebugger: Added rectangle, polyline and segment list shapes.
#rb Mieszko.Zielinski
#preflight 63fdf200437ce3e7f3830f96

[CL 24441245 by mikko mononen in ue5-main branch]
2023-02-28 08:47:23 -05:00
joe kirchoff
4eb0d7b810 Remove unnecessary private include path
#rnx
#jira UE-177808

[CL 24351077 by joe kirchoff in ue5-main branch]
2023-02-21 17:19:34 -05:00