Commit Graph

149 Commits

Author SHA1 Message Date
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
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
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
aris theophanidis
dcdd05e34a Addition of InvokersMaximumDistanceFromSeed allowing to restrict invokers updating far from seed points (player positions by default).
#rb Yoan.StAmant

[CL 26645687 by aris theophanidis in ue5-main branch]
2023-07-27 13:08:25 -04:00
aris theophanidis
edf70fa762 Fix LogNavigationHistory log
#rb trivial

[CL 26491540 by aris theophanidis in ue5-main branch]
2023-07-20 14:36:22 -04:00
aris theophanidis
ccff6bbade [Navmesh] Addition of tile generation history and stats when LogNavigationHistory is set to Log.
#rb Mieszko.Zielinski

[CL 26012395 by aris theophanidis in ue5-main branch]
2023-06-15 09:37:15 -04:00
aris theophanidis
61d1ad8ca6 Fix editor performance issue caused by navigation building even if there is nowhere to build navigation.
The fix expect that there should be no difference in simulation mode.
#rb Mieszko.Zielinski

[CL 25896709 by aris theophanidis in ue5-main branch]
2023-06-09 12:35:32 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
aris theophanidis
baac550c36 Bump the priority of dirty tiles near invokers when using sorting by invokers priority.
#rb Yoan.StAmant
#rb Maxime.Mercier
#preflight 645d5428cf788a2558f97d75

[CL 25440013 by aris theophanidis in ue5-main branch]
2023-05-11 20:49:39 -04:00
stephen holmes
5a3e33d985 Fix for static analysis warning.
#preflight 645b5b1c4c3ec54e6eadb2aa
[REVIEW] trivial

[CL 25402366 by stephen holmes in ue5-main branch]
2023-05-10 08:01:51 -04:00
aris theophanidis
e6e1bbb3ba [Navmesh] Addition of invoker priorities
#rb Mikko.Mononen
#preflight 645951366534a4f504d98f0d

[CL 25382949 by aris theophanidis in ue5-main branch]
2023-05-08 22:04:12 -04:00
stephen holmes
59e7bb912b Navlink / offmeshconnection Ids are now based on a deterministic 64 bit city hash rather than a 32 bit incremental ID.
#jira UE-139061
[REVIEW] Yoan.StAmant
#preflight 645246b2743c256cd68c2b8f

#lockdown marc.audy

[CL 25333876 by stephen holmes in ue5-main branch]
2023-05-04 09:29:33 -04:00
aris theophanidis
7456e518ed Improve the "oversized dirty area" warnings to work with active tile generation (including invokers).
This changes fixes multiple unnecessary warnings when dirty areas are not touching the active tiles.
#rb Yoan.StAmant
#preflight 644fccd9e73c4d47c3a81936

[CL 25285052 by aris theophanidis in ue5-main branch]
2023-05-01 12:12:46 -04:00
aris theophanidis
503b0847c0 [Navmesh] Logs: addition of LogNavInvokers log category and addition of logs detailing invoker registration.
CSVProfiler: addition of NavInvokers csv category and track invokers count in csv.
#preflight 641866b8345ab08524b167d9

[CL 24723855 by aris theophanidis in ue5-main branch]
2023-03-20 17:14:15 -04:00
aris theophanidis
8609b7ea39 [Navmesh] CSV profiler: addition of task count and task wait time per layer
#rb Yoan.StAmant
#preflight 6410acfc290c6e5d7707ffa1

[CL 24643683 by aris theophanidis in ue5-main branch]
2023-03-14 16:39:38 -04:00
jeanmichel dignard
c7be2b7fbd FExec: Converted Engine Exec overrides to Exec_Runtime/Exec_Dev where:
- No additional routing was being done in Exec.
- No default parameter was being provided through the Exec override.

This is so we can turn off Exec overrides in certain configurations.

#rb none
#preflight 63f3fc331d71bcd26256868e

[CL 24343558 by jeanmichel dignard in ue5-main branch]
2023-02-21 13:09:41 -05:00
mieszko zielinski
ec52f1082c Cut out all AI-related UE_DEPRECATED(4.x) code
#preflight 63ede8f3e92f139c513f0cef

[CL 24256631 by mieszko zielinski in ue5-main branch]
2023-02-16 08:31:16 -05:00
frederic doll
29180598cb NavDataHandler improvement :
- move the NavOctree construction to be able to log the info
- reduce NavOctree radius to better fit the Navigation bounds. The NavOctree radius was based on the NavBound extent which can be sqrt(2) bigger than what is actually needed
- uniformize components logging to ease debugging

#rb mieszko.zielinski, aris.theophanidis
#preflight 63d943605428dc67b102489b

[CL 23941221 by frederic doll in ue5-main branch]
2023-01-31 18:34:11 -05:00
Stephen Holmes
fb04b63f62 Ensure that no reload is needed for NavArea Registration to take effect
#Jira UE-113659
#preflight 63c1144a1a06fc6105bcd9e0
#review-23662782

[CL 23675153 by Stephen Holmes in ue5-main branch]
2023-01-13 03:31:19 -05:00
Aris Theophanidis
6120172ad7 Changing "Navigation data generation finished" log to verbose to avoid having too many logs in the editor when moving static mesh in automatic navigation update mode.
#jira none
#rb Yoan.StAmant
#preflight 63c08489a06ab115ea8bb0e6

[CL 23670494 by Aris Theophanidis in ue5-main branch]
2023-01-12 17:22:16 -05:00
frederic doll
8b4e25d20f Add NavAgent selector in NavInvoker system : it allows to define areas where the navmesh should be generated for specific agents, not necessarily for all of them
#rb mieszko.zielinski, aris.theophanidis
#preflight 63bf05026729b05ec966f890

[CL 23658495 by frederic doll in ue5-main branch]
2023-01-11 20:55:27 -05:00
Aris Theophanidis
c8bfa7a2c7 Fix navigation bounds not being updated on load when "Update Navigation Automatically" is disabled.
This fixes world partitioned navmesh data chunks not being generated for areas covered by NavMeshBoundsVolume that are placed inside data layers.
#jira UE-172683
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#preflight 63bee2676729b05ec9541300

[CL 23646407 by Aris Theophanidis in ue5-main branch]
2023-01-11 11:32:53 -05:00