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]
Removed some unused functionality in FScriptLocation that wasn't being used and depended on a global variable.
#rb devin.doucette
[CL 15726794 by Tim Smith in ue5-main branch]
#rb Michael.Noland
#jira
#rnx
#ROBOMERGE-SOURCE: CL 13191242 via CL 13191244 via CL 13191248
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)
[CL 13191250 by marc audy in Main branch]
#rb Michael.Noland
#rnx
#jira
#ROBOMERGE-SOURCE: CL 13183805 via CL 13183813 via CL 13183823
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)
[CL 13183833 by marc audy in Main branch]
Eliminate Get/AppendDefinedClasses and use the const TMap& GetDefinedClassesWithParsingInfo instead to avoid building/copying arrays unnecessarily.
Cache GeneratedHeaderFilename, StrippedFilename, and FileId instead of repeatedly rebuilding
Use Move parameters as possible
#rb Michael.Noland
#jira
#rnx
#ROBOMERGE-SOURCE: CL 13181587 via CL 13181592 via CL 13181597
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)
[CL 13181603 by marc audy in Main branch]
#rb Michael.Noland
#rnx
#jira
#ROBOMERGE-SOURCE: CL 13181389 via CL 13181398 via CL 13181407
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)
[CL 13181416 by marc audy in Main branch]