Commit Graph

18 Commits

Author SHA1 Message Date
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
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
aurel cordonnier
1ee4eed9aa Merge from Release-Engine-Test @ 17666640 to UE5/Main
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17668579 by aurel cordonnier in ue5-main branch]
2021-09-29 17:45:16 -04:00
yoan stamant
005d59471e [NavSystemConfigOverride] Moved the config setup from PostLoad to PostRegisterAllComponents/PostUnregisterAllComponents for Editor worlds to cleanup a dependency in the WorldSettings. This solves a problem where a level could not be removed and was causing a Fatal Error. Override will not be applied during cooking to avoid creating navigation system.
#rnx
[at]maxime.mercier

#ROBOMERGE-SOURCE: CL 12779387 via CL 12779392 via CL 12779395
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782282 by yoan stamant in Main branch]
2020-04-14 13:32:55 -04:00
bob tellez
24f4766e05 Back out changelist 12674180. Cook errors/warnings
[FYI] Yoan.StAmant

#ROBOMERGE-SOURCE: CL 12679667 via CL 12679668 via CL 12679674
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12679684 by bob tellez in Main branch]
2020-04-08 17:07:43 -04:00
yoan stamant
7a96969af5 [NavSystemConfigOverride] Moved the config setup from PostLoad to PostRegisterAllComponents/PostUnregisterAllComponents for Editor worlds to cleanup a dependency in the WorldSettings. This solves a problem where a level could not be removed and was causing a Fatal Error.
#rnx
[at]mieszko.zielinski [at]maxime.mercier

#ROBOMERGE-SOURCE: CL 12674180 via CL 12674194 via CL 12674202
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12674217 by yoan stamant in Main branch]
2020-04-08 11:33:09 -04: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
076be85aab UNavigationSystemConfig: resolve NavigationSystemClass directly instead of calling TryLoad that may generate warnings during loading. We use native classes for NavigationSystem and it should be resolvable at this point.
ANavSystemConfigOverride: made some changes to remove the requirements of deferred calls from the TimerManager for non game worlds so editor world will be ready for navigation data generation right after loading

#rnx
[at]aris.theophanidis [at]mieszko.zielinski
#rb aris.theophanidis, mieszko.zielinski


#ROBOMERGE-SOURCE: CL 10307976 via CL 10307981
#ROBOMERGE-BOT: (v593-10286020)

[CL 10307983 by yoan stamant in Main branch]
2019-11-19 10:54:41 -05:00
yoan stamant
683f2282e6 NavSystemConfigOverride: when loading config for editor world, we apply config from timer next tick to avoid warning when loading objects from PostLoad.
#rnx
[at]mieszko.zielinski


#ROBOMERGE-SOURCE: CL 9456262 via CL 9456285 via CL 9456287
#ROBOMERGE-BOT: (v495-9448618)

[CL 9456290 by yoan stamant in Main branch]
2019-10-07 14:58:06 -04: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
mieszko zielinski
47ba3c336d Changed when NavigationSystemConfigOverride initiates nav system creation at runtime
This change is needed in order to ensure that we create navigation system via the nav config override while outside of async-loading logic. Otherwise we severly limit navigation system instances' capabilities of loading assets (like NavArea BP classes).

#rb Stephen.Holmes
[at]Yoan.StAmant, [at]Stephen.Holmes, [at]Mikko.Mononen


#ROBOMERGE-SOURCE: CL 9149252 via CL 9149255 via CL 9149276
#ROBOMERGE-BOT: (v443-9013191)

[CL 9149282 by mieszko zielinski in Main branch]
2019-09-26 12:27:07 -04:00
mieszko zielinski
c9c9e0790d Reorganized how we configure SupportedAgents. From now on every NavigationSystem instance has data on the full set of SupportedAgents (as configured via ProjectSettings) but also has a SupportedAgentsMask, that marks agents supported by the instance. It has been done this way to keep filtered per-agent NavMeshBoundVolumes work regardless of which supported agents a nav sys instance wants to support.
This approach allowed for easy NavigationSystem's config update with NavSystemConfigOverride's properties. NavSystemConfigOverride can now specify if it wants to fully override the pre-existing nav sys instance or if it just wants to append new information (like supported agents) to the existing navigation system instance. There's also an option to do nothing if there's already a navigation system present.

This CL rolls-back a bunch of temp fixes done in past couple of days.

#rb Yoan.StAmant
Yoan.StAmant


#ROBOMERGE-OWNER: mieszko.zielinski
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 8187661 via CL 8193395 via CL 8207613
#ROBOMERGE-BOT: (v401-8057353)

[CL 8207758 by mieszko zielinski in Main branch]
2019-08-21 23:59:12 -04:00
guillaume guay
cc57ba02c6 - Moved the work done in ProcessPendingNavigation from a Task to be triggered via the navigation system tick, after the other required actors were processed such as navigation bound volumes and that the owning level of the navigation data is full loaded.
- Added a call to ConditionalPopulateNavOctree to fix navigation not being regenerated when adding a level with some navigation data to a current world that didn't have one.
- Renamed boolean to better names
- MarkPendingKill the navigation instance when no compatible nav bound for it in the navigation system insead of in the nav mesh generator (except for the abstract nav data)

#rnx
#cr maxime.mercier

Merging manually CL 7842753 using //Release-10.30 to //Main


#ROBOMERGE-SOURCE: CL 7881604 via CL 7914626
#ROBOMERGE-BOT: (v389-7813075)

[CL 7914819 by guillaume guay in Main branch]
2019-08-08 23:32:33 -04:00
yoan stamant
50ae2141b7 ANavSystemConfigOverride: Postpone override effect to next tick when world is ticking to prevent deletion of the navigation system while its getting updated.
#rnx
#rb maxime.mercier


#ROBOMERGE-SOURCE: CL 7846006 via CL 7846007 via CL 7846010 via CL 7861364
#ROBOMERGE-BOT: (v389-7813075)

[CL 7861416 by yoan stamant in Main branch]
2019-08-08 01:30:17 -04:00
guillaume guay
a8821f80b4 - Added navigation system config 'bUseNavDataInAdditionalLevelWhenDuplicatedAgent". When set to TRUE, adding or streaming an additional level containing an already registered navigation data, it will unregister current one and register the new one;
- Added navigation system config 'bGenerateNavDataWhenNoCompatibleNavBound". When set to TRUE (default) it will still generate navigation data if any NavBoundVolume is compatible with its NavDataConfig, if false it gets rid of that navigation data;
- Make sure that when "bSpawnNavDataInNavBoundsLevel" is TRUE, it builds the navigation data in the first level containing a NavBoundVolume that actually supports this navigation data config (not any first one);
- Added virtual method on NavigateSystem "OnNavSystemOverriden" to give a chance to inspect previous NavigationSystem when getting overriden by a nav config override;
- Added some missing NavigationSystem clean up logic.

#tests client/server standalone Creative AI, Phoebe and regular + editor
#cr maxime.mercier
[FYI] mieszko.zielinski, stephen.holmes, yoan.stamant


#ROBOMERGE-OWNER: guillaume.guay
#ROBOMERGE-AUTHOR: guillaume.guay
#ROBOMERGE-SOURCE: CL 7679442 via CL 7679443 via CL 7688466
#ROBOMERGE-BOT: (v383-7686620)

[CL 7688470 by guillaume guay in Main branch]
2019-08-01 12:53:04 -04:00
mieszko zielinski
20394910d1 Fixed NavigationSystemConfigOverride never creating an instance of NavigationSystem in PIE if it gets loaded as part of a sublevel
#rb none


#ROBOMERGE-SOURCE: CL 7249197 via CL 7262695
#ROBOMERGE-BOT: (v369-7254125)

[CL 7262761 by mieszko zielinski in Main branch]
2019-07-10 13:40:31 -04:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00