Commit Graph

271 Commits

Author SHA1 Message Date
Yoan StAmant
0b7b1f2f92 [EQSTestingPawn] refresh display and query on Undo/Redo
#jira UE-112041
#rb mieszko.zielinski
#preflight 627b9ddc0a5817c9d940a967

[CL 20136400 by Yoan StAmant in ue5-main branch]
2022-05-11 07:42:15 -04:00
stephan delmer
ec1dd2882d Changing the Pathfinding and PathfindingBatch EQS tests to use a function to get the nav filter.
#rb Daniel.Broder
#rnx

#ROBOMERGE-AUTHOR: stephan.delmer
#ROBOMERGE-SOURCE: CL 19028451 via CL 19028460 via CL 19028968 via CL 19029041 via CL 19029156 via CL 19031956
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v917-18934589)

[CL 19032180 by stephan delmer in ue5-main branch]
2022-02-17 03:44:22 -05:00
yoan stamant
ddc93930cb Fix localization issue #119824
[FYI] mieszko.zielinski
#preflight 61f7dd8abf3980c331f14727

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18788432 in //UE5/Release-5.0/... via CL 18788434 via CL 18788479
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18788485 by yoan stamant in ue5-main branch]
2022-01-31 08:11:04 -05:00
mieszko zielinski
4ebbb1b689 Added an option to EnvQueryGenerator_PerceivedActors to control whether all actors known to the AIPerceptionComponent will be gathered or only the ones actively, currently being perceived (like "visible at this very moment").
#preflight 61e687127f0c4b5aad56a991

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18637533 in //UE5/Release-5.0/... via CL 18637633 via CL 18637709
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637732 by mieszko zielinski in ue5-main branch]
2022-01-18 04:58:57 -05:00
mieszko zielinski
be7eb23c26 Remove a piece of test-time code accidentally left behind.
#rb Yoan.StAmant
#preflight skip

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18634053 in //UE5/Release-5.0/... via CL 18634057 via CL 18634061
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637417 by mieszko zielinski in ue5-main branch]
2022-01-18 04:34:29 -05:00
mieszko zielinski
cae7c8ca5c Minor touch-ups on recently added EnvQueryGenerator_PerceivedActors
#rb Yoan.StAmant
#preflight skip

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18632477 in //UE5/Release-5.0/... via CL 18632485 via CL 18632505
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18636701 by mieszko zielinski in ue5-main branch]
2022-01-18 00:02:18 -05:00
mieszko zielinski
2fc990cb2e Added a generic EQS generator collecting actors perceived by Contex (via AIPerceptionSystem)
#preflight 61e5559f006b17a68650b5b7

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18632135 in //UE5/Release-5.0/... via CL 18632152 via CL 18632160
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18636694 by mieszko zielinski in ue5-main branch]
2022-01-18 00:01:26 -05:00
luciano ferraro
126f40b957 Exposed RunNavProjection
[at]Loic.Devaux, [at]Josselin.Francois

#ROBOMERGE-AUTHOR: luciano.ferraro
#ROBOMERGE-SOURCE: CL 18509955 via CL 18509989 via CL 18510028 via CL 18510053 via CL 18510096 via CL 18510593 via CL 18510625
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18510650 by luciano ferraro in ue5-release-engine-test branch]
2022-01-04 13:36:35 -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
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
yoan stamant
42299b520f [DebugDrawDelegateHelper] rollback of delegate unregistration issue previous fix and implemented a different approach for cases where proxy is not created:
In some code paths for loaded actors the call order might be different since primitive registration gets deferred (i.e. FRegisterComponentContext != nullptr).

Case 1 (normal flow): FRegisterComponentContext == nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent : calls CreateSceneProxy
 > RegisterDebugDrawDelegate
 > UnregisterDebugDrawDelegate  ==> works fine

Case 2 (deferred AddPrimitive): FRegisterComponentContext != nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent : defers CreateSceneProxy
 > RegisterDebugDrawDelegate (skip register since not init)
 > CreateSceneProxy
 > UnregisterDebugDrawDelegate  ==>  ensures in UnregisterDebugDrawDelegate

With this new version `CreateRenderState_Concurrent` calls `RequestRegisterDebugDrawDelegate` that will take care of registering the delegate immediately or mark it for deferred execution. An explicit call to `ProcessDeferredRegister` is then required from `CreateSceneProxy` to implement proper flow:

Case 2 (fixed) (deferred AddPrimitive + deferred Register): FRegisterComponentContext != nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent: defers CreateSceneProxy
 > RequestRegisterDebugDrawDelegate: defers RegisterDebugDrawDelegate
 > CreateSceneProxy: calls ProcessDeferredRegister & RegisterDebugDrawDelegate
 > UnregisterDebugDrawDelegate  ==> works fine

Bonus:
- New DebugDrawComponent abstract class that is now used to share common functionalities between existing debug related components. Takes care of DelegateHelper registration flow to render text on screen from different sources.
- FDebugDrawDelegateHelper::InitDelegateHelper is no longer virtual and derived classes requiring extra data from their associated scene proxy should set it up from their overriden CreateSceneProxy
- FDebugDrawDelegateHelper derived classes should not override RegisterDebugDrawDelegate/UnregisterDebugDrawDelegate to use their `DrawDebugLabels` method since this is already a virtual method that would get called from the base class.
- Fixed a few ViewFlag members in the SceneProxy so the DelegateHelper base class can behave as expected

#jira FORT-419154
#rb mieszko.zielinski
#preflight 61703f8766ed7f0001c0faf1

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 17875336 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 17875370 by yoan stamant in ue5-release-engine-test branch]
2021-10-20 13:23:33 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
yoan stamant
2fa9d8e00f [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

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 17544171 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17544199 by yoan stamant in ue5-release-engine-test branch]
2021-09-16 16:50:03 -04:00
yoan stamant
b11aa112f7 [FDebugDrawDelegateHelper] Allow calls to method InitDelegateHelper from Parallel For called from game thread (i.e. IsInParallelGameThread() || IsInGameThread() )
Removed previous hack added in UEQSRenderingComponent  and fixed some typos in method names.
#rb mikko.mononen mieszko.zielinski
#preflight 60c887272da7840001313475

#ROBOMERGE-SOURCE: CL 16672461 via CL 16672469
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16672473 by yoan stamant in ue5-release-engine-test branch]
2021-06-15 08:21:34 -04:00
tehpola
6b69e6fd0d PR #7862: Fixing vlogging of EQS when a test filters out all items. (Contributed by tehpola)
#jira UE-115152

#ROBOMERGE-SOURCE: CL 16466741 in //UE5/Private-Frosty/... via CL 16466980
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v823-16466674)

[CL 16467000 by tehpola in ue5-release-engine-test branch]
2021-05-26 08:06:09 -04:00
tehpola
8e77d155fa PR #7862: Fixing vlogging of EQS when a test filters out all items. (Contributed by tehpola)
#jira UE-115152

#ROBOMERGE-SOURCE: CL 16466741 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16466980 by tehpola in ue5-main branch]
2021-05-26 08:05:27 -04:00
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
guillaume arruda
910efdc9e0 Make FEQSParamsExporter::AddNamedValuesFromObject properly work with composite generator by recursively adding values from subnode stored in array.
#rnx
[at]mieszko.zielinski [at]yoan.stamant


#ROBOMERGE-SOURCE: CL 16383164 via CL 16383169 via CL 16383176
#ROBOMERGE-BOT: (v804-16311228)

[CL 16383180 by guillaume arruda in ue5-release-engine-staging branch]
2021-05-19 07:47:38 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -04:00
UnrealBot
8afb476248 Branch snapshot for CL 16260158
[CL 16260158 in ue5-release-engine-staging branch]
2021-10-05 20:06:24 +00:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Mieszko Zielinski
a135f56450 Removed UE4 occurrences from AIModule's code
#review
#jira UE-111731
#jira UE-110971
#preflight 606f3458e1735d000154d6f8

[CL 15957740 by Mieszko Zielinski in ue5-main branch]
2021-04-08 13:31:25 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00