Commit Graph

683 Commits

Author SHA1 Message Date
bob tellez
d4a5ddeb20 #UE4 Better FGCObject reporting in obj refs. FGCObject names are now reported in the "obj refs" console command, provided that they pass in FGCObject::GGCObjectReferencer as the referencer when calling AddReferencedObjects. FGCObjects may now also implement GetReferencerPropertyName to describe more details about how it references an object.
#ROBOMERGE-VERSION: 349-6578295
#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 6542056 via CL 6542588 via CL 6542593
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6578718 by bob tellez in Dev-VR branch]
2019-05-20 14:14:27 -04:00
nick darnell
246f1e0104 Adding const variants of some of the more common AddReferencedObject(s) functions to allow for FGCObjects to store const pointers to UObjects or collections and report those references easily, otherwise people make the mistake of creating local ptrs that can't be nulled out correctly.
#rb Robert.Manuszewski
[FYI] Dan.Hertzka

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 5830834 via CL 5830835 via CL 5835213 via CL 5835996
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5876858 by nick darnell in Dev-VR branch]
2019-04-12 21:13:56 -04:00
bob tellez
deeafb033b #UE4 Improve logging when assets fail to load. Failing to get the package linker will now produce fewer redundant log messages and all failure messages will include the asset that failed to load as well as the asset that was requesting the linker where possible.
#rb Robert.Manuszewski

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 5713888 via CL 5714486 via CL 5714487
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5723933 by bob tellez in Dev-VR branch]
2019-04-03 22:21:45 -04:00
marc audy
83d3103481 Rework sparse delegate storage to not use uobject annotation and manage its own map and lock state. This eliminates unnnecessary annotation cache overhead and ensures entire operation on map is completed while the lock is in place rather than copying per-object map out of the annotation and then moving modified inner per-object map back in to the annotation as two separately locked actions.
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5483896 via CL 5483909 via CL 5483913 via CL 5487278 via CL 5487454
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5510133 by marc audy in Dev-VR branch]
2019-03-22 17:25:12 -04:00
steve robb
fa5082908a Fix for warnings about engine classes being hot reloaded when they haven't even changed.
#jira UE-71581
#rb none
[FYI] jamie.dale
#lockdown cristina.riveron

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 5459196 in //UE4/Release-4.22/... via CL 5459199
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5477267 by steve robb in Dev-VR branch]
2019-03-20 13:30:59 -04:00
robert manuszewski
10da75c078 Fixing issues with objects not being serialized before they are being ConditionallyPostLoaded by other objects and LoadContext related crashes
#rb none
#jira UE-69177

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 5401696 in //UE4/Release-4.22/... via CL 5401697
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5412053 by robert manuszewski in Dev-VR branch]
2019-03-15 06:07:24 -04:00
Ryan Vance
35eb0041ab Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
#rb integration

[CL 5387703 by Ryan Vance in Dev-VR branch]
2019-03-13 15:19:08 -04:00
marc audy
820736a82c A second attempt at soothing Linux build errors
#jira UE-71127
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5335697 via CL 5335698 via CL 5335818 via CL 5335829
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5387252 by marc audy in Dev-VR branch]
2019-03-13 14:44:54 -04:00
jon nabozny
1c83b87b05 Fast TArray Delta Serialization
[REVIEW] [at]Brian.Bekich [at]Ryan.Gerleve [at]Mattias.Hornlund [at]Bart.Hawthorne [at]Peter.Engstrom [at]LouisPhilippe.Seguin
#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 5334271 via CL 5334273 via CL 5334274 via CL 5335302 via CL 5335303
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5387015 by jon nabozny in Dev-VR branch]
2019-03-13 14:38:20 -04:00
marc audy
a700a0cbef Attempt to fix linux CIS
#jira UE-71127
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5334253 via CL 5334255 via CL 5335168 via CL 5335172
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5387014 by marc audy in Dev-VR branch]
2019-03-13 14:38:18 -04:00
marc audy
cca8414090 Override GetCPPType in the multicast delegate TProperty specialization as the new hierarchy was using the TProperty version instead of the UMulticastDelegateProperty version.
This fixes nativization crash generating code for a multicast delegate.
#rb Phillip.Kavan
#rnx
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5313198 via CL 5313199 via CL 5315969 via CL 5316036
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5333405 by marc audy in Dev-VR branch]
2019-03-06 19:15:42 -05:00
marc audy
e464a221ab Provide a comment at the check that will occur if a sparse delegate is used on the stack so user has better understanding of why it is checking.
#rnx
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5313147 via CL 5313158 via CL 5315966 via CL 5316033
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5333404 by marc audy in Dev-VR branch]
2019-03-06 19:15:40 -05:00
marc audy
718ec962bc Dynamic Multicast delegates can now specify that their storage be stored in a sparse allocation for delegates that are expected to be bound rarely. The memory usage of an unbound sparse delegate is 1 byte instead of 16 bytes (for the empty array), however, a bound sparse delegate will have access overhead to retrieve the invocation list from the sparse object annotation.
The definition of the delegate type must specify the class and property name of the delegate that will use it and the type cannot be used outside of that context or just on the stack.
UMulticastDelegateProperty is now abstract and has 2 subclasses (UMulticastDelegateInlineProperty and UMulticastDelegateSparseProperty). The SparseProperty SignatureFunction will be a USparseDelegateFunction.
The sparse delegates do not work correctly with the python bindings at this point, but this will be visited soon.
#rb Michael.Noland
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5295832 via CL 5306530 via CL 5306657
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5323394 by marc audy in Dev-VR branch]
2019-03-06 18:07:13 -05:00
dan oconnor
2d3b206b62 Revert to old behavior of using a vcall to get the ubergraphframe due to misuse of event graph by animblueprintcompiler
#rb Phillip.Kavan
#jira None

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: dan.oconnor
#ROBOMERGE-SOURCE: CL 5235482 in //UE4/Release-4.22/... via CL 5235483
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5254722 by dan oconnor in Dev-VR branch]
2019-02-28 18:11:58 -05:00
josh adams
019c12863e - Merging Dev-Kairos/Engine/... to Main/Engine/...
- Brings over the necessary engine changes for embedding UE4 mobile as a dylib/so in native mobile app
- Various changes for facial animation, screen recording, others
- ARKit and ARCore plugins were removed, as deemed "not ready"
#rb many people

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 5201138 via CL 5203024 via CL 5226277
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5244512 by josh adams in Dev-VR branch]
2019-02-28 17:06:02 -05:00
jamie dale
9725673ec3 Editor Utilities now respond to editor requests to cleanse object instances by clearing their references to any objects pending purge
This fixes crashes where they would take references to things like an actor within a world, and then the active editor world was changed (which verifies against GC reference leaks).

#jira UE-69150
[FYI] Michael.Noland
#rb Lauren.Ridge

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 4987801 in //UE4/Release-4.22/... via CL 4987804
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5034266 by jamie dale in Dev-VR branch]
2019-02-16 07:56:54 -05:00
robert manuszewski
9bf13b8dcf Fixing CIS
#rb none

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 4981798 via CL 4981801 via CL 4982121 via CL 4984555
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5034149 by robert manuszewski in Dev-VR branch]
2019-02-16 07:52:42 -05:00
robert manuszewski
45845da7e1 Reduced Linker annotations memory usage by introducing new annotation array type that can reclaim memory from object ranges that no longer require the annotation
#rb none

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 4981648 via CL 4981653 via CL 4982090 via CL 4984532
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5034142 by robert manuszewski in Dev-VR branch]
2019-02-16 07:52:32 -05:00
louisphilippe seguin
f71b9148c7 Added an Error log when DOREPLIFETIME is not called on a replicated property inside GetLifetimeReplicatedProps
If you intentionally don't want to replicate this property, use the DISABLE_REPLICATED_PROPERTY to silence the Error (see cl 4962290 for the macros)

#rb ryan.gerleve
#jira UE-2686

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 4963253 via CL 4964116 via CL 4969310
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5031122 by louisphilippe seguin in Dev-VR branch]
2019-02-16 06:02:58 -05:00
louisphilippe seguin
7401c53cba Added DISABLE_REPLICATED_PROPERTY macro to explicitely disable the replication of a networked property in GetLifetimeReplicatedProps.
This is needed since we will start warning when we detect replicated properties not registered in GetLifetimeReplicatedProps

Added DISABLE_ALL_CLASS_REPLICATED_PROPERTIES macro to disable the replication of ALL replicated properties of a given class

Added RESET_REPLIFETIME macro that allows you to reenable a networked property that was Disabled in a base class.


#rb ryan.gerleve, peter.engstorm, jon.nabozny
#jira UE-2686

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 4962290 via CL 4963576 via CL 4965559
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5030634 by louisphilippe seguin in Dev-VR branch]
2019-02-16 05:44:25 -05:00
simon therriault
8274a0ddec FFilePath: Adding metadata to support relative path to project directory
#rb chris.gagnon
#jira UE-69621

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: simon.therriault
#ROBOMERGE-SOURCE: CL 4948231 in //UE4/Release-4.22/... via CL 4948232
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5026252 by simon therriault in Dev-VR branch]
2019-02-16 03:35:25 -05:00
robert manuszewski
cb7b9db3b6 Fixed cases where some objects would not get PostLoaded when playing standalone game or running uncooked server
#jira UE-69177
#rb none

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 4930034 in //UE4/Release-4.22/... via CL 4930037
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5019140 by robert manuszewski in Dev-VR branch]
2019-02-16 01:50:57 -05:00
Ryan Vance
b8f69c61f4 Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
#rb integration

[CL 4922272 by Ryan Vance in Dev-VR branch]
2019-02-06 13:27:58 -05:00
ben zeigler
d9bd907f7d #jira UE-69594 Remove NotifyObjectReferenceEliminated and HadReferenceKilled internal object flag as this code was disabled a year ago before it got publicly released
[CODEREVIEW] marcus.wassmer
#rb marc.audy

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 4901289 in //UE4/Release-4.22/... via CL 4901324
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4914326 by ben zeigler in Dev-VR branch]
2019-02-05 19:05:51 -05:00
jon nabozny
9690f63d8d [CODEREVIEW] jon.nabozny,jeff.williams
Merge conflict.
jon.nabozny, please merge this change by hand.
More info at https://robomerge.epicgames.net#FORTNITE

/src/robomerge_ue4_main_01/Engine/Source/Runtime/Engine/Private/RepLayout.cpp - merging //Fortnite/Dev-EngineMerge/Engine/Source/Runtime/Engine/Private/RepLayout.cpp#11


--------------------------------------
Don't initialize certain properties in FRepLayout and FObjectReplicator when we dont need them.

[at]Ryan.Gerleve [at]Brian.Bekich [at]Bart.Hawthorne [at]Peter.Engstrom [at]Mattias.Hornlund [at]LouisPhilippe.Seguin
#rb Peter.Engstrom

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 4883588 via CL 4883589 via CL 4883590 via CL 4890243 via CL 4890673
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4890675 by jon nabozny in Dev-VR branch]
2019-02-04 16:01:56 -05:00