Commit Graph

137 Commits

Author SHA1 Message Date
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
frederic doll
cebab6253b Extract method that forward information to NavData and NavGenerator when we activate NavInvoker usage
#rb olivier.lamothe
#preflight 63992d3ec16855964ddb3527

[CL 23514271 by frederic doll in ue5-main branch]
2022-12-14 13:17:25 -05:00
Stephen Holmes
be96784816 More conversion warnings fixes
#jira UE-166285
#preflight 636d16603852f8738a1d4775
#review-23055159

[CL 23079248 by Stephen Holmes in ue5-main branch]
2022-11-10 10:40:09 -05:00
Aris Theophanidis
fc0d8a0608 [Navigation] Adjust navoctree creation to fit navigable world bounds
#jira none
#rb Stephen.Holmes
#preflight 63593e23767e539ccabc238a

[CL 22779018 by Aris Theophanidis in ue5-main branch]
2022-10-26 10:16:17 -04:00
stephen holmes
9d2ba1bcec Fix for moving Nav Modifier Volume does not cause the navmesh to update.
Issue was IsActorInitialized() never returns true in the editor world.

#rb aris.theophanidis
#jira UE-166563
#lockdown julien.marchand
#preflight 63486908ce524ed3569bae84

[CL 22514780 by stephen holmes in ue5-main branch]
2022-10-13 18:57:17 -04:00
Stephen Holmes
83171ee89e Fix for UE-161611 Bots do not perform most actions around map in BR and mostly appear static.
Issue was that the nav mesh bounds were not offset which was preventing offset dynamic navmesh from generating.

#review-22328259
#preflight 633c09c2bd3c9b60f2b5bd42
#jira UE-161611

[CL 22330478 by Stephen Holmes in ue5-main branch]
2022-10-04 10:33:45 -04:00
aris theophanidis
3b3a47bb42 [Navigation] Don't display "navmesh needs to be rebuilt" on-screen editor message in partitioned world.
It's not meaningful since loading and unloading parts of the world triggers it.
#jira UE-150793
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 6336f6c2b34118b9b4a6c907

[CL 22279070 by aris theophanidis in ue5-main branch]
2022-09-30 15:45:31 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
Stephen Holmes
ef0154ac65 Upgraded a lot of the navigation code. to use FVector::FReal rather than floats. Areas of code where there was little to gain from doing this but would break existing code have been left as float.
#review-22090184
#jira UE-159397
#preflight 632af1846919ce3998bd2195

[CL 22111650 by Stephen Holmes in ue5-main branch]
2022-09-21 09:16:42 -04:00
Aris Theophanidis
c4652e5977 [WP Navmesh] Get the required overlap (to build world partitioned navmesh) from the navigation system instead of using a constant.
#jira UE-150793
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 63238e295a44869a7d0c7804

[CL 22038349 by Aris Theophanidis in ue5-main branch]
2022-09-15 17:03:58 -04:00
bryan sefcik
07894f4a07 Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631a717cec45fbf3d74d4ba7

[CL 21916033 by bryan sefcik in ue5-main branch]
2022-09-09 00:53:22 -04:00
aris theophanidis
4591a7aa67 [Navigation] Only update actor and components in navoctree if the actor is initalized.
#rb Mieszko.Zielinski
#preflight 631a3a1ea20b67673b9eef3d

[CL 21910448 by aris theophanidis in ue5-main branch]
2022-09-08 21:27:54 -04:00
aris theophanidis
52316cb264 [Navigation] Addition of a warning in UNavigationSystemV1::GetNavDataForProps to warn about using invalid FNavAgentProperties
#rb Maxime.Mercier
#preflight 630e013b556fc14dce6a3e15

[CL 21702480 by aris theophanidis in ue5-main branch]
2022-08-30 11:49:20 -04:00