Live++ reads object files at startup for game modules, and assigns unique ids to each compiland (used to disambiguate static variables). When compiling the patch, these compilands are modified to reference a unique id for the unity blob, causing the variables to be reconstructed.
Solution is to generate a JSON file to each output directory containing object files containing the mapping, and to use that to assign compiland ids at startup.
#rb none
#jira UE-74036
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6455253 in //UE4/Release-4.22/... via CL 6455273
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6474667 by ben marsh in Dev-Anim branch]
This manifested itself in a game when textures ended up rebuilding every single run of the game but suddenly stopped building and coming from the DDC as they should have after the first run.
When a texture was being requested from the DDC, the in-memory DDC cache space ran out, and FMemoryDerivedDataBackend::CachedDataProbablyExists() returned true. FDerivedDataBackendAsyncPutWrapper::PutCachedData() assumes the data is already on its way, so it doesn't send it again and exits the function. Unfortunately, the data is not really on the disk, and FCachePutAsyncWorker never gets a chance to put it there.
Because of changing memory requirements from run to run, this game was eventually able to write all of the texture data to disk, but it took dozens of runs to do so, as it generally would only write a single mip from a mipchain in any given run. When all of the mips were finally written, the texture would be fully retrieved from the DDC, and no build would be necessary.
With this fix, no early abort is had, and all textures write themselves fully to the disk.
#rb Jack.Porter
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: josh.jensen
#ROBOMERGE-SOURCE: CL 6345014 via CL 6346145 via CL 6346238
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6357287 by josh jensen in Dev-Anim branch]
#JIRA UE-74226
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.salem
#ROBOMERGE-SOURCE: CL 6344919 via CL 6344926 via CL 6345880 via CL 6346025
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6356798 by ben salem in Dev-Anim branch]
Fix functional test UI screenshot when running with a window dpi scale != 1.
#jira UE-60541
#rb Matt.Kuhlenschmidt
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 6327380 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6333747 by dave belanger in Dev-Anim branch]
#fix No need to reverse the section indices when a static mesh has a mirrored transform as TransformRawMeshVertexData() is now calling ReverseAllPolygonFacing() in this specific case
#jira UE-56953
#rb none
#lockdown cristina.riveron
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 6252335 in //UE4/Release-4.22/... via CL 6317322
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6325122 by sebastien lussier in Dev-Anim branch]
Added new content only build node and now generates pak patch files for pak files not in original build.
Also merges manifest with original build
Also posts build to gamedev and prod
GenerateChunkDBs now takes in two additional parameters specifying how many rollback labels to process and which ones to optimize (preparation for future change where we process more chunkdbs).
Added support for generating buildinfo.ini for ps4.
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: daniel.lamb
#ROBOMERGE-SOURCE: CL 6278253 via CL 6287210 via CL 6287835
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6304220 by daniel lamb in Dev-Anim branch]
#jira #rb na
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6258972 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6263870 by andrew grant in Dev-Anim branch]
FunctionalTest now implements TreatLogErrorsAsErrors and TreatLogWarningsAsErrors. Default is true and false, but projects and individual tests can override these.
#rb CR'd
[at]josh.engebretson [at]clayton.langford [at]ben.salem
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6238394 via CL 6242055 via CL 6242098
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6247613 by andrew grant in Dev-Anim branch]
Removed SetTreatWarningsAsErrors from AutomationFramework. Tests should now override TreatLogErrorsAsErrors and TreatLogWarningsAsErrors to control this behavior.
Tidied up some logging and formalized messages emitted by tests.
Emit a Gauntlet-parsed message on test completion
#rb CR'd
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6236960 via CL 6242044 via CL 6242091
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6247552 by andrew grant in Dev-Anim branch]
https://udn.unrealengine.com/questions/496880
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6152574 via CL 6155961 via CL 6177915
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6212418 by andrew grant in Dev-Anim branch]
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6132799 via CL 6133272 via CL 6174327
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6198830 by andrew grant in Dev-Anim branch]
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6115332 via CL 6132874 via CL 6174055
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6198738 by andrew grant in Dev-Anim branch]
#fix Make sure we retain Magenta pixels for emissive baked textures, and not apply emissive scaling to them to make sure they are masked out correctly when merging the different textures into the atlas
#rb none
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 6104752 via CL 6104754 via CL 6105018 via CL 6105094
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)
[CL 6127459 by jurre debaare in Dev-Anim branch]