Commit Graph

61 Commits

Author SHA1 Message Date
avudnez
a8d559fbad PR #9001: Fix building LiveCodingConsole with clang-cl (Contributed by avudnez)
#rb self
#rnx
#jira UE-146904
#preflight 623b78e4ca34ffd7bf7f9874

[CL 19484226 by avudnez in ue5-main branch]
2022-03-23 15:59:49 -04:00
tim smith
a49cb3c2bb Fix linking issue when doing Live Coding and adding new classes.
#rb self
#rnx
#jira UE-134615
#preflight 619ce61caa4521f9e7918e70

#ROBOMERGE-OWNER: tim.smith
#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 18269134 in //UE5/Release-5.0/... via CL 18269224
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18269238 by tim smith in ue5-release-engine-test branch]
2021-11-23 08:52:14 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
tim smith
edd54daaa7 Attempt to fix "Cannot find image section .voltbl" LiveCoding error spam
#rb trivial
#rnx
#preflight 614a2c1c286e3b0001106a97

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 17587940 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17587968 by tim smith in ue5-release-engine-test branch]
2021-09-21 16:46:30 -04:00
tim smith
a2bda6df6b Fixed issue where LiveCoding fails to reinstance objects when their structure has changed.
#jira UE-126681
#rb trivial
#rnx
#preflight 61486bfa11925a00015b3c8a

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 17569666 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17569716 by tim smith in ue5-release-engine-test branch]
2021-09-20 08:16:25 -04:00
tim smith
d6bc6ede20 Added log message for when quick start gets re-enabled.
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 17015792 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17015805 by tim smith in ue5-release-engine-test branch]
2021-08-02 10:24:45 -04:00
tim smith
a5492ef6d6 Fix to LiveCoding symbol resolution that could result in a function being patched to the wrong implementation. This would result in unpredictable behavior and crashes.
#rb jonathan.adamczewski
#rnx

#ROBOMERGE-SOURCE: CL 16729989 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16729999 by tim smith in ue5-release-engine-test branch]
2021-06-21 13:08:36 -04:00
tim smith
01d31e503b Fixing minor feedback issue where a warning was being generated incorrectly.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16658305 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16658328 by tim smith in ue5-release-engine-test branch]
2021-06-14 10:30:27 -04:00
tim smith
899eaa25cd Improved notifications in the editor/game for live coding.
Added message that packaging can fail if assets reference new changes.

#rb
#rnx
#jira UE-115558
#preflight 60c39c8e8d00b80001b1e85f

#ROBOMERGE-SOURCE: CL 16645001 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16645007 by tim smith in ue5-release-engine-test branch]
2021-06-11 14:48:40 -04:00
tim smith
635605e672 Fix new bug with LiveCodingConsole where it doesn't update UI during a compile.
#rb trivial
#rnx
#preflight 60c22147730f8a00016e2c95

#ROBOMERGE-SOURCE: CL 16624311 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16624316 by tim smith in ue5-release-engine-test branch]
2021-06-10 11:53:34 -04:00
tim smith
ae3ed81ad2 Starting with VS2019 16.10, we are getting multiple _valmd symbols in the object files. Changing to not generate any warnings about symbols in COMDATs.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16621980 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v830-16605563)

[CL 16621993 by tim smith in ue5-release-engine-test branch]
2021-06-10 08:49:26 -04:00
tim smith
8d9ec1e173 If re-instancing is enabled in a process using LiveCoding, disable the "Quick Restart" button until we can resolve the issues.
#rb jonathan.adamczewski
#rnx
#jira UE-115743
#preflight 60c1136cb68c700001a25659

#ROBOMERGE-SOURCE: CL 16613414 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16613419 by tim smith in ue5-release-engine-test branch]
2021-06-09 17:32:56 -04:00
tim smith
af243577b4 Fixed global delegate functions to support changes when doing live coding.
Fixed issue where changing a function signature in an interface wouldn't update nodes in a blueprint.
Changed the API of the deferred registry to be more inline with UE coding standards.

#rb ben.marsh phillip.kavan
#rnx
#jira UE-113662
#preflight 60c0c0fdc61264000190e16a

#ROBOMERGE-SOURCE: CL 16606206 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606221 by tim smith in ue5-release-engine-test branch]
2021-06-09 11:43:12 -04:00
Tim Smith
5fb833c5c1 Added support for more arbitrary property changes to live coding.
1) Changed the pre/post compile notifications from module notifications to process commands.
2) Added server command to notify that we want re-instance patching (two phase)
3) Added support for two phase patching to enable re-instancing without all the limitations.
4) Added a null CDO check for old blueprint classes (approved by Phillip)

#rb ben.marsh
#rnx
#preflight 6086e3481046fb000183c2d4

[CL 16115620 by Tim Smith in ue5-main branch]
2021-04-26 12:49:25 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Tim Smith
737ad605ed Fixing Clang warnings in LiveCoding
#rb devin.doucette
#jira UE-112494

[CL 15877566 by Tim Smith in ue5-main branch]
2021-03-31 13:00:20 -04:00
tim smith
1f6c785bcf Removed references to UE4 in Epic modifications
#rb none
#jira UE-111726

#ROBOMERGE-SOURCE: CL 15852110 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15852982 by tim smith in ue5-main branch]
2021-03-29 13:42:59 -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
Tim Smith
aa8091eb54 LiveCoding fails to load a patch after "Quick Restart" is used.
#rb trivial
#jira UE-110742

[CL 15710313 by Tim Smith in ue5-main branch]
2021-03-16 07:51:47 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Tim Smith
dcfdb67af4 Fixing compile issues with LiveCodingServer.
#rb trivial
#rnx
#jira UE-106463

[CL 15137005 by Tim Smith in ue5-main branch]
2021-01-19 12:58:35 -04:00
Tim Smith
e599eed6a4 Integration of Live++ 1.6.4 (2021/18/01)
This fixes and re-enables a feature of 1.6 that didn't work in an Unreal environment.

#jira none
#rb trivial
#rnx

[CL 15131026 by Tim Smith in ue5-main branch]
2021-01-18 13:02:32 -04:00
Tim Smith
0789d2c5bb Fixing a patching issue with Live coding. If multiple modules are loaded, then depending on which module is being updated, it might fail locating an address region. Disabling a new Live++ 1.6.3 feature for now to prevent this from happening.
#rb trivial
#rnx

[CL 14940186 by Tim Smith in ue5-main branch]
2020-12-16 13:03:26 -04:00
Tim Smith
b48b94b010 Integration of Live++ 1.6.3
#rb none
#rnx

[CL 14926202 by Tim Smith in ue5-main branch]
2020-12-15 09:27:44 -04:00