Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
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
rveilleuxBHVR
f88852864c PR #9020: Fixed potential crash in ARecastNavMesh::InvalidateAffectedPaths (Contributed by rveilleuxBHVR)
Added same pattern to ANavigationData::PurgeUnusedPaths

#jira UE-147364
#rb Aris.Theophanidis, Yoan.StAmant
#preflight 62ab42d8e9031caf98ab609c

[CL 20688350 by rveilleuxBHVR in ue5-main branch]
2022-06-16 11:59:46 -04:00
aris theophanidis
4eb193aafc [Navmesh] Fix bShouldDiscardSubLevelNavData
Moving conditions allowing the property to take effect from ARecastNavMesh::PostInitProperties() to ARecastNavMesh::PostLoad() and delaying the check to discard navdata if there is no navigation system yet.
Removing previous ShouldDiscardSubLevelNavData() function that would fallback to read value from NavSysCDO when there is no navigation system.
#rb Yoan.StAmant, Maxime.Mercier
#jira UE-113463
[RN] fix Warning: UNavigationSystemV1 bShouldDiscardSubLevelNavData property was not working in some cases. With this fix navdata from sublevel will be properly discarted if the property is true (it's default value).
#preflight 62323fb4736af8e0822c951b

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 19412570 via CL 19414029 via CL 19427618 via CL 19427717
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429581 by aris theophanidis in ue5-main branch]
2022-03-17 19:10:55 -04:00
aris theophanidis
ecfc027b20 [Navmesh] Change bAutoDestroyWhenNoNavigation to be false by default
#jira UE-141097
#rb Mieszko.Zielinski
#preflight 61fd58fcdb09cf39bef212b6

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18870182 via CL 18870192 via CL 18870205 via CL 18871235 via CL 18871435
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18871466 by aris theophanidis in ue5-main branch]
2022-02-04 15:21:59 -05:00
marc audy
ad4b7854c8 Make rerun construction scripts editor only
#preflight 61fb0ccc5e35b9215b0283c0

[CL 18836864 by marc audy in ue5-main branch]
2022-02-02 18:40:33 -05:00
jeanfrancois dube
3f12778841 World Partition Grid Placement
- Deprecated enum EActorGridPlacement and replaced AActor::GridPlacement by bIsSpatiallyLoaded.
  - It makes more sense from a user perspective to set an actor as "non-spatially loaded" instead of "always loaded", especially with data layers.
  - If we ever need it, having the possibility to set actors to use their location or bounds to go in the grid will be a per-grid setting.

#rb richard.malo, sebastien.lussier
#preflight 61af8bf10e59fd0ab0f93cc4

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18395825 in //UE5/Release-5.0/... via CL 18395836
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18395850 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-07 11:50:24 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aris theophanidis
37408e3ef3 Remove references to UE4
#rb Mieszko.Zielinski
#jira UE-111790
#preflight 6166f28fe296ed00012aa75c

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 17801871 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17802186 by aris theophanidis in ue5-release-engine-test branch]
2021-10-13 12:36:30 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
mark lintott
11a12136ce #jira UE-111647
#rb johan.torp
GetLinkerUE4Version renamed to GetLinkerUEVersion

#ROBOMERGE-SOURCE: CL 15859222 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15859586 by mark lintott in ue5-main branch]
2021-03-30 06:44:49 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Aris Theophanidis
486573c33d Fix issue where AI would generate straight path on Android and Switch (ignoring obstacles)
This was caused by the unwanted and undefined behavior of passing fltmax to some int flags (causing flags to SkipStringPulling)
#rb Yoan.StAmant
#jira UE-88980
#jira UE-88035

Integration from CL 11616045

[CL 11657720 by Aris Theophanidis in Main branch]
2020-02-27 11:05:20 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Yoan StAmant
44adc35ac5 ResavePackagesCommandlet: added option to rebuild navigation data. This option will checkout/save/checkin only dirty packages
ANavigationData now marks package as dirty when rebuilding

[at]daniel.lamb [at]sebastien.lussier
#rb daniel.lamb, sebastien.lussier


#ROBOMERGE-OWNER: Yoan.StAmant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 10309310 via CL 10309311
#ROBOMERGE-BOT: (v593-10286020)

[CL 10309444 by Yoan StAmant in Main branch]
2019-11-19 12:56:15 -05:00
aris theophanidis
d1e11102ca Addition of a minimum CostLimit value to FPathFindingQuery::ComputeCostLimitFromHeuristic()
Exposing the minimum CostLimit parameter in NavigationTestingActor
Renaming MaxCost to CostLimit
[at]Guillaume.Guay [at]Maxime.Mercier
#jira UE-82572


#ROBOMERGE-SOURCE: CL 10055783 via CL 10055784
#ROBOMERGE-BOT: (v565-10026848)

[CL 10055786 by aris theophanidis in Main branch]
2019-11-06 10:31:29 -05:00
aris theophanidis
e9f4047af3 Support for a max cost in the Detour pathfinders and addition of the parameter in the navigation query
DetourNavMeshQuery -> Fix issue in updateSlicedFindPath not behaving like findPath (missing check for DT_UNWALKABLE_POLY_COST)
Looking forward to merge those or to make sure that the NavigationTestingActor uses the same pathfinder to generate its path than the one use to display debug steps
[at]Mieszko.Zielinski [at]Maxime.Mercier [at]Mikko.Mononen
#jira UE-82572


#ROBOMERGE-SOURCE: CL 10015638 via CL 10015644
#ROBOMERGE-BOT: (v562-10004402)

[CL 10015651 by aris theophanidis in Main branch]
2019-11-05 10:54:41 -05:00
jon nabozny
6b60663f39 Update Engine and Plugins to use the new Getters / Setters for UActorComponent, USceneComponent, and AActor replicated properties
[at]Ryan.Gerleve, [at]Brian.Bekich
#rb None


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 9290108 via CL 9290249
#ROBOMERGE-BOT: (v452-9288972)

[CL 9290520 by jon nabozny in Main branch]
2019-09-29 16:49:10 -04:00