Commit Graph

428 Commits

Author SHA1 Message Date
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
kelby gamble
47421b4312 Destroy NavigationData in CleanUpAndMarkPendingKill to fix KillPendingKill errors
#tests Forced a call to CleanUpAndMarkPendingKill in each place that it can be called from to make sure that a crash doesn't occur
[REVIEW] [at]stephan.delmer, [at]robert.millar, [at]aris.theophanidis, [at]mieszko.zielinski

[CL 22099568 by kelby gamble in ue5-main branch]
2022-09-20 15:12:03 -04:00
Aris Theophanidis
3fe9ad80e1 [Navigation] Addition of a warning when exporting component with too many verticies.
With a custimizable warning threshold through the GeometryExportVertexCountWarningThreshold property.
#jira none
#rb Mieszko.Zielinski
#preflight 6324ca71121ffddebca1229b

[CL 22059323 by Aris Theophanidis in ue5-main branch]
2022-09-16 16:21:02 -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
stephen holmes
6489ad102b Remove FSerializeFloatAsDoubleHack. This was straight forward as we were not seriliazling any floats currently just FReals as doubles.
#preflight 631b5475a20b67673be95e8f
#jira UE-159397

[CL 21961617 by stephen holmes in ue5-main branch]
2022-09-12 05:16:38 -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
Filoppi
70811d24d0 PR #8622: Make UNavigationSystemV1::PerformNavigationBoundsUpdate() virtual (Contributed by Filoppi)
#jira UE-135077
#rb Mieszko.Zielinski
#preflight 6312012fd34a78c1123f1a86

[CL 21758036 by Filoppi in ue5-main branch]
2022-09-02 09:22:31 -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
nicoell
97f7a3bd0e PR #8743: Prevent RecastNavMeshGenerator dirtying tiles if dirty areas merely touch them (Contributed by nicoell)
#jira UE-137894
#rb Mieszko.Zielinski
#rb Maxime.Mercier
#preflight 6308c69f1670d55ad5f683f2

[CL 21589037 by nicoell in ue5-main branch]
2022-08-26 09:30:11 -04:00
henrik karlsson
213a68824f * UnrealHeaderTool - Fixed so destructor is declared and defined for code gen classes
* UnrealTypeDefinitionInfo - Explicitly added destructor to make sure code gen is not adding.
* Niagra - Fixed bug where function was declared as non-inline virtual but implemented as inline.
* RecastNavmesh - Made sure destructor is outside #ifdef for UHT to more easily parse the header and generate proper code

#rb Tim.Smith
#preflight 630660a4c00af5e2946af6a6

[CL 21555810 by henrik karlsson in ue5-main branch]
2022-08-24 19:22:18 -04:00
Zak Middleton
80627edb67 #ue5 - Move ConvertArrayType and ConvertArrayTypeClampMax to UE::LWC namespace.
#jira none
#rb none
#preflight 62fc03232265303c4ba38780

[CL 21414621 by Zak Middleton in ue5-main branch]
2022-08-16 17:11:27 -04:00
Aris Theophanidis
ede20b5880 [Navmesh] Only include navigation relevant component when computing UNavModifierComponent navigation bounds
#jira UE-160479
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 62fb9cc6086f90bbc43940f5

[CL 21404301 by Aris Theophanidis in ue5-main branch]
2022-08-16 09:48:43 -04:00
guillaume guay
21dcd46188 Added GetPolyTileRef method to retrieve a FNavTileRef from a NavNodeRef
[REVIEW] [at]aris.theophanidis

#ROBOMERGE-AUTHOR: guillaume.guay
#ROBOMERGE-SOURCE: CL 21387545 via CL 21391189 via CL 21391883
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21394376 by guillaume guay in ue5-main branch]
2022-08-15 17:16:14 -04:00
Aris Theophanidis
940b9c12dd [Navmesh] Fix transformed convex collision generating wrong navmesh
#jira UE-150091
#rb Mikko.Mononen
#preflight 62fa4269153b17e7462e70ec

[CL 21385823 by Aris Theophanidis in ue5-main branch]
2022-08-15 09:08:19 -04:00
jeanfrancois dube
2675b5d1f0 Make sure AbstractNavData doesn't support external packaging since it's always transient.
#rb aris.theophanidis
#preflight none
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 21289529 via CL 21289675 via CL 21289719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21292428 by jeanfrancois dube in ue5-main branch]
2022-08-09 13:26:27 -04:00
aris theophanidis
fa28636eff Fix crash in PIE on navmesh RebuildAll() using normal navmesh in a WP world
#rb Yoan.StAmant
#preflight none
#rnx

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21202572 via CL 21202595 via CL 21202604
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21204064 by aris theophanidis in ue5-main branch]
2022-07-21 13:31:44 -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
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
rex hill
daa2865149 Attempted fix for crash on startup due to possible corrupt DDC of some NavCollisionData
#preflight skip
#rb josh.adams

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21117715 via CL 21119897 via CL 21119938 via CL 21120256
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142576 by rex hill in ue5-main branch]
2022-07-17 22:49:23 -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
65a4bfdf07 [Navigation] Make ANavSystemConfigOverride not spatially loaded
#rb Yoan.StAmant
#preflight 62cee714d00f3c208e49f407

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21072470 via CL 21072508 via CL 21072525
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21079759 by aris theophanidis in ue5-main branch]
2022-07-13 16:28:32 -04:00
aris theophanidis
1cfe7b5e40 [Navmesh] When building a standard navmesh in a partitioned world, make sure the navigable world is loaded before building.
#rb Yoan.StAmant
#rb Patrick.Enfedaque
#preflight 62cede61b90bf53969727331

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21071925 via CL 21072005 via CL 21072034
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21079721 by aris theophanidis in ue5-main branch]
2022-07-13 16:27:55 -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