Commit Graph

451 Commits

Author SHA1 Message Date
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
0669943a67 Fix crash when playing in viewport while navmesh is visible
(with other minor fixes)
#jira UE-169559
#rb trivial
#rnx
#preflight 636aef84376a9cd6a873ab2d

[CL 23044803 by Aris Theophanidis in ue5-main branch]
2022-11-08 19:22:46 -05:00
Aris Theophanidis
3b720bc803 Navigation display improvements
Addition of tile building statistics
Addition of partitioning type, navdata count and triangle count
Addition of profile tags in the tile generation
#jira none
#rb Mieszko.Zielinski
#preflight 636a92b7dc30a4ce96a8b738

[CL 23032335 by Aris Theophanidis in ue5-main branch]
2022-11-08 13:00:51 -05:00
Aris Theophanidis
7ca89a4180 Add navmesh and navsystem informations on screen when navigation display is enabled
Add bDrawTileBuildTimes property to display last tile build time
Add bDrawTileBuildTimesHeatMap property to display the navmesh as a colored heat map of tile build time
Fix UNavMeshRenderingComponent not clearing labels when they where turned off
Allow DebugLabels to be displayed in 2D on screen
Add draw distance clipping for navmesh label rendering
Addition of profile tags in NavMeshRenderingComponent
#jira none
#rb Mieszko.Zielinski
#preflight 63640460d308b70e6607fc77
#preflight 6364089cf233f06a1266b061

[CL 22960500 by Aris Theophanidis in ue5-main branch]
2022-11-03 14:49:40 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
daren cheng
f6c564b03b Address multiple typos for UEFN localization
#jira UE-166004 UE-168317
#rb Robb.Surridge
#preflight 6360165b7e083afb290e187f

[CL 22889284 by daren cheng in ue5-main branch]
2022-11-01 15:30:54 -04:00
frederic doll
8a000d660b Improve navmesh generation debugging :
- add ways to see the heightfield bound (and max height)
- improve logging for components added to the NavOctree

#rb aris.theophanidis

[CL 22792849 by frederic doll in ue5-main branch]
2022-10-26 17:27:00 -04:00
frederic doll
dac9c9c8d0 Improve dirty area warning report when receiving an oversized area
#rb aris.theophanidis

[CL 22792842 by frederic doll in ue5-main branch]
2022-10-26 17:26:51 -04:00
henrik karlsson
0da5962f86 Removed lots of includes in UE based on compile profiling
#preflight 6356cb02ae33b04ec1e358ac
#rb none

[CL 22786278 by henrik karlsson in ue5-main branch]
2022-10-26 15:02:30 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04: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
Aris Theophanidis
ae0bd8e9fa [Navmesh] In FPImplRecastNavMesh::GetNavMeshTilesIn(), use FRcTileBox to find min and max tile coordinates.
Note: At CL 21589037, FRcTileBox has been fixed to avoid including tiles that are just touching bounds borders so this applies the fix to GetNavMeshTilesIn() as well.
#rb Mieszko.Zielinski
#jira none
#preflight 634eec11864d9be23637affb

[CL 22607428 by Aris Theophanidis in ue5-main branch]
2022-10-18 14:45:15 -04:00
henrik karlsson
d14a9195f6 [FortniteGame]
* Another round of include removal

#rb none
#preflight 6349c2ac57048bdb823a8c4e

[CL 22547749 by henrik karlsson in ue5-main branch]
2022-10-15 02:09:42 -04:00
mikko mononen
b61e12b277 Nav Corridor: fix nav corridor or high cost neighbour polygons
- fixed DetourNavMeshQuery storeWallSegment() returning some segments in reverse
- fixed degenerate cases in polygon clipping
- change corridor expansion to take fixed area cost into account to not expand to hard to reach areas

#rb Mieszko.Zielinski
#preflight 6349200d3c37eed48151e71d

[CL 22539724 by mikko mononen in ue5-main branch]
2022-10-14 19:06:35 -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
aris theophanidis
515c53fba6 [WP Navmesh] For navmeshes supporting runtime generation, copy cache data when filling navigation data chunk actors.
#jira UE-166490
#rb Stephen.Holmes
#preflight 63402fb1b20780acc1f5c035
#lockdown Julien.Marchand

[CL 22404321 by aris theophanidis in ue5-main branch]
2022-10-07 13:38:43 -04:00
Stephen Holmes
5dfa33affb Remove commented out code only
#review-22373730
#jira none
#preflight none

[CL 22398203 by Stephen Holmes in ue5-main branch]
2022-10-07 06:31:01 -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
Aris Theophanidis
9386dee261 [WP Navmesh] Prevent creation of partitioned navmesh in non world-partitioned worlds
#jira UE-157334
#rb Mieszko.Zielinski
#preflight 63346e04e4106916067a3493

[CL 22225636 by Aris Theophanidis in ue5-main branch]
2022-09-28 13:07:40 -04:00
danny couture
54e2b17fb7 Fix assert while getting rid of old navigation data during serialize on async loading thread
#rb Kelby.Gamble, Aris.Theophanidis
#preflight 633464ad7e016676abd3edfa

[CL 22225575 by danny couture in ue5-main branch]
2022-09-28 13:04:06 -04:00
Stephen Holmes
1e39c05a09 Fix for crash while loading navmesh with async static mesh compilation enabled.
AddElementToNavOctree (through some of its resulting function calls) modifies PendingOctreeUpdates so invalidates the iterators, (via WaitUntilAsyncPropertyReleased(), UpdateComponentInNavOctree() ,  RegisterNavOctreeElement()).

This means we can't iterate through the TSet PendingOctreeUpdates in the normal way. Previously the code iterated through this which also left us open to other potential bugs in that we may have tried to modify elements we had already processed.

#Jira UE-156914
#review
#preflight 6331ae58b4515b7e22bb6ac8

[CL 22182942 by Stephen Holmes in ue5-main branch]
2022-09-26 10:16: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
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