Commit Graph

213 Commits

Author SHA1 Message Date
rob mclaughlin
09e5fd7ab6 Checks to avoid access to an empty InitialLevels array in GeometryCollectionComponent
Submitting on behalf of Enrique due to preflight not submitting

[FYI] cedric.caillaud, peter.knepley, andrew.firth, enrique.garciaamezcu
#preflight https://horde.devtools.epicgames.com/job/6340545a62762f4a1baa3d9f
Preflight fail due to unrelated WorldPartition issue

[CL 22412822 by rob mclaughlin in ue5-main branch]
2022-10-07 19:45:55 -04:00
james studdart
a2b98f1d31 Check to avoid access to an empty array.
[FYI] cedric.caillaud, peter.knepley, andrew.firth
#rb cedric.caillaud
#preflight 633ee67d7b2517bbaa0b4bcb

[CL 22391437 by james studdart in ue5-main branch]
2022-10-06 21:44:57 -04:00
cedric caillaud
c9b78adb96 Chaos : fix server crash when replicating geometry collections that are missing InitialLevel attribute
#rb trivial
#preflight 633dded6f171e4e68b3bf857

[CL 22387992 by cedric caillaud in ue5-main branch]
2022-10-06 19:49:04 -04:00
cedric caillaud
6248b01af9 Chaos : fix character movement interaction with geometry collections
- Because of a circular module dependency between Engine and GeometryCollectionEngine, we need to check the class using its name instead of using a cast
- this is a workaround that should be addressed oin the future
- it can be disabled using a cvar : p.CVarGeometryCollectionImpulseWorkAround

#rb benn.gallagher, chris.caulfield, brice.criswell
#jira none
#preflight 633739acb34118b9b4b8a351

[CL 22341267 by cedric caillaud in ue5-main branch]
2022-10-04 19:02:56 -04:00
cedric caillaud
5668f4984b Geometry collection : make sure replicated break do trigger client side break events
[FYI] brice.criswell, michael.forot
#jira none
#preflight 633b32e62a5690003a259086

[CL 22323417 by cedric caillaud in ue5-main branch]
2022-10-03 21:14:59 -04:00
cedric caillaud
3d8507b427 Geometry collection : fix bounds not being updated properly when scrubbing start time from caches in editor mode
#rb trivial
#jira none
#preflight 633b2722f513083ba3fd6ee7

[CL 22323355 by cedric caillaud in ue5-main branch]
2022-10-03 21:13:17 -04:00
jimmy andrews
9cd97b8d1e make bone colors always recompute on actor selection, to work around stale bone colors causing bones to appear selected when they are not.
+ fix FScopedColorEdit::Sanitize() clearing the bUpdated flag when nothing was sanitized.

#rb rinat.abdrashitov
#rb cedric.caillaud
#preflight 6335a1813041fbb566554beb

[CL 22262791 by jimmy andrews in ue5-main branch]
2022-09-29 23:42:41 -04:00
ryan hummer
8f1c149a68 [Backout] - CL22210368
#preflight 63344a591a232c6fbf9ad3bb

[FYI] cedric.caillaud
Original CL Desc
-----------------------------------------------------------------
Chaos : fix character movement interaction with geometry collections

#rb benn.gallagher, chris.caulfield, brice.criswell
#jira none
#preflight 63335015e11ae0b19c224cb4

[CL 22232349 by ryan hummer in ue5-main branch]
2022-09-28 17:59:03 -04:00
cedric caillaud
eb7fb75f68 Chaos : fix character movement interaction with geometry collections
#rb benn.gallagher, chris.caulfield, brice.criswell
#jira none
#preflight 63335015e11ae0b19c224cb4

[CL 22226851 by cedric caillaud in ue5-main branch]
2022-09-28 14:02:24 -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
cedric caillaud
c1996c20c6 Chaos : Add GC component blue print functions
- CrumbleActiveClusters
- RemoveAllAnchors
- Also fixed a potential crash in fracture editor

#rb none
#preflight 632d013aa4769ad714d6cdc2

[CL 22173113 by cedric caillaud in ue5-main branch]
2022-09-24 13:28:05 -04:00
cedric caillaud
94d3ff5257 Fracture editor : better handling of existing vertex color with the bone color display option
- When ShowBoneColors option is off display vertex color

#rb jimmy.andrews
#jira UE-163379
#preflight 6329423fb40000c8f04f0dcb

[CL 22104713 by cedric caillaud in ue5-main branch]
2022-09-20 18:48:26 -04:00
cedric caillaud
7c7730284f Chaos geometry collection : add asset side ability to use size specific data and apply propgate to instance when placing it in a level
#rb brice.criswell
#jira none
#preflight 6324b5f88131e92d65f2132d

[CL 22064938 by cedric caillaud in ue5-main branch]
2022-09-16 21:25:31 -04:00
cedric caillaud
0991f3ab53 Chaos : fix damage threshold not being set from asset when adding it to a level ( got wrongly commented out with a previous CL )
#rb trivial
#jira none
#preflight none

[CL 22050251 by cedric caillaud in ue5-main branch]
2022-09-16 11:31:36 -04:00
cedric caillaud
b112fae3bd Chaos : Deprecate remove on fracture feature
- update headless chaos unit test

#jira none
#rb benn.gallagher, brice.criswell, chris.caulfield
#preflight 6322accc29254beccb14bbfe

[CL 22035762 by cedric caillaud in ue5-main branch]
2022-09-15 15:14:33 -04:00
cedric caillaud
a7f17d399a Chaos: replication imporvement
- Add a timer based hard snap for updating cluster position on the client
- Change remove on break to be replication aware to make sure server authoritative cluster cannot be broken by the client

#rb none
#preflight 63215a28b602881e8e03c4a6

[CL 22011198 by cedric caillaud in ue5-main branch]
2022-09-14 13:58:55 -04:00
jimmy andrews
bf1646ed4c make fracture editor more robust to invalid selections
#rb cedric.caillaud
#preflight 631b5b372b7fe03eb6faa73a

[CL 21924660 by jimmy andrews in ue5-main branch]
2022-09-09 14:15:27 -04:00
cedric caillaud
4d8371449d Chaos : geometry collection : fix removal logic for internal clusters
- better check for internal cluster parent and its state
- refactor logic for both remove on sleep and remove on break
- reverted previous fix that was not accounting for some of special cases ( CL 21715207 )

#rb none
#jira none
#preflight 6317ec50ab25bb91f5091cf9

[CL 21837890 by cedric caillaud in ue5-main branch]
2022-09-06 21:29:52 -04:00
cedric caillaud
b316aac562 Chaos destruction : fix internal clusters remove on break behavior
- Unbroken children of internal clusters do not get removed on break anymore

#rb none
#jira none
#preflight 630eac57a416f6df25eabee0

[CL 21715207 by cedric caillaud in ue5-main branch]
2022-08-30 21:32:37 -04:00
cedric caillaud
b9ebee6662 Chaos : fix body instance warning for geomtry collection when calling SetSsimulatePhysics
- make sure we do not set the OwnerComponent before calling the body instance matching function

#rb none
#jira UE-154615
#preflight 63092788e41c77ba7a231746

[CL 21597917 by cedric caillaud in ue5-main branch]
2022-08-26 16:19:48 -04:00
cedric caillaud
7cb43e2d16 Chaos : break and shock damage propapgation
- add per component and geo collection asset damage propagation data
- store damage propapagtion info at the proxy level ( sim parameters )
- refactor clustering code to properly account for procxy suim parameters
- add shock propagation model complementary to the break propagation model

#rb none
#jira none
#fyi brice.criswell
#preflight 63053a185a5d4e46243141d9

[CL 21520742 by cedric caillaud in ue5-main branch]
2022-08-23 17:17:36 -04:00
cedric caillaud
337d00d897 Chaos : geometry collection : now expose sockets from bone names (experimental )
#robomerge EngineMerge

#rb none
#jira none
#preflight 62da08424b6d775f5f21050c

[CL 21214002 by cedric caillaud in ue5-main branch]
2022-07-21 22:26:08 -04:00
Jimmy Andrews
c04af22c23 Guard against Levels attribute not being present on geometry collection in various fracture tools/utilities
#preflight 62d889723c3df3239096f6b2
#rb cedric.caillaud

[CL 21196031 by Jimmy Andrews in ue5-main branch]
2022-07-20 20:17:14 -04:00
cedric caillaud
7f7dc6842e Replication : add internal cluster information to rep clusters
#rb max.whitehead
#preflight 62d5d9f947779a730a48fa9b

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 21164636 via CL 21165746 via CL 21168913
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182699 by cedric caillaud in ue5-main branch]
2022-07-20 12:20:09 -04:00
cedric caillaud
572e15d50e Chaos : fix crash with level attribute not being present when copy to physics thread collection happens
#jira none
#preflight 62d6eaf4c0180d80719d74b9
#fyi max.whitehead, bill.henderson
#robomerge EngineMerge

[CL 21164998 by cedric caillaud in ue5-main branch]
2022-07-19 14:11:45 -04:00