Commit Graph

142 Commits

Author SHA1 Message Date
Brice Criswell
73e2f7d494 Fix no-Recast builds [Github Pull Request: 9579]
#jira UE-164492
#rb Maxime.Mercier, Aris.Theophanidis

[CL 26785685 by Brice Criswell in 5.3 branch]
2023-08-02 16:01:19 -04:00
aris theophanidis
81d9936c58 [Navmesh] Addition of tile generation history and stats when LogNavigationHistory is set to Log.
#rb Mieszko.Zielinski

[CL 26036806 by aris theophanidis in 5.3 branch]
2023-06-16 01:50:35 -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
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