Commit Graph

347 Commits

Author SHA1 Message Date
stephen holmes
5aa9445cf5 Added LLM tags for the navigation octree.
Also removed two unnecessary tags in the nav mesh code.
The new LLM tags mirror the existing STAT_Navigation_CollisionTreeMemory functionality.

#preflight 61e9be95f160213534a34b64?step=5a6e

#ROBOMERGE-OWNER: stephen.holmes
#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18680481 via CL 18681738 via CL 18682025 via CL 18682845 via CL 18682857 via CL 18682876
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18682897 by stephen holmes in ue5-main branch]
2022-01-20 17:35:30 -05:00
aris theophanidis
5c12d1675a Fix for navmesh queries (related to CL 18595413)
In the ANavigationData::RebuildAll() flow, NavDataGenerator->RebuildAll() is called and it releases the detour navmesh to make a new one. In that flow, the new dtNavMesh params where never sets, causing m_bvQuantFactor to be 0 and navmesh queries to fail.
(not that RebuildAll() flow can be called automatically when bNavigationAutoUpdateEnabled is enabled in editor)
#jira UE-139610
#rb Stephen.Holmes
#preflight 61e9643e276892ce10921113

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18673754 in //UE5/Release-5.0/... via CL 18674060 via CL 18674106
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18674160 by aris theophanidis in ue5-main branch]
2022-01-20 09:45:01 -05:00
Aris Theophanidis
2bd1f24a66 [WP Navmesh] Fix removed actors still showing in the editor actor list after navmesh build
Enable usage of source control provider when building WP navmesh
Fix issue with deleted packages being added to source control
Make sure WP navmesh actor in WP levels remains empty (data is provided by navmesh chunk actors)
#jira UE-114032
#rb Yoan.StAmant
#robomerge 5.0
#preflight 61e839b93778a195dee90f08

[CL 18659327 by Aris Theophanidis in ue5-main branch]
2022-01-19 11:44:26 -05:00
mieszko zielinski
1cbf547e86 Added error case vlogging to FPImplRecastNavMesh::ProjectPointToNavMesh
[REVIEW] [at]Stephen.Holmes
#preflight 61e80c023778a195dee0eefd

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18657187 in //UE5/Release-5.0/... via CL 18657192 via CL 18657197
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18657211 by mieszko zielinski in ue5-main branch]
2022-01-19 08:25:34 -05:00
aris theophanidis
5b72c692c0 Fix navmesh not generating on the default map floor when NavMeshBoundsVolume is placed perfectly flat with the surface (which used to occur by default)
#jira UE-137292
#rb Maxime.Mercier
#preflight 61e1d91c6462b347f4c6099d

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18622649 in //UE5/Release-5.0/... via CL 18622654 via CL 18622660
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18622676 by aris theophanidis in ue5-main branch]
2022-01-14 15:25:22 -05:00
stephen holmes
e50f3afb72 Recast Memory Optimizations
#rb Aris.Theophanidis, Mikko.Mononen
#preflight 61dffc545c17cc8daba9ccd7

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18595413 in //UE5/Release-5.0/... via CL 18595426 via CL 18595434
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18596691 by stephen holmes in ue5-main branch]
2022-01-13 10:09:07 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
Aris Theophanidis
de767a0440 [Navmesh] Fix CalculateMaxTilesCount() changing per platform and target
#rb Yoan.StAmant, Guillaume.Guay
#fyi Karl.Dubois, Loic.Devaux
#robomerge FnMain
#preflight 61d5d02c1a3fd09dcbd39db0

[CL 18520620 by Aris Theophanidis in ue5-main branch]
2022-01-05 12:26:19 -05:00
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
sebastien lussier
732e9340be Renamed misnamed "LOD" Actor category to "HLOD"
* More fitting documentation/name for the bEnableAutoLODGeneration property (now using the HLOD category)
* Side effect of this change is that the HLOD Layer property is now hidden on a lot of classes were it wasn't wanted
* Improved property display name/comments for AActor::bEnableAutoLODGeneration, now "Include Actor in HLOD" (UPrimitiveComponent has a "Include Component in HLOD" property)
#rb jeanfrancois.dube
#preflight trivial
#jira none

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 18475316 in //UE5/Release-5.0/... via CL 18481106 via CL 18481116
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18481120 by sebastien lussier in ue5-main branch]
2021-12-16 19:02:30 -05:00
sebastien lussier
9930202287 Renamed misnamed "LOD" Actor category to "HLOD"
* More fitting documentation/name for the bEnableAutoLODGeneration property (now using the HLOD category)
* Side effect of this change is that the HLOD Layer property is now hidden on a lot of classes were it wasn't wanted
* Improved property display name/comments for AActor::bEnableAutoLODGeneration, now "Include Actor in HLOD" (UPrimitiveComponent has a "Include Component in HLOD" property)
#rb jeanfrancois.dube
#preflight trivial
#jira none

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 18475316 in //UE5/Release-5.0/... via CL 18481106
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18481116 by sebastien lussier in ue5-release-engine-test branch]
2021-12-16 19:01:40 -05:00
ppiastucki
abb137bf35 PR #8709: Make ApplyVoxelFilter virtual (Contributed by ppiastucki)
#rb mieszko.zielinski
#jira UE-137275
#preflight skip

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18475078 in //UE5/Release-5.0/... via CL 18480650 via CL 18480745
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18480875 by ppiastucki in ue5-main branch]
2021-12-16 18:30:50 -05:00
ppiastucki
d494ebed26 PR #8709: Make ApplyVoxelFilter virtual (Contributed by ppiastucki)
#rb mieszko.zielinski
#jira UE-137275
#preflight skip

#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 18475078 in //UE5/Release-5.0/... via CL 18480650
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18480745 by ppiastucki in ue5-release-engine-test branch]
2021-12-16 18:24:21 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
stephen holmes
34fbec0ed7 Added safety check to nav mesh loading in case code with older nav mesh version attempts to load newer versioned nav mesh.
#rb Mikko.Mononen
[FYI] Aris.Theophanidis

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18418266 in //UE5/Release-5.0/... via CL 18418281
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18418292 by stephen holmes in ue5-release-engine-test branch]
2021-12-09 08:42:03 -05:00
stephen holmes
958f8a9d70 [Backout] - CL18404146
[FYI] Stephen.Holmes
Original CL Desc
-----------------------------------------------------------------
Memory optimizations for Recast (Detour). I used UE_LOG in recast as it's already there. Also I only added [at]UE BEGIN [at]UE END for the big stuff as a hint that its been changed in case of issues.

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18417786 in //UE5/Release-5.0/... via CL 18417810
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18417812 by stephen holmes in ue5-release-engine-test branch]
2021-12-09 07:11:32 -05:00
stephen holmes
d81cea02c3 Memory optimizations for Recast (Detour). I used UE_LOG in recast as it's already there. Also I only added [at]UE BEGIN [at]UE END for the big stuff as a hint that its been changed in case of issues.
[at]Aris.Theophanidis, [at]Mikko.Mononen
#preflight 61b0706418370fb3a0e6da2c

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18404146 in //UE5/Release-5.0/... via CL 18404149
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18404152 by stephen holmes in ue5-release-engine-test branch]
2021-12-08 04:50:39 -05:00
jeanfrancois dube
3f12778841 World Partition Grid Placement
- Deprecated enum EActorGridPlacement and replaced AActor::GridPlacement by bIsSpatiallyLoaded.
  - It makes more sense from a user perspective to set an actor as "non-spatially loaded" instead of "always loaded", especially with data layers.
  - If we ever need it, having the possibility to set actors to use their location or bounds to go in the grid will be a per-grid setting.

#rb richard.malo, sebastien.lussier
#preflight 61af8bf10e59fd0ab0f93cc4

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18395825 in //UE5/Release-5.0/... via CL 18395836
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18395850 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-07 11:50:24 -05:00
aris theophanidis
44dfa7e172 [Navmesh] Validate bounds passed to FNavigationOctree::AddNode
#rb Yoan.StAmant, Luciano.Ferraro
#preflight 61ae3454674c129867a72680

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 18383534 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v896-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 18383559 by aris theophanidis in ue5-release-engine-test branch]
2021-12-06 11:44:18 -05:00
jon nabozny
f89b654be6 Changes to SceneVisibility
1.  Nanite meshes are not longer marked as always visible, and will go through the standard rendering culling / pipeline.
2.  Add coarse frustum culling using the already existing scene octree.
3.  Remove Distance visibility bit array, and converted only usage to using the visibiliity map.  (Spoke with Kenzo about this, the original was put in due to differences between distance a vis flags, but this has been fixed)
4.  Optimized Frustum culling methods across the board.

[at]Graham.Wihlidal [at]krzysztof.narkowicz [at]andrew.firth
#preflight 6137e0d1d9c85a00015375cb

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: brandon.dawson
#ROBOMERGE-SOURCE: CL 17459502 via CL 17911378 via CL 18360795 via CL 18361127
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18361363 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 18:21:56 -05:00
luciano ferraro
c1511879e5 Added a log that shows when a dirty area is dirtying one or more tiles:
- usable to understand (per navmesh) how many tiles we are dirtying and what the biggest offenders are

[REVIEW] [at]Loic.Devaux, [at]Guillaume.Guay, [at]Mieszko.Zielinski, [at]Aris.Theophanidis
[FYI] philippe.painchaud, Felix.Laplante, Patrick.Carroll, Guillaume.Morreel, Josselin.Francois


#ROBOMERGE-AUTHOR: luciano.ferraro
#ROBOMERGE-SOURCE: CL 18299019 via CL 18300916 via CL 18300964 via CL 18301452 via CL 18301480
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18301490 by luciano ferraro in ue5-release-engine-test branch]
2021-11-26 14:26:02 -05:00
stephen holmes
a0eb390e23 Fix for unnecessarily rebuilding of nav mesh based on the number of bits requried to store maxTiles.
#rb Mikko.Mononen
#preflight 619e8ddd801b361978cbd1ef

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18292987 in //UE5/Release-5.0/... via CL 18292992
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18292996 by stephen holmes in ue5-release-engine-test branch]
2021-11-25 03:31:41 -05:00
luciano ferraro
f67fc6cdd4 Removed unnecessary nullptr check on DestNavMesh which is triggering PVS for some old code
[FYI] Mieszko.Zielinski, Aris.Theophanidis

#ROBOMERGE-AUTHOR: luciano.ferraro
#ROBOMERGE-SOURCE: CL 18285166 via CL 18285174 via CL 18285183 via CL 18286627 via CL 18286686
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18286715 by luciano ferraro in ue5-release-engine-test branch]
2021-11-24 14:11:25 -05:00
luciano ferraro
2b8cebedbd (per navmesh) avoided dirtying nav areas that have been requested by a source object that is not supposed to generate geometry onto the navmesh (via FNavigationOctreeElement::ShouldUseGeometry): optional via bUseVirtualGeometryFilteringAndDirtying (disabled by default)
Added a new weakptr "OptionalSourceObject" in the FNavigationDirtyArea, needed to support the previous change

#rb Mieszko.Zielinski, Aris.Theophanidis
[FYI] philippe.painchaud, Felix.Laplante, Patrick.Carroll, Guillaume.Morreel, Loic.Devaux, Guillaume.Guay

#ROBOMERGE-AUTHOR: luciano.ferraro
#ROBOMERGE-SOURCE: CL 18281932 via CL 18281953 via CL 18281968 via CL 18282252 via CL 18282290
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18282297 by luciano ferraro in ue5-release-engine-test branch]
2021-11-24 07:04:55 -05:00