Commit Graph

249 Commits

Author SHA1 Message Date
Arne Schober
ee6d0ecb20 M - More renameing the Octree to Octree2 in preparation to add a deprecation for the original class
#RB

[CL 12972489 by Arne Schober in Main branch]
2020-04-21 23:23:12 -04:00
Arne Schober
61bf307e6e M - Rename the Octree to Octree2 in preparation to add a deprecation for the original class
#RB

[CL 12965782 by Arne Schober in Main branch]
2020-04-21 20:01:52 -04:00
arne schober
ad158c7a44 FNEM - Compile fix after merge
#ROBOMERGE-SOURCE: CL 12807437 via CL 12807585
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12807592 by arne schober in Main branch]
2020-04-15 11:31:23 -04:00
arne schober
c875be4fd4 FNEM - Better naming
#RB none

#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 12789290 via CL 12789324 via CL 12789325
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12789326 by arne schober in Main branch]
2020-04-15 01:18:48 -04:00
arne schober
78549560ed FNEM - More cache-friendly and faster Octree implementation.
Also changing the interface for better encapsulation by cutting the origial itterator concept and focusing on small subset of configurable itteration strategies instead.
#RB Andrew.Scheidecker, Yoan.StAmant

#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 12785392 via CL 12785681 via CL 12785682
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12786795 by arne schober in Main branch]
2020-04-14 16:59:52 -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
ori cohen
22879e453d Remove chaos include guard macros
#rb none

#ROBOMERGE-SOURCE: CL 12672568 via CL 12672588 via CL 12672602 via CL 12672607
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12672626 by ori cohen in Main branch]
2020-04-08 10:19:29 -04:00
yoan stamant
6091b693a7 [NavigationSystem] Extracted methods from SpawnMissingNavigationData to be able to setup navigation data per ULevel.
#rnx
[at]aris.theophanidis [at]maxime.mercier
#rb aris.theophanidis maxime.mercier

#ROBOMERGE-SOURCE: CL 12653185 via CL 12653192 via CL 12653196
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12653198 by yoan stamant in Main branch]
2020-04-07 09:30:28 -04:00
ori cohen
107f99088a Added lvl1 include guards for chaos
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12623541 via CL 12624272 via CL 12624321 via CL 12624383
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12624496 by ori cohen in Main branch]
2020-04-06 12:55:19 -04:00
chris caulfield
f40cfae9e5 Chaos - THeightField<T> is now FHeightField
[FYI] benn.gallagher
#rb none
#jira UE-91363

#ROBOMERGE-OWNER: chris.caulfield
#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 12512574 via CL 12512650 via CL 12512651 via CL 12512652
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12512654 by chris caulfield in Main branch]
2020-04-01 18:49:41 -04:00
maxime mercier
50843beca6 Support lazy gathering on child of octree nodes
[at]yoan.stamant [at]stephen.holmes
#rnx

#ROBOMERGE-SOURCE: CL 12486785 via CL 12486790 via CL 12486791 via CL 12486793
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12487596 by maxime mercier in Main branch]
2020-03-30 12:13:52 -04:00
aris theophanidis
d7b96024c4 Fix mesh loading dependency for static mesh using a ComplexCollisionMesh
Fix phys meshes to be created before creating the navcollision
Rotate the navcollision DDC guid
Those are to fix missing collisions when creating navcoll for meshes using ComplexCollisionMesh
[REVIEW] max.whitehead
#rb max.whitehead

#ROBOMERGE-SOURCE: CL 12486579 via CL 12486668 via CL 12486691 via CL 12486714
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12487589 by aris theophanidis in Main branch]
2020-03-30 12:13:33 -04:00
bart hawthorne
545d0db5ec Build fix
#rb none
[FYI] maxime.mercier

#ROBOMERGE-SOURCE: CL 12474920 via CL 12474939 via CL 12474944 via CL 12474952
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12474966 by bart hawthorne in Main branch]
2020-03-27 17:05:27 -04:00
maxime mercier
b41adb0f6f Remove duplicated code and implemented the timesliced version of the geometry gathering
[at]yoan.stamant [at]stephen.holmes
#rnx

#ROBOMERGE-SOURCE: CL 12473663 via CL 12473676 via CL 12473690 via CL 12473707
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12473730 by maxime mercier in Main branch]
2020-03-27 15:16:33 -04:00
mikko mononen
7ae32ffba5 Fixed holes in NavMesh caused by single voxel areas near area boundary.
- implemented median filter which is applied after areas are marked for tile cache
- implemented debug draw functionality for tile cache build steps
- fixed DetourDebugDraw.h API export

#jira UE-90332
#rb Aris.Theophanidis Yoan.StAmant Mieszko.Zielinski


#ROBOMERGE-SOURCE: CL 12401446 via CL 12401447
#ROBOMERGE-BOT: (v671-12333473)

[CL 12402286 by mikko mononen in Release-Engine-Staging branch]
2020-03-25 08:22:04 -04:00
yoan stamant
bc4bfcf3cd RecastNavMeshGenerator: optim in MarkDirtyTiles by reducing search size in dirty tiles set and num of copies between containers. For cases with large amount of pending elements (>100000) average timing goes from >5 ms to ~0.6ms.
With this change we now preserve the order of the pending elements (if tile sorting isn't used).

[at]maxime.mercier


#ROBOMERGE-SOURCE: CL 12393557 via CL 12399272
#ROBOMERGE-BOT: (v671-12333473)

[CL 12399450 by yoan stamant in Release-Engine-Staging branch]
2020-03-24 20:14:08 -04:00
yoan stamant
40b391d62a [Asynchronous Pathfind Queries]
- Added synchronization between the async pathfind queries task and the game thread. The sync point is implemented in OnWorldPostActorTick. This prevents pathfind requests from running at the same time as Navmesh generation tasks or beyond the engine frame boundary.
- Replaced task to broadcast async pathfinding results by a queue that will be flushed by the NavigationSystem udpate. This prevents tasks from being started during loading or other undesired locations.
- Replaced task to register new active path instance by a lock to make sure all paths are registered for potential invalidation before adding a generated tile on the main thread.

#jira UE-71960
#jira UE-85440
[at]aris.theophanidis [at]maxime.mercier
#rb aris.theophanidis maxime.mercier


#ROBOMERGE-SOURCE: CL 12368557 via CL 12368564
#ROBOMERGE-BOT: (v671-12333473)

[CL 12370954 by yoan stamant in Main branch]
2020-03-23 11:01:36 -04:00
yoan stamant
b918f902d3 [UNavRelevantComponent] Fixed some calls to GetNavigationParent made before the cache initialization since this might result in improper registration in the NavOctree. Also added error reporting to detect those cases in the future.
[at]aris.theophanidis
#rb aris.theophanidis


#ROBOMERGE-SOURCE: CL 12368552 via CL 12368554
#ROBOMERGE-BOT: (v671-12333473)

[CL 12370944 by yoan stamant in Main branch]
2020-03-23 11:01:34 -04:00
maxime mercier
1275d81c2d Fix holes in navmesh when using lazy octree
#rb aris.theophanidis
#rnx


#ROBOMERGE-SOURCE: CL 12308460 via CL 12308477 via CL 12308961 via CL 12310607
#ROBOMERGE-BOT: (v670-12295787)

[CL 12310694 by maxime mercier in Main branch]
2020-03-19 16:25:28 -04:00
maxime mercier
715ffbccad Fix chaos export height field slice version, used when doing lazy octree gather geometry
[at]aris.theophanidis [at]yoan.stamant
#rnx


#ROBOMERGE-SOURCE: CL 12235737 via CL 12235740 via CL 12244074
#ROBOMERGE-BOT: (v667-12241502)

[CL 12244212 by maxime mercier in Main branch]
2020-03-18 09:15:58 -04:00
stephen holmes
647e7b9a39 Fix for XBox compiler only warning in deprecating IsBuildInProgress()
Runtime\NavigationSystem\Public\NavMesh/RecastNavMeshGenerator.h(612): warning C4996: 'FNavDataGenerator::IsBuildInProgress': This function is deprecated. Please use IsBuildInProgressCheckDirty Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
  Runtime\Engine\Public\AI/NavDataGenerator.h(36): note: see declaration of 'FNavDataGenerator::IsBuildInProgress'

[at]Yoan.StAmant


#ROBOMERGE-SOURCE: CL 12193107 via CL 12197076
#ROBOMERGE-BOT: (v662-12191386)

[CL 12197627 by stephen holmes in Main branch]
2020-03-16 09:22:57 -04:00
robert manuszewski
b7568cc694 Fix for UE-90683: You can no longer delete conflicting variables
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.

#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12191300 by robert manuszewski in Main branch]
2020-03-15 10:33:45 -04:00
bob tellez
5bc7d054c2 #UE4 Disable deprecation temporarily
[FYI] Stephen.Holmes


#ROBOMERGE-SOURCE: CL 12146946 via CL 12149229
#ROBOMERGE-BOT: (v659-12123632)

[CL 12149308 by bob tellez in Main branch]
2020-03-12 13:25:26 -04:00