Commit Graph

304 Commits

Author SHA1 Message Date
Aris Theophanidis
1f4a2f5fdf Fix "Navmesh needs to be rebuilt" error message while running a Listen Server and Client by not creating default static navdata in a non-editor context.
#jira UE-144287
#rb Mieszko.Zielinski
#preflight 622a347cda1344416cb507bb

[CL 19337923 by Aris Theophanidis in ue5-main branch]
2022-03-10 12:29:48 -05:00
aris theophanidis
c66291a8dc Set IsSpatiallyLoaded to false by default for NavMeshBoundsVolume
#jira UE-143902
#rb Yoan.StAmant
#preflight 621914e61d1c50179947eca9
#lockdown julien.marchand
#rnx

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19152054 in //UE5/Release-5.0/... via CL 19153670
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161103 by aris theophanidis in ue5-main branch]
2022-02-25 19:34:38 -05:00
aris theophanidis
379c9008c5 [Navmesh] Fix broken "Mask Fill Collision Under" feature (regression from CL 17897123)
#jira UE-141641
#rb Yoan.StAmant
#rnx
#lockdown julien.marchand
#preflight 6201871ce9567e667309dbaa

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18895186 via CL 18895202 via CL 18895234 via CL 18896471 via CL 18896758
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18897012 by aris theophanidis in ue5-main branch]
2022-02-07 20:06:23 -05:00
aris theophanidis
ecfc027b20 [Navmesh] Change bAutoDestroyWhenNoNavigation to be false by default
#jira UE-141097
#rb Mieszko.Zielinski
#preflight 61fd58fcdb09cf39bef212b6

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18870182 via CL 18870192 via CL 18870205 via CL 18871235 via CL 18871435
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18871466 by aris theophanidis in ue5-main branch]
2022-02-04 15:21:59 -05:00
aris theophanidis
641029df84 Wrapping RawNavData pointer to help narrow a crash
(with some extra const)
#rb Maxime.Mercier
#preflight 61fc2b043b22793ca369a98d

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18852387 via CL 18852907 via CL 18853018 via CL 18854025 via CL 18854798
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18854824 by aris theophanidis in ue5-main branch]
2022-02-03 18:11:49 -05:00
marc audy
ad4b7854c8 Make rerun construction scripts editor only
#preflight 61fb0ccc5e35b9215b0283c0

[CL 18836864 by marc audy in ue5-main branch]
2022-02-02 18:40:33 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
aris theophanidis
5f924d7c06 [Navmesh] Moving the initialization of dtNavMesh parameters into the init() and serializing the parameters in ARecastNavMesh.
(for safer initialization flow and fix potential mismatch between navmesh actor and serialized navmesh data)
#rb Stephen.Holmes, Mieszko.Zielinski, Frederic.Doll
#preflight 61f7f4a3114ec25fe09cf120

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18790349 via CL 18790766 via CL 18791060 via CL 18791564 via CL 18791967
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792194 by aris theophanidis in ue5-main branch]
2022-01-31 12:29:15 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
stephen holmes
b96646319e Fix for broken nav mesh links after UE5 integrate. Submitting for Frederic Doll.
#rb Frederic.Doll, Stephen.Holmes, Aris.Theophanidis
#preflight 61f265a1706ac5ea0cf479b8

#ROBOMERGE-AUTHOR: stephen.holmes
#ROBOMERGE-SOURCE: CL 18752174 via CL 18752190 via CL 18752201 via CL 18752320 via CL 18752399
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18752407 by stephen holmes in ue5-main branch]
2022-01-27 07:31:13 -05:00
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
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