stephen holmes
d2832ac5c8
Fix for NavLink indeterminism during cook.
...
[REVIEW] https://p4-swarm.epicgames.net/reviews/28192042
#jira UE-193476
[CL 28205210 by stephen holmes in ue5-main branch]
2023-09-25 16:55:17 -04:00
nicolas bonnelly
aa3762fc05
When rebuilding the NavigationData, we will now wait for assets to be done compiling before calling the navigation data generator. This will fix an issue where some assets that were just loaded (e.g. streamed static meshes) weren't compiled yet when generating the data, which resulted in an incomplete generation.
...
[REVIEW] [at]Aris.Theophanidis
[FYI] Patrick.Enfedaque, Loic.Devaux, Frederic.Doll, Mieszko.Zielinski, Stephan.Delmer
#rnx
[CL 28152445 by nicolas bonnelly in ue5-main branch]
2023-09-22 16:08:27 -04:00
aris theophanidis
916eacf5b3
Addition of the average tile generation count per second in LogNavigationHistory.
...
#rb Stephen.Holmes
[CL 28090737 by aris theophanidis in ue5-main branch]
2023-09-21 12:41:35 -04:00
yoan stamant
b45f7c19c9
[Navigation] Add total number of elements when rendering NavOctree details
...
#rb aris.theophanidis
[CL 28082096 by yoan stamant in ue5-main branch]
2023-09-21 07:38:18 -04:00
aris theophanidis
92bc25a04c
Ignore dirty areas originating from building actors spawned from instance actors (navmesh is expected to be already up to date from the instance actor being replaced).
...
#rb Yoan.StAmant
[CL 28064641 by aris theophanidis in ue5-main branch]
2023-09-20 19:09:55 -04:00
yoan stamant
d83e825445
[Navigation] Use primitive bounds when NavCollision is empty
...
#jira UE-195584
#rb aris.theophanidis
[CL 27974660 by yoan stamant in ue5-main branch]
2023-09-18 17:02:56 -04:00
stephen holmes
ff47299444
Follow up to [at]27912040 . Designed to help track down issues that are being caused by invalid bounds being passed in to FRcTileBox.
...
[REVIEW]
[CL 27965574 by stephen holmes in ue5-main branch]
2023-09-18 13:37:01 -04:00
huw bowles
6f3458c07b
Support provided InLocalToWorld transform rather than always returning bounds in absolute world space.
...
#rb aris.theophanidis, nicolas.bonnelly
#rnx
[CL 27958244 by huw bowles in ue5-main branch]
2023-09-18 11:01:49 -04:00
stephen holmes
bada563480
Fix for frequent check() in FRcTileBox due to invalid FBox bounds. This code should stop the issue being fatal and handle the bad case reasonably.
...
[CL 27912057 by stephen holmes in ue5-main branch]
2023-09-15 08:11:55 -04:00
yoan stamant
b9b27e456f
Fixed unimplemented virtual functions when WITH_RECAST is disabled
...
#jira UE-195153
#rb aris.theophanidis
#rb mikko.mononen
#rnx
[CL 27876498 by yoan stamant in ue5-main branch]
2023-09-14 09:28:58 -04:00
panos grigoropoulos
61749458fb
Add camera location to invoker seed locations when the pawn is null so nav mesh is not removed in cases where the player camera is near the invoker but the player pawn has been destroyed.
...
[CL 27829426 by panos grigoropoulos in ue5-main branch]
2023-09-13 09:59:02 -04:00
zach bethel
29f735f4a3
Modified scene proxy GetDynamicMeshElements calls to take a local command list instead of relying on the immediate command list and defer uniform expression cache invalidations.
...
- Calls to FRHICommandListImmediate::Get() replaced with Collector.GetRHICommandList()
#jira UE-194426
[CL 27813729 by zach bethel in ue5-main branch]
2023-09-12 18:32:22 -04:00
yoan stamant
9d4992961c
[Navigation] Added bounds to NavCollision since geometry can differ from StaticMesh
...
- Bumped the DDC version of the NavCollision
- Updated StaticMeshComponent to return bounds from the NavCollision when possible
- Fixed InstancedStaticMeshComponent not using the additional geometry of the NavCollision when exporting the custom navigable geomerty
- Updated InstancedStaticMeshComponent to compute bounds using the NavCollision for GetNavigationBounds, PartialNavigationUpdate and when gathering per instance transforms for navigation
- Updated UHierarchicalInstancedStaticMeshComponent to use bounds from the NavCollision for PartialNavigationUpdate
#jira UE-186525
#rb aris.theophanidis
[CL 27753562 by yoan stamant in ue5-main branch]
2023-09-11 10:47:11 -04:00
stephen holmes
a68ea9d01f
added more debug info to help track down cause of conversion bugs
...
[REVIEW]
[CL 27717387 by stephen holmes in ue5-main branch]
2023-09-08 13:15:26 -04:00
yoan stamant
a8a79b49b0
[Navigation]
...
- Added console command "ai.debug.nav.DrawDistance" to tweak navmesh draw distance at runtime.
- Added labels indicating the number of elements in each node if octree details are enabled.
#rb aris.theophanidis
[CL 27458247 by yoan stamant in ue5-main branch]
2023-08-29 14:40:34 -04:00
aris theophanidis
2992b8d39c
Fix usage of SHOW_NAV_EXPORT_PREVIEW define.
...
#rb Yoan.StAmant
[CL 27457956 by aris theophanidis in ue5-main branch]
2023-08-29 14:35:11 -04:00
yoan stamant
7416b266cd
[Navigation] Fixed warning log caused by NavMeshBoundsVolume actors gathered before their components get registered resulting in invalid dirty areas.
...
#rb ben.hoffman
#rnx
[CL 27287973 by yoan stamant in ue5-main branch]
2023-08-22 17:18:51 -04:00
aris theophanidis
53ed7c1062
Log invoker priority as string instead of the enum value
...
#rb Yoan.StAmant
[CL 27249202 by aris theophanidis in ue5-main branch]
2023-08-21 15:03:25 -04:00
aris theophanidis
a4ed8604ca
Improve FRecastNavMeshGenerator::MarkDirtyTiles speed by prefiltering dirty area bounds using the bounds of invokers seeds.
...
Also added some profile tags in MarkDirtyTiles.
#rb Yoan.StAmant
[CL 27049453 by aris theophanidis in ue5-main branch]
2023-08-11 18:04:18 -04:00
aris theophanidis
dfa8f060e7
Fixed navmesh dirty area logs to display bound sizes as indicated and Improved log readability.
...
#rb Yoan.StAmant
[CL 27002262 by aris theophanidis in ue5-main branch]
2023-08-10 14:41:17 -04:00
yoan stamant
b6f974cc30
[NavigationSystem] replaced requirement of PrimitiveComponent by INavRelevantInterface + UObject.
...
Added dedicated delegates for UObject based registration and update.
#rb maxime.mercier
#rb aris.theophanidis
#jira UE-186525
[CL 26981216 by yoan stamant in ue5-main branch]
2023-08-09 20:35:21 -04:00
Brice Criswell
8b12100fca
Fix no-Recast builds [Github Pull Request: 9579]
...
#jira UE-164492
#rb Maxime.Mercier, Aris.Theophanidis
[CL 26783940 by Brice Criswell in ue5-main branch]
2023-08-02 15:20:28 -04:00
robert manuszewski
cfe46a88ad
TObjectPtr compilation fixes ahead of enabling GC barrier
...
#rb trivial
[FYI] Kirill.Zorin, Johan.Torp, Zousar.Shaker
[CL 26767884 by robert manuszewski in ue5-main branch]
2023-08-02 06:51:30 -04:00
michael forot
6e4094da3e
Chaos implicit object ref counted ptr + union simple shapes (WIP)
...
#rb chris.caulfield
[CL 26722951 by michael forot in ue5-main branch]
2023-07-31 17:46:47 -04:00
aris theophanidis
d83f541bad
Make sure InvokersMaximumDistanceFromSeed is only active in game mode (ignore it in editor)
...
#rb Yoan.StAmant
[CL 26648486 by aris theophanidis in ue5-main branch]
2023-07-27 14:28:32 -04:00