Commit Graph

124 Commits

Author SHA1 Message Date
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
kelby gamble
7be9f36979 Fixed NavMesh KPK error in when playing in a level with unsupported nav agents
#tests Entered a level that has some unsupported nav agents and made sure all the supported nav agents are still able to navigate. Checked that the modified code isn't run in levels that don't have any unsupported nav agents.
[REVIEW] [at]stephan.delmer, [at]robert.millar, [at]brandon.johnson

#ROBOMERGE-AUTHOR: kelby.gamble
#ROBOMERGE-SOURCE: CL 21191170 via CL 21191311 via CL 21192689 via CL 21193301 via CL 21194049
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21196388 by kelby gamble in ue5-main branch]
2022-07-20 20:37:43 -04:00
aris theophanidis
50bc74b4f8 [Navmesh] Add log tracking FRecastNavMeshGenerator RebuildAll() time (independently of the loading time)
Change OnNavigationGenerationFinished() to display actor label and full name instead of package name.
#rb Yoan.StAmant
#preflight 62d6d896dc4397d3840d7b30

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21165279 via CL 21171402 via CL 21171752
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183781 by aris theophanidis in ue5-main branch]
2022-07-20 12:57:26 -04:00
Stephen Holmes
3e0260876d Proper fix for Server Assert at FNavRegenTimeSlicer::TestTimeSliceFinished upon initializing a session. Previous fix @21062810 did not fix the actual issue.
#Jira UE-159228
#review-21071307
#preflight 62d191337e1c26dcd71e1619

[CL 21112498 by Stephen Holmes in ue5-main branch]
2022-07-15 12:42:42 -04:00
Aris Theophanidis
fbb9ebaa2c [Navmesh] Fix assert in FNavRegenTimeSlicer::TestTimeSliceFinished()
#jira UE-159228
#rb Maxime.Mercier
#preflight 62cddb0b127551eb25c714b3

[CL 21062810 by Aris Theophanidis in ue5-main branch]
2022-07-12 16:40:40 -04:00
Aris Theophanidis
164bc32338 Fix navmesh actor to use the beautified actor label
#rb trivial
#jira FORT-492382
#robomerge[FN_EngineMerge] Dev-EngineMerge
#rnx
#preflight 62cd8286634c069198a4b794

[CL 21056207 by Aris Theophanidis in ue5-main branch]
2022-07-12 10:33:55 -04:00
Aris Theophanidis
b9c3260a83 Allow ANavigationData to support external packaging
Prevent discard of sublevel navdata when using OFPA
Avoid Build Paths to dirty the Level package when Level uses OFPA
Beautify NavData actor labels when using OFPA
#jira FORT-492382
#rb Stephen.Holmes
#rb Richard.Malo
#robomerge[FN_EngineMerge] Dev-EngineMerge
#preflight 62c315595751c961937e79d8

[CL 20935889 by Aris Theophanidis in ue5-main branch]
2022-07-04 12:43:36 -04:00
Aris Theophanidis
922c0de02b [WP navmesh] Allow navmesh tile pool to be resizable when built through the UWorldPartitionNavigationDataBuilder (ignoring bFixedTilePoolSize)
#rb Yoan.StAmant
#jira none
#preflight 62bddb663f0d6beee296d52b

[CL 20899730 by Aris Theophanidis in ue5-main branch]
2022-06-30 13:55:48 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
Stephen Holmes
93eab593e0 Added debugging code to better track down slow time sliced sections of code.
#review-20593115
#rb Aris.Theophanidis
#preflight 62b1e968827ccccb2ce32cbc
#jira none

[CL 20759306 by Stephen Holmes in ue5-main branch]
2022-06-21 12:13:45 -04:00
Aris Theophanidis
f4369cac84 [Navmesh] Misc: merge namespace and remove deprecated log
#rb Mieszko.Zielinski
#jira none
#rnx
#preflight 62b09decef1c98455457dc23

[CL 20739735 by Aris Theophanidis in ue5-main branch]
2022-06-20 12:43:37 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
Aris Theophanidis
e65180d107 [WP Dynamic Navmesh] Handle preexisting spawned objects when loading cells
#rb Yoan.StAmant
#jira UE-150793
#preflight 6290c68a1f0041249bed5027

[CL 20392089 by Aris Theophanidis in ue5-main branch]
2022-05-27 08:58:40 -04:00
Aris Theophanidis
e2dab4ca3d [WP navmesh] Limit tile building to the loaded space when using a WP dynamic navmesh
- Update and use active tiles when using URecastNavMeshDataChunk
- Keep track of dirty areas origin
- Fix some logs TileRef
#rb Mieszko.Zielinski
#jira UE-150793
#preflight 6286493e9016c6dd8982744e

[CL 20279641 by Aris Theophanidis in ue5-main branch]
2022-05-19 09:59:18 -04:00