Commit Graph

104 Commits

Author SHA1 Message Date
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
Aris Theophanidis
9dffa094ea [Navmesh] Fix issue with HISM not modifying a dynamic navmesh when there is no instance on component register and instances are added later on.
#jira UE-151022
#rb Maxime.Mercier
#preflight 627a72f3bd643341fef8a9cd

[CL 20122977 by Aris Theophanidis in ue5-main branch]
2022-05-10 10:34:14 -04:00
frederic doll
4d2020b091 Extract custom navlink bounds computation in NavigationSystem custom link registration
[REVIEW] 20012383
#rb aris.theophanidis, guillaume.guay

#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 20042854 via CL 20042872 via CL 20042879 via CL 20042887
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20044836 by frederic doll in ue5-main branch]
2022-05-04 14:05:55 -04:00
Aris Theophanidis
5c4115f532 [WP Dynamic Navmesh] First pass on WP dynamic navmesh
- Dynamic navmesh in a world partitioned map is now allowed to build a base navmesh and stream cells from it
- Ignore navigation dirtiness coming from objects loading/unloading that are part of the base navmesh
- Addition of vlog boxes on addition and removal of navigation data chunk actors
#rb Yoan.StAmant
#jira UE-150793
#preflight 626fe108220f89f0ad3fdb14

[CL 20008063 by Aris Theophanidis in ue5-main branch]
2022-05-02 10:10:57 -04:00
Aris Theophanidis
693bf3bed5 Bring back deprecated function with blueprint deprecation metadata to allow users to update.
#rb Yoan.StAmant
#jira none
#preflight 626972d5b710a00f18bda39e

[CL 19942821 by Aris Theophanidis in ue5-main branch]
2022-04-27 13:31:38 -04:00
Aris Theophanidis
670a1c58e5 Remove some deprecated methods and members in navigation
#rb Mieszko.Zielinski
#jira none
#preflight 62683700dd35c0d6cab70fca

[CL 19926513 by Aris Theophanidis in ue5-main branch]
2022-04-26 15:18:23 -04:00
Aris Theophanidis
cb1a4ec39f [Navmesh] Increase streaming radius by the size of the largest supported agent
#rb JeanFrancois.Dube
#rb Yoan.StAmant
#jira none
#preflight 6268139c853fdb6fddbef5e5

[CL 19923918 by Aris Theophanidis in ue5-main branch]
2022-04-26 13:24:13 -04:00
Aris Theophanidis
eb63f71539 Extract FNavigationDirtyElement from NavigationTypes.h and remove extra include dependencies
#rb Yoan.StAmant
#jira none
#preflight 624f38f7867d2945ae88e50d

[CL 19677087 by Aris Theophanidis in ue5-main branch]
2022-04-07 16:15:48 -04:00
Aris Theophanidis
53efc291b3 Fix "navmesh needs to be rebuilt" message appearing even when there is nowhere to build navigation.
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#jira UE-146811
#preflight 623b2b1c0820efd094a922af

[CL 19479223 by Aris Theophanidis in ue5-main branch]
2022-03-23 10:30:04 -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
1f4a2f5fdf Fix "Navmesh needs to be rebuilt" error message while running a Listen Server and Client by not creating default static navdata in a non-editor context.
#jira UE-144287
#rb Mieszko.Zielinski
#preflight 622a347cda1344416cb507bb

[CL 19337923 by Aris Theophanidis in ue5-main branch]
2022-03-10 12:29:48 -05:00
Aris Theophanidis
92006e5f77 Addition of OnNavigationInitDone delegate in UNavigationSystemBase
#jira UE-114032
#rb Mieszko.Zielinski
#robomerge 5.0
#preflight 619d01ed47752856c967eaaf

[CL 18270615 by Aris Theophanidis in ue5-main branch]
2021-11-23 10:56:25 -05:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
james keeling
8059f622f1 Fix Navigation System overzealously re-building DynamicModifiersOnly-type navigation data during OnWorldInitDone when AutoGenerateNavigationData is disabled. Re-factored the check for dynamic navmesh generation type to its own function and replaced the code in RebuildAll, CanRebuildDirtyNavigation, and OnWorldInitDone.
#jira UE-131764
#preflight 61688a1cc46ae60001d3c791
#rb Aris.Theophanidis, Mieszko.Zielinski

#ROBOMERGE-AUTHOR: james.keeling
#ROBOMERGE-SOURCE: CL 17828712 in //UE5/Release-5.0/... via CL 17828715
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17828720 by james keeling in ue5-release-engine-test branch]
2021-10-15 09:47:52 -04:00
aris theophanidis
309de56e39 [Navigation] Stop dirtying packages on any navigation generation finish.
That change was made to help with a user experience issue but it's causing more issues than benefit.
#rb Mieszko.Zielinski
#jira none
#preflight 615f06ef99e9f200016d630b

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 17750059 in //UE5/Release-5.0/... via CL 17758030
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17758252 by aris theophanidis in ue5-release-engine-test branch]
2021-10-07 22:25:02 -04:00
aris theophanidis
8b90d3b83a [World Partition Navmesh] Use iterative cell loading for building world partition static navmesh data
Include a fix in UWorldPartitionBuilder for IterativeCellOverlapSize not being applied to loaded bounds
#rb Yoan.StAmant
#jira UE-114032
#preflight 6155ce81549cbf0001d01f52

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 17679211 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17679261 by aris theophanidis in ue5-release-engine-test branch]
2021-09-30 12:10:56 -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
Tim Smith
a2237e050d LiveCoding Re-instancing
LIMITATIONS:

1) Re-instancing will only update UClass instance data.
2) Adding and removing properties should only be done towards the end of a class or structure and can not be followed by complex data types.
3) Adding and removing properties from a base class should not be done if a derived class contains complex data types.

KNOWN ISSUES:

1) Changes to enumerations and structures will not be reflected in existing blueprints.  However, adding new nodes to the blueprint will show the updated enumeration or structure.
2) If a class contains an enumeration or structure as a member, the class will not be re-instanced if enumeration or structure is changed.

CHANGES:

1) LiveCodingServer
1a) Modified to always execute certain static instances during load.
1b) Modified to exclude the _Statics static structures to avoid patching to old copies.

2) Added support for LiveCoding reinstancing
2a) Refactored deferred registration system for UClass, UEnum, and UScriptStruct to use a common system that works for normal game, hot reload and live coding.
2b) Type specific version check data is possible (i.e. enum doesn't have a size)
2c) Single registration static for UClass
2d) Single registration class for all types that is just a blind forward to API.
2e) Static and dynamic registrations use different API entry points to avoid having overloaded argument lists that just apply to one or the other.
2f) Shims for older API

3) New common "Reload" system to avoid using HotReload code.
3a) Support common delegates regardless of who is reloading/reinstancing.
3b) Re-instancing code moved from HotReload to Kismet2 (where the bulk of the re-instance code already existed).
3c) Modified PyWrapper to use new helper class instead of depending on HotRelaod
3d) Added WITH_RELOAD which is defined if HotReload or LiveCoding is enabled.
3e) Modifed existing code to use new #define and delegates.

Robert did the review on the changes covered by Part 2.  Remaining changes are all straightforward.

#rb robert.manuszewski
#jira UE-74493

[CL 15736777 by Tim Smith in ue5-main branch]
2021-03-18 08:13:59 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Aris Theophanidis
761fe05bad [Navigation WP] Properly using the vertical bounds of the collected tiles as the NavigationDataChunkActor bounds
#review @Yoan.StAmant
#rb Yoan.StAmant
#fyi Richard.Malo, JeanFrancois.Dube
#jira none

[CL 14641645 by Aris Theophanidis in ue5-main branch]
2020-11-03 10:20:13 -04:00