mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
636abcceeea416da4706765c94de29eab88e42fe
31 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f48639382a |
Sequencer: Only ever call FixupForPIE for bindings that are being resolved within a World context that has a PIE instance ID
Sometimes binding resolution can be triggered inside a call stack that has a GPlayInEditorID, even if the bindings and resolution context do not. In these situations we were previously erroneously calling FixupForPIE before resolving the soft object path, and ending up finding the PIE actor instead of the one that's actually inside the world context provided. We now explicitly override the GPlayInEditorID for bindings based on the provided context object. #jira UE-155681 #rb Max.Chen, Ludovic.Chabant #preflight 62a22c12c12a722b4f065fb1 [CL 20581176 by Andrew Rodham in ue5-main branch] |
||
|
|
06ed881423 |
Sequencer: Add guards when IsSavingPackage or IsGarbageCollecting before calling FindObject
Illegal call to StaticFindObjectFast() while serializing object data or garbage collecting. #jira UE-155821 #preflight 629cef52ff562cb75c74b483 #rb mike.zyracki [CL 20527156 by Max Chen in ue5-main branch] |
||
|
|
d1443992e1 |
Deprecating ANY_PACKAGE.
This change consists of multiple changes: Core: - Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject) - Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter - Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses - Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names - Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed. - Added static UClass::TryConvertShortNameToPathName utility function - Added static UClass::TryFixShortClassNameExportPath utility function - Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass') - All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath - Added a new startup test that checks for short type names in UClass/FProperty MetaData values AssetRegistry: - Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath - Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names - This also applies to a few other modules' APIs to match AssetRegistry changes Everything else: - Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input) - Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName() - Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names #jira UE-99463 #rb many.people [FYI] Marcus.Wassmer #preflight 629248ec2256738f75de9b32 #codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786 #ROBOMERGE-OWNER: robert.manuszewski #ROBOMERGE-AUTHOR: robert.manuszewski #ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246) [CL 20448496 by robert manuszewski in ue5-main branch] |
||
|
|
5714cca54f |
Reduced runtime UPackage size from 176b to 144b or 120b when stripping deprecated properties
This should saves around ~1.5 Mb to ~3 Mb at runtime with ~50000 packages Added a new core define UE_STRIP_DEPRECATED_PROPERTIES that could be used to wrap deprecated properties and strip them to regain memory when a projects becomes compliant. this can be set in the project target file Deprecated most public properties from UPackage and created accessors for them #rb PJ.Kack #jira UE-138957 #preflight 61f17a6f7266f4e79bd62601 #ROBOMERGE-AUTHOR: francis.hurteau #ROBOMERGE-SOURCE: CL 18738937 in //UE5/Release-5.0/... via CL 18739524 via CL 18741373 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472) [CL 18742135 by francis hurteau in ue5-main branch] |
||
|
|
e3f7878676 |
Merge from Release-Engine-Test @ 17462327 to UE5/Main
This represents UE4/Main @17430120 and Dev-PerfTest @17437669 [CL 17463546 by aurel cordonnier in ue5-main branch] |
||
|
|
7987f5bd61 |
Sequencer: Remove the TryLoad behavior for unresolved level sequence bindings.
#rb richard.malo [FYI] andrew.rodham #preflight none #ROBOMERGE-SOURCE: CL 17231363 #ROBOMERGE-BOT: (v855-17104924) [CL 17231380 by jeanfrancois dube in ue5-main branch] |
||
|
|
571da1cbef |
Sequencer: Default TryLoadUnresolvedReferences to 0
#jira UE-116691 #rb andrew.rodham [FYI] joji.tsuruga #preflight 611d9f6daabad100013ce9dc #ROBOMERGE-SOURCE: CL 17226589 #ROBOMERGE-BOT: (v855-17104924) [CL 17226597 by max chen in ue5-main branch] |
||
|
|
9f35c48e7d |
Sequencer: Hide TryLoad behavior for unresolved level sequence bindings behind a cvar (Sequencer.TryLoadUnresolvedReferences)
- By default it is still enabled, but should be disabled for anyone that no longer relies on this temporary behavior, particularly when migrating sequence content to different levels #jira UE-116691 #rb Matt.Hoffman #fyi joji.tsuruga #lockdown jeff.farris #robomerge private-frosty [CL 16786022 by Andrew Rodham in ue5-main branch] |
||
|
|
3c256fee70 |
Fix UE4 Static Analysis Win64
#rb none #ROBOMERGE-SOURCE: CL 16472259 in //UE5/Private-Frosty/... #ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674) [CL 16472264 by jeanfrancois dube in ue5-main branch] |
||
|
|
fedf65c2bc |
Sequencer: only try to load external actor references from the editor (not in PIE).
#jira FROST-2610 #rb andrew.rodham #ROBOMERGE-SOURCE: CL 16470165 in //UE5/Private-Frosty/... #ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674) [CL 16470241 by jeanfrancois dube in ue5-main branch] |
||
|
|
f44701da43 |
Sequencer: Added the ability to run asynchronous predictions for animated component transforms and future/past times
- Predictions do not understand changes of attachment that might occur between the current time and the predicted time - Separated the functions and data relating to managing interrogation channels and indices out into a separate class called FInterrogationChannels - The predictions import interrogation entities into the main ECS and will get processed along with all the other evaluations - Spawnable annotations are now available in-game (not just in-editor) #rb Mike.Zyracki, Max.Chen #jira none #preflight 606757c002d50100019f0d4f [CL 15930213 by Andrew Rodham in ue5-main branch] |
||
|
|
f0321bf250 |
Sequencer bindings will always try to resolve before trying to load the referenced assets.
#rb andrew.rodham #ROBOMERGE-SOURCE: CL 15337521 in //UE5/Release-5.0-EarlyAccess/... #ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668) [CL 15337532 by jeanfrancois dube in ue5-main branch] |
||
|
|
383f7e12fc |
Make sure the sequencer code always try to load bindings in order to properly resolve unloaded objects.
Also converted lots of code to go through LoadSequence instead of manually calling TryLoad. #rb andrew.rodham #ROBOMERGE-SOURCE: CL 15315165 in //UE5/Release-5.0-EarlyAccess/... #ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668) [CL 15315175 by jeanfrancois dube in ue5-main branch] |
||
|
|
1b7f22036c |
Fix sequencer bindings when using external actors.
#rb richard.malo [CL 15216870 by JeanFrancois Dube in ue5-main branch] |
||
|
|
0f0464a30e |
Updating copyright for Engine Runtime.
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch] |
||
|
|
29b2d54223 |
Sequencer: Check for valid context before resolving
#rb andrew.rodham #jira UE-68754 #ROBOMERGE-SOURCE: CL 4762780 via CL 4762782 via CL 4762784 [CL 4762785 by max chen in Main branch] |
||
|
|
6f1c48e7f2 |
Sequencer: Bindings that exist within instance sub levels now work correctly
- On playback we now cache off both the original asset path name, and the level ptr if we're playing back within a level that has a ULevelStreaming associated with it - When resolving bindings, we compare the original binding's asset path name to the one we're playing back within. If it matches, we resolve using the ULevel ptr provided, rather than the UWorld. - Ultimately we would like to change this all to make the context _always_ a ULevel rather than a UWorld, but that is a high risk change to make since a lot of code (mostly editor code) heavily relies on the playback context being a UWorld. #rb Max.Chen #ROBOMERGE-SOURCE: CL 4729768 via CL 4729775 [CL 4729792 by andrew rodham in Main branch] |
||
|
|
7598af0532 |
Update copyright notices to 2019.
#rb none #lockdown Nick.Penwarden [CL 4662404 by Ben Marsh in Main branch] |
||
|
|
ea340d3fbf |
Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none #lockdown Nick.Penwarden [CL 4567513 by Ben Marsh in Main branch] |
||
|
|
9b4151e6a5 |
UE-56235 - Sequencer Possessable references no longer lose their references when saving a map for the first time.
#jira UE-56235 #rb Max.Chen [CL 4231440 by Matt Hoffman in Dev-Sequencer branch] |
||
|
|
33737e9b00 |
Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 4044339)
#lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3947021 by Max.Chen Sequencer: Don't preserve root component when copying object properties. A spawnable empty actor, has a root component that is generated by the empty actor factory. If the object template's root component is preserved when copying from the spawnable empty actor, the root component will not be copied over. Therefore, we need to NOT preserve the root component when copying object properties. #jira UE-55825 Change 3947366 by Max.Preussner WmfMedia: Better log output Change 3947367 by Max.Preussner MfMedia: Better detection of compressed format properties on Windows Change 3949102 by Max.Chen Sequencer: Remove SequenceActorTag when converting to possessable. #jira UE-56206 Change 3949207 by andrew.porter EngineTest: Set the screenshot nodes resolution to 1280x720 Change 3949404 by Max.Chen Sequencer: More informative tooltip for "Rerun Construction Scripts" option. It now says "Rerun construction scripts every frame on actors that have 'Rerun Construction Script in Sequencer' enabled in their class settings". Change 3950067 by Matt.Hoffman Renamed UAutomatedLevelSequenceCapture's StartFrame and EndFrame to CustomStartFrame/CustomEndFrame to reflect that it is user-overriden. This will also resolve upgrade issues due to the variable datatype changing. #jira UE-56189 Change 3950193 by JohnHenry.Carawon Updating my latest MovieRendering test content. Change 3950757 by JohnHenry.Carawon More updates to MovieRendering test content Change 3952059 by Max.Chen Resave LevelVisibility_SubLevels to fix data loss conversion warning of OpacityMaskConstant #jira UE-56086 Change 3952283 by Max.Chen Sequencer: Disable dropping level sequence assets as spawnables. #jira UE-56120 Change 3952422 by Max.Chen Sequence Recorder: Add button to record from the current player. #jira UE-55942 Change 3952987 by JohnHenry.Carawon MovieRendering Test Content - Fixing camera bindings and changing the override binding actor Change 3953823 by Mike.Zyracki Fix for Bad FBX Import Tangents not scaled by frame rate. After looking at this again it seems that a set of MovieScene:: overiddes for the channel traits wasn't set correctly, so use the ADL idiom to use MovieScene, which can then call Optimize in the correct namespace. With this we can now correctly use the passed in tolerance. There was also a redundant set of Optimize calls so that it could happen twice so removed them, and needed an extra check in the float channel Optimize. Also since we need to set auto tangents no matter if we optimize we don't set that parameter(though leave it since it's used by context menu key reduction). Finally fixed speed issue with trajectories caused by calculating way too many substeps. Reverted back to a time based step size for consistency. #jira UE-56193 Change 3954317 by Matt.Hoffman Adding a key to the last frame of a section no longer causes a crash. Keys can already be moved to be on the last frame of a section so now you can just add a key there directly. #jira UE-56255 Change 3954326 by Matt.Hoffman Dilating a section that is only infinite on one side no longer causes a crash. #jira UE-56260 Change 3954486 by Max.Chen PR #4580: Exposes IsReversed() from UMovieSceneSequencePlayer (Contributed by alanedwardes) Change 3955238 by Max.Preussner Messaging: Enabled delayed message routing https://github.com/EpicGames/UnrealEngine/pull/4574 #jira UE-56247 Change 3955901 by Max.Preussner MediaFrameworkTest: Added developer test for overriding desired media player plug-in at runtime. Change 3955922 by Andrew.Porter QAGame: Updating movie rendering content in dev folder Change 3956004 by andrew.porter QAGame: Adding MPC track to movie rendering test content Change 3956510 by Max.Chen Sequencer: Fix fbx camera import of static properties so that they are imported before default tracks are created. Otherwise, the default tracks inherit the default properties of the camera, rather than the values from the fbx. #jira UE-56311 Change 3957613 by Max.Preussner MediaUtils: Added code documentation to media player facade Change 3958005 by Max.Preussner MediaUtils: Added method to get number of sinks Change 3958934 by Max.Chen Sequencer: Fix keys getting added and sequence getting erroneously re-evaluated when auto key is off. Only apply defaults if there are no keys. Only modify the movie scene section before creating keys or setting defaults. #jira UE-55903 Change 3959687 by Andrew.Rodham Sequencer: Fixed visibility track external values being inverted #jira UE-56324 Change 3960507 by Max.Preussner Core: Fixed incorrect rounding in FMath::DivideAndRoundNearest Change 3962047 by JohnHenry.Carawon MovieRendering Test Content Changes: - Add Lightmass Importance Volumes to sublevel to fix warnings - Rebuilt Lighting - Add a third sequence for Gamut testing - Resaved the sound master.uasset to fix warning Change 3962211 by Mike.Zyracki Add Frame Numbers to selected animation sections. Added MapTimeToAnimation to MovieSceneSkeletalAnimation so that we could get it from the Skeleton Animation track Editor. Since the thickness of the frame line can change based upon frame rate and zoom we need to calculate it similarly to how the time slider controller does it. Those calculations were private so we had to expose FScrubRangeToScreen and GetScubberPixelRange from the TimeSliderController. Also needed to know if the section itself was selected so added a bIsSelected flag to the section Painter. Also fixed a bug where you couldn't add a section if other sections existed at different times in MovieScenePropertyTrack and could crash due to the check(). #jira UESEQ-395 Change 3962497 by Max.Preussner Core: Added new string formatting argument to FTimespan Change 3963662 by Max.Chen CineCamera: Flip VistaVision width and height. Change 3963731 by Max.Preussner MediaCompositing: Implemented sequence recording support for media track Change 3964195 by Andrew.Rodham Sequencer: Set inverted property correctly for newly created visibility track sections - Also clamp evaluation for key editors to the bounds of the section so we're not displaying values outside of the section bounds when the cursor is not on the bounds #jira UE-56324 #coderevew Max.Chen Change 3964196 by Andrew.Rodham Sequencer: Fixed crash when attempting to render sections that resulted in a negative intersection with the view range Change 3964275 by Andrew.Rodham Sequencer: Fixed MovieScene::ClampToDiscreteRange for infinite range bounds Change 3964364 by Andrew.Rodham Curve Editor: Reduce minimum vertical view range when zooming to fit Change 3965091 by Max.Chen Sequencer Recorder: Refresh next sequence if empty when starting a recording, otherwise, use existing name. #jira UE-56469 Change 3965148 by Max.Chen Sequence Recorder: Move Record to Possessable to "Actor Recording" group Change 3965162 by Max.Chen Sequence Recorder: Always break out of immersive mode when done recording, even when stopping recording during countdown. #jira UE-56407 Change 3965214 by Max.Preussner QAGame: Enabled ImagePlate plug-in Change 3965574 by Max.Preussner SimpleComposure: Reorganized & upgraded content to work with new Media Track #jira UE-56488 Change 3965651 by Max.Preussner MediaCompositing: Ignoring seek-on-open if media not seekable Change 3966075 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Export functionality #jira UESEQ-358 Change 3966087 by Matt.Hoffman Adding a single key to the Particle Toggle track now makes an infinite range section that is displayed in the UI. #jira UE-56295 Change 3966547 by Andrew.Rodham Sequencer: Fixed rounding errors when drawing the section background on boolean sections - Logic was using time in sectonds which caused rounding errors on evaluation and flickering red/green stripes when dragging keys around #jira UE-56324 Change 3966563 by Andrew.Rodham Curve Editor: Key editor interface improvements - SKeyEditInterface has a few problems - it does not update in real time when editing properties, and does not support multi-edit which makes it unsuitable for use with the curve editor - We now take a different approach for editing keys by gathering a set of proxy UObjects for each key that is currently selected. These objects are added as top level objects to the details panel which means they support multi edit as you'd expect from any other details panel in the editor. - Proxy objects are updated every tick for the curve editor if they implement the ICurveEditorKeyProxy interface, which allows them to refresh their current value. - Ideally, the same mechanisms would be used in the main sequence interface, and we would be generating the proxy classes at runtime based on the key value type, but that work remains a separate task from this initial offering. #jira UE-56165 Change 3966564 by Andrew.Rodham Curve Editor: Expand to frame when adding or moving keys in the curve editor Change 3967051 by andrew.porter MediaFrameworkTest: Set the CameraPlayer_Video texture to auto clear Change 3967141 by Andrew.Rodham Sequencer: Keep track of spawned objects that have been modified and only re-save such object's default spawnable state on destruction - Now that we're taking this approach, I've remove serveral redundant bits of functionality in the spawn register such as making some spawnables read-only, and the PreSave binding for Sequencer. - We now hook into all object pre-saves to make sure we handle the case where the sequences are saved through the content browser or elsewhere. #jira UE-47686 Change 3967170 by Andrew.Rodham Sequencer: Added the ability to possess anim instances as object bindings - This allows full and direct animation of properties on UAnimInstance, and animation blueprints - Object Bindings are made by first possessing a skeletal mesh component, then choosing the + Add button where its anim instance will be listed - Added a new function to UMovieSceneSequence to gather previously cached objects that should now be invalidated. Anim instances will be re-resolved if a new UAnimInstance is assigned to USkeletalMeshComponent::GetAnimInstance. - ObjectBindingIDs for anim instances are just represented by an entry in a set of GUIDs. We only ever resolve such bindings through USkeletalMeshComponent::GetAnimInstance. - Only currently supported on LevelSequences #jira UE-56132 Change 3967195 by Max.Preussner Core: Updated TRangeSet to use TCallTraits Change 3967345 by JohnHenry.Carawon Test Content Changes - first iteration of spacing out the examples in the shots. Change 3967572 by Max.Chen Sequencer: Fix setting PreviousPlayEvalPosition until after we've tested whether it's set. #jira UE-56518 Change 3967750 by Max.Chen Audio: Set duration based on number of input channels, rather than number of channels to serialize. This fixes an issue where audio split into 2 channels is set to a duration that's twice as long. #jira UE-56430 Change 3967836 by Max.Chen Sequencer: Allow for animating array elements within ustruct properties #jira UE-55887 Change 3968506 by Matt.Hoffman Fixed ambiguous conversions for seconds and frames being overriden by ambiguous conversion to Timecode (in frames). Change 3968748 by Max.Chen Sequencer: Make the event properties submenu widget larger. #jira UE-55557 Change 3968862 by Max.Chen Sequencer: Recursive expansion when shift is down #jira UE-52139 #pr 4194 Change 3968863 by Max.Chen Sequencer: Bind rename command to selected track so that F2 shortcut start renaming #jira UE-52139 #pr 4194 Change 3968872 by Max.Chen Sequencer: Rekey the selected key at the current time. #jira UESEQ-396 Change 3968938 by Max.Chen Cine Camera: Add option to toggle the behavior of locking the rail mount to the orientation of the spline. By default, the option is off, no change in behavior. #jira UE-55815 Change 3968958 by Andrew.Rodham Sequencer: Consider vertical position when hittesting keys #jira UE-56256 Change 3969643 by Max.Preussner Core: Rounding timespans created from double values towards nearest ticks Change 3969646 by Max.Preussner MediaUtils: Implemented timeout mechanism for block-on-fetch feature Change 3969776 by Mike.Zyracki Added Skip Anim Notifiers Toggle per what was in Matinee. Investigated the Enable Root Motion toggle as also discussed but it's implementation is directly contained by the animation asset and unlike animation notifies there seems to be no exposure to interactively disable it during a playback tick. Note if we are generating thumbnails we still automtically disable notifies in the editor to avoid annoying noise playback. Note that if Enable Root Motion/Root locked is specified in the animation asset it does correctly effect the Sequencer. #jira UESEQ-399 Change 3969835 by Matt.Hoffman Playback Range and Selection Range use unified logic for adding themselves as potential snap locations which properly handles inclusive/exclusive bounds. This resolves an issue where having an unset selection range caused a potential snap location to be added on frame 0 and 1 (internal resolution) which caused a misalignment when placing objects near frame 0. This also removes the one frame offset on setting Selection Range to bring behavior inline with other ranges. #jira UE-55420 Change 3969885 by Max.Preussner MediaAssets: Don't register media player CDO with media ticker Change 3971129 by Andrew.Rodham Sequencer: Fixed UMovieSceneSequencePlayer::GotToEndAndStop() not taking into account for start time This is a remnant from when the times were always specified in 0-duration space, rather than actual sequence times. Change 3972056 by JohnHenry.Carawon More updates to Test Content. I continued spacing out the examples in the sequence so that they have a consistent number of frames between each example and during the start/end of the example. Also removed the Marcie sublevel. Change 3972066 by Andrew.Porter MediaFrameworkTest: Setting Marcie folder to be never cooked in package settings Change 3972675 by Matt.Hoffman Splitting Subsequence Sections no longer sets an incorrect playback range on the subsequence when the subsequence has a different internal resolution than the owning sequence. #jira UE-55453 Change 3973376 by Max.Preussner ImgMedia: Zero is the only valid video track for image sequences Change 3973489 by Max.Preussner Launch: Build rules cleanup pass - don't use Media, MediaUtils on server apps - don't link against Media (include-only dependency) - don't include from MediaAssets (dynamic load only) Change 3973760 by Max.Preussner MediaUtils: Moved AppMediaTimeSource implementation into its own file; added logging Change 3973765 by Max.Preussner ImgMedia: Disallowing seek beyond media length Change 3973855 by Max.Preussner MediaFrameworkTest: Updated developer test content Change 3973858 by Max.Preussner MediaCompositing: Blocking on media player time instead of media sample time (the former may not be hit in the current frame) Change 3974988 by Max.Chen Sequencer: Fix trim left so that it also sets the start offset for audio and skeletal animation sections. #jira UE-57015 Change |
||
|
|
da0aac16ff |
Copying //UE4/Odin-Staging to //UE4/Dev-Main (Source: //Odin/Main/Engine @ 3913580)
#lockdown Nick.Penwarden
#rb portions covered by - Zak.Middleton, Ori.Cohen, Nick.Darnell, Nick.Atamas, Marc.Audy, Andrew.Rodham
Change 3369800 by Zak.Middleton
#odin (Main) - Add new OculusKioskAppID to INI and use it for entitlement checks when "-kiosk" is on the commandline. Takes precedence over -demo. Restored demo app ID to yesterday's value and switched kiosk to the new one requested by oculus.
Change 3335679 by Mike.Beach
Focus the Blueprint viewport for mod assets, when you open them (and they're still DataOnly) - frame a specified component so the user can tell what the Blueprint is.
#jira ODIN-6214
Change 3311911 by Matt.Kuhlenschmidt
Adding templates for Day and Night maps.
Change 3311411 by Stanley.Hayes
ODIN-6185 Celebration screen doesn╞t appear, ODIN-6178 2-2: bots reach player before intro timer completes
Change 3307677 by Mike.Beach
Forcing the Odin mod Blueprints (and sub-classes) to always open in the full Blueprint editor.
Change 3305535 by Ben.Marsh
Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep.
Change 3304566 by Ben.Marsh
Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true, and enable it by default for mods.
Change 3303091 by Ben.Marsh
Fixes/improvements for mod editor and code mods:
* A separate top-level project is generated for each code mod in the Visual Studio solution.
* Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins (eg. OdinEditor) from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods.
* Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds.
* Plugin browser now includes a separate category for mods.
* Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings.
Change 3302585 by Maciej.Mroz
#jira ODIN-5961
All nativized functions/event declared for tha first time in Blueprint are BlueprintNativeEvent. A BP from mode, based on a nativized class, can override any function.
Change 3301859 by Alex.Delesky
Making the new plugin wizard tab a bit bigger by default to accomodate the new information inside it.
Change 3301057 by Nick.Whiting
Fixing use of the demo app id to be consistent, no matter where the plugin intiializes
#jira ODIN-5777
Change 3298141 by Alex.Delesky
#jira ODIN-5964 - Renaming "Custom Rifle" template to "Custom Energy Rifle". Also center justifying all template tile text.
Change 3297043 by Alex.Delesky
#jira ODIN-5737 - Adding Odin code templates:
- Blank
- OdinWeapon
- OdinCharacter
These still act as mixin templates, and are compatible with each other and with other mod content
Change 3295655 by Ben.Marsh
Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again.
Change 3291094 by Alex.Delesky
Fixing an issue where mod assets generated tags would not be correct after being created from the new mod wizard. Also now enables for PLUGIN_NAME macros to be used on uasset and umap files in plugin templates.
#jira none
Change 3289510 by Nick.Atamas
Fixed ODIN-5718 : A "Lost Tracker" prompt is displayed when launching the game
- We now broadcast a VRTrackerAttached() on startup so that we can have an initial tracker count.
- Fixed issue where VRTrackerAttached()/VRTrackerLost() would never be broadcast on Oculus platform in UE_BUILD_SHIPPING.
- bIsInLoadingSequence is now native
- VR Error prompts will now show up while loading
- TrackerLost message persists across level transitions/loads
Change 3288170 by Alex.Delesky
For multi-select plugin wizard definitions, the plugin wizard will now show a tile view instead of a list view when selecting templates. For created plugins that can contain content, the content browser will now be forced to show plugin or engine content if the user wants the content folder shown on plugin creation.
#jira none
Change 3287456 by Richard.Fawcett
Improve CDN security by enabling randomized manifest filename for Odin Editor.
Fix issue where Chunking and Posting would be attempted on non-buildfarm use.
#jira OPP-6517
Change 3286946 by Nick.Whiting
Added ability to force disable auto loading splash screen on load. This fixes the black HMD screen that appears in levels that did not manually turn off the loading movie in their level scripts
Change 3286888 by Nick.Whiting
Disabling haptics when you begin changing levels
#jira ODIN-4841
Change 3286200 by Wes.Hunt
Odin - move GameAnalytics module back into Engine/Plugins. #jira AN-818
Change 3285398 by Maciej.Mroz
#jira ODIN-5559
Enabled modular nativized building
- Workaround for missing dependecies of NativizedAssets module.
- An ugly hack to move NativizedAssets to plugins directory.
Change 3283738 by Jeff.Farris
Removed old Odin-per-body-collision-settings hack that didn't work. Replaced bigbot usages of it with the new way that works, which fixes bigbot hands having to collision. ODIN-5638
Change 3283549 by Jeff.Farris
Added OverrideCollisionResponseToChannelForBodies to BP library. Odin-specific hack to force specific collision responses on specific bodies. Using this to ignore WorldStatic on biped feet in some cases.
Change 3283088 by Mike.Beach
Fixing issue where Blueprint mod assets won't load in Odin nativized builds. Making it so we're leinent on matching import class types - BlueprintGeneratedClass (what the mod assets are expecting) and DynamicClass (what the imports actually are) are interchangable as far as these type checks are concerned.
Change 3282584 by Nick.Whiting
Adding hooks for detecting if the touch controllers are present or not
Change 3282257 by Alex.Delesky
Adding HasModules method to the plugin wizard definition
Change 3281499 by Ben.Marsh
Add a CompatibleChangelist field to the plugin descriptor. If set, the engine will not load any plugins which have a different compatible changelist to the current engine version.
Change 3281286 by Mike.Beach
Exporting a number of required functions/classes/etc, used in nativized Odin source with the DLLEXPORT (*_API) tag - required for nativized and modular builds to work in tandem.
Change 3280775 by Zak.Middleton
#odin - ODIN-3180: Piercing ammo and Disintegrator shot can be correctly blocked by objects that would normally overlap it (invincible characters, big bot, elites, boss). Implemented filtering of overlaps and blocking hit in custom FScopedMovementUpdate so we don't have to do any extra traces nor require bGenerateOverlapEvents. Minor engine change required to make some data protected on super class.
Last step is just the disintegrator visual (needs to be scaled to match bullet distance).
Also removed need for projectiles to update physics volume, because we don't care.
Change 3277573 by Chad.Garyet
adding physx build to odin main
Change 3277289 by Alex.Delesky
The Odin Plugin Packager will now get a current list of all available mod packages when gathering mods available for packaging
#jira none
Change
|
||
|
|
30f891786a |
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469)
#lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change |
||
|
|
13d012685f |
Merging copyright update from 4.19 branch.
#rb none #rnx #jira [CL 3818977 by Ben Marsh in Staging-4.19 branch] |
||
|
|
78ce1089a6 |
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3716594)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3623720 by Phillip.Kavan
#jira UE-49239 - Temp fix for QAGame animations not updating in a nativized build.
Change summary:
- Temporarily excluded all AnimBP assets from nativization as a workaround.
Change 3626305 by Phillip.Kavan
#jira UE-49269 - Workaround fix for crash after packaging a nativized QAGame build with all AnimBP assets disabled for nativization by default.
Change 3629145 by Marc.Audy
Don't hide developer nativization tool behind ini
Change 3630849 by Marc.Audy
Fix nativization uncompilable code when using a non-referenceable term in a switch statement.
#jira UE-44085
Change 3631037 by Marc.Audy
(4.17.2) Fix crash when nativizing blueprint with MakeMap or MakeSet node in it
#jira UE-49440
Change 3631206 by Marc.Audy
Make NAME_None == TEXT("") behave the same as NAME_None == FName(TEXT(""))
Change 3631232 by Marc.Audy
Remove outdated diagnostic code throwing false positives
#jira UE-47986
Change 3631573 by Marc.Audy
Fix containers of vector, rotator, or transform placing a space between the type and the pluralization 's'
Change 3633168 by Lukasz.Furman
fixed behavior tree changing its state during latent abort,
modified order of operations during abort to: abort & wait -> change aux nodes -> execute
Change 3633609 by Marc.Audy
Don't get unneeded string
Change 3633691 by Marc.Audy
Fix copy-pasting of a collapsed graph containing a map input losing the value type
#jira UE-49517
Change 3633967 by Ben.Zeigler
Actor.h header cleanup, fix various comments and reorganize some members, saves 80 bytes per actor in a cooked Win64 build
bRunningUserConstructionScript is now private, exposed with IsRunningUserConstructionScript
Fixed a few other fields to be private that were accidentally made public in 4.17
Change 3633984 by Michael.Noland
Blueprints: Fixed a potential crash when collapsing nodes to a function when a potential entry pin had no links
Change 3634464 by Ben.Zeigler
Header cleanups for Pawn, Controller, Character, and PlayerController
Change 3636858 by Marc.Audy
In preview worlds don't display the light error sprite
#jira UE-49555
Change 3636903 by Marc.Audy
Fix numerous issues with copy/pasting editable pin bases
#jira UE-49532
Change 3638898 by Marc.Audy
Allow right-click creation of local variables in blueprint function libraries
#jira UE-49590
Change 3639086 by Marc.Audy
PR #4006: Mark UEdGraphSchema::BreakSinglePinLink as const (Contributed by leyyin)
#jira UE-49591
Change 3639445 by Marc.Audy
Fix mistaken override and virtual markup on niagara schema function.
Change 3641202 by Marc.Audy
(4.17.2) Fix crash undoing pin changes with split pins
#jira UE-49634
Change 3643825 by Marc.Audy
(4.17.2) Fix crash right clicking a struct pin when the struct it represented has been deleted
#jira UE-49756
Change 3645110 by mason.seay
Fixed up QA-ClickHUD map so it's usable and makes more sense
Change 3646428 by Dan.Oconnor
Fix for UbergraphFrame layout changing during bytecode recompile, which would cause actual ubergraph frame layout to mismatch reflection data
#jira None
Change 3647298 by Marc.Audy
PR #4016: Rename argument name for SetInputMode (Contributed by projectgheist)
#jira UE-49748
Change 3647815 by Marc.Audy
Minor performance improvements
Change 3648931 by Lina.Halper
#Compiler : fixed so that each type of BP can provide module info, and compiler info
- Moved out AnimBlueprint Compiler
- Refactored WidgetBlueprint
- DUPE - Merging using ControlRig_Dev-Framework
Change 3654310 by Marc.Audy
Shrink USkinnedMeshComponent 64 bytes
Shrink USkeletalMeshComponent 224 bytes (160 bytes internal)
Change 3654636 by Lina.Halper
Fix crashing on shutdown
#jira: UE-50004
Change 3654960 by Lina.Halper
- Fix with automation test of creation/duplication
- Fixed shut down crash with editor again due to uobject GCed
#jira: UE-50028
Change 3655023 by Ben.Zeigler
#jira UE-50101 Fix level streaming transform when PIE-duplicating a level that has been preloaded but not made visible in the editor. Instead of always saying actors have been moved we copy the source level's flag
Change 3655426 by Ben.Zeigler
#jira UE-50019 Fix issue where StreamableManager could return objects that are partially loaded if called from PostLoad. StreamableManager never wants half-loaded objects, so change it to explicitly skip them
Change 3657627 by Ben.Zeigler
#jira UE-50157 Fix EDL load dependency issue where the simple construction script/ICH are not guaranteed to be serialized in time for subobject construction
Change 3662086 by Mieszko.Zielinski
Fixed navmesh not loading properly in PIE when owning world has been duplicated-for-play #UE4
This can happen when navigation containing level is loaded via AsyncLoadPrimaryAssetList
#jira UE-50101
Change 3662294 by Ben.Zeigler
Fix enum redirects to handle non-class enums properly where a value redirect is not specified. It needs to convert from EOldEnum::Value to ENewEnum::Value before doing the name check
Change 3662825 by Mieszko.Zielinski
Fixed VisLog debug drawing crashing when using UI to change log lines to be displayed #UE4
there was a loop iterating over elements of a map and was modifying the map as it went, which is a big no-no
Change 3664424 by Marc.Audy
UE-50076 test assets #rb none #rnx
Change 3664441 by Mieszko.Zielinski
PR #3993: UE-25907: Added logging to Log Text, Log Location, and Log Box Shape (Contributed by projectgheist)
Piggybacking on this PR I've redone how visual log is using categories. Now it's using FName rather than FLogCategoryBase to indicated log category. All UE_VLOG macros have been updated.
Change 3664506 by Phillip.Kavan
#jira UE-47852 - Fix various issues with both UAT/UBT-driven and manually-configured code/data build workflows involving nativized Blueprint assets.
Change summary:
- UAT: Removed '-nativizedAssets' command-line option. It's no longer required to specify this flag when cooking/building in order to enable nativization.
- UAT: Removed AutomationTool.ProjectParams.BlueprintPluginPaths.
- UAT: Modified AutomationTool.ProjectParams.ProjectParams() to initialize the 'RunAssetNativization' field based on the current 'BlueprintNativizationMethod' config setting. This flag is now used just to direct UAT to defer invoking UBT for '-build' until after the '-cook' stage has finished.
- UAT: Modified BuildCookRun.DoBuildCookRun() to remove the 'bWarnIfPackagedWithoutNativizationFlag' case (since we removed the '-nativizedAssets' command-line option).
- UAT: Removed Project.AddBlueprintPluginPathArgument() and Project.GetBlueprintPluginPathArgument(). These utility functions are no longer needed.
- UAT: Modified Project.Cook() to remove the registration of each NativizedAssets plugin path for '-build' along with the addition of the '-nativizedAssets' argument with the platform-agnostic path to the NativizedAssets plugin when invoking UE4Editor.exe for '-cook'. This is now handled by the UE4Editor cook commandlet instead.
- UAT: Modified Project.Build() to remove the addition of the '-plugin' argument with the path to the NativizedAssets plugin when invoking UBT for '-build'. This is now handled by UBT instead.
- UBT: Modified UnrealBuildTool.ProjectFileGenerator.DiscoverExtraPlugins() to remove the previously-added search for intermediate plugin assets based on the 'AdditionalPluginDirectories' optionally found in the .uproject file. Instead, this search is now handled via a Plugins.EnumeratePlugins() LINQ query. It is also gated by a new Advanced project setting in DefaultGame.ini that defaults to off, but this way users can still add generated assets into the solution file.
- UBT: Added UnrealBuildTool.UEBuildTarget.ShouldIncludeNativizedAssets() as a utility method for checking the current 'BlueprintNativizationMethod' setting in the game's config file.
- UBT: Modified UnrealBuildTool.UEBuildTarget.CreateTarget() to confirm the existence of a NativizedAssets plugin (generated at cook time) when the project is configured for nativization. If the plugin is found, it is added to the RulesAssembly chain and the ProjectDescriptor.ForeignPlugins list. If the plugin is not found, then a BuildException is thrown informing the user that the plugin must exist in order to build (with a note to make sure to cook the target platform first).
- UE4: Added 'Lex' namespace utility functions for converting PlatformInfo::EPlatformType to/from an FString. Note: Lex::FromString() is simply a proxy to the already-existing PlatformInfo::EPlaformTypeFromString() API, but it was included for completeness.
- UE4: Removed the UProjectPackagingSettings::bWarnIfPackagedWithoutNativizationFlag. This is no longer needed since the '-nativizedAssets' command-line option has been removed.
- UE4: Added UProjectPackagingSettings::bIncludeNativizedAssetsInProjectGeneration (advanced setting). This defaults to 'false' (off). When true, running GenerateProjects.bat will also generate project files for any NativizedAssets plugins previously generated at cook time. This gives advanced users/engineers an option to include nativized Blueprint class sources in the set of generated C++ code projects for faster browsing, etc.
- UE4: Modified UProjectPackagingSettings::PostEditChangeProperty() to remove the case that handles the 'BlueprintNativizationMethod' property. When this value changes, we no longer make an attempt to modify the .uproject file.
- UE4: Removed BlueprintNativeCodeGenManifestImpl::PlatformPlaceholderPattern. This pattern string is no longer in use. Also modified the FBlueprintNativeCodeGenPaths ctor to remove the replacement logic for the pattern string.
- UE4: Modified FBlueprintNativeCodeGenPaths::GetDefaultCodeGenPaths() to construct and return a new directory pattern for the generated NativizedAssets plugin. This is now generated to: Intermediate/Plugins/NativizedAssets/<Platform>/<Type:Game|Client|Server>.
- UE4: Modified FBlueprintNativeCodeGenPaths::PluginRootDir() to no longer append "NativizedAssets" to the end of the path to the generated NativizedAssets plugin.
- UE4: Removed FCookByTheBookStartupOptions::bNativizeAssets and NativizedPluginPath (no longer in use since the '-nativizeAssets' command-line option has been removed).
- UE4: Modified UCookCommandlet::CookByTheBook() to remove initialization of the 'bNativizeAssets' field in the startup options (since the corresponding command-line argument has been removed).
- UE4: Removed FNativeCodeGenData::DestPluginPath and modified FBlueprintNativeCodeGenModule::Initialize() to remove the check for it.
- UE4: Added FBlueprintNativeCodeGenModule::ShutdownModule(). This now handles cleanup for the nativization module after the cook process has finished.
- UE4: Modified UCookCommandlet::CookByTheBook() to no longer look for the '-nativizedAssets' command-line option as well as to remove the initialization of the nativization-related startup option flags that were removed.
- UE4: Modified UCookOnTheFlyServer::StartCookByTheBook() to check the 'BlueprintNativizationMethod' config setting in order to determine whether or not to nativize assets. This replaces the '-nativizedAssets' command-line flag.
- UE4: Modified UCookOnTheFlyServer::StartCookByTheBook() to remove the case that previously handled the 'bWarnIfPackagedWithoutNativizationFlag' check. This is no longer needed since the '-nativizedAssets' flag was removed.
- UE4: Modified UCookOnTheFlyServer::CookByTheBookFinished() to unload the IBlueprintNativeCodeGenModule instance after cooking, in order to reset module state for another potential pass within the same process context.
- UE4: Modified UWidgetBlueprintGeneratedClass::InitializeTemplate() to append 'REN_ForceNoResetLoaders' to the Rename() flags so that when we shift the OldArchetype object into the transient package, it doesn't invalidate the outer package's linker. We need that to remain valid so that multiple nativized cooks within the same process don't fail.
- UE4: Modified FMainFrameActionCallbacks::PackageProject() to remove the addition of '-nativizedAssets' to the UAT command line based on project settings (this is no longer needed, as it is now handled internally by UAT).
- UE4: Modified SaveWorld() to append 'REN_ForceNoResetLoaders' to the Rename() flags so that when we rename the world instead of duplicating it, it no longer triggers a reset of *all* object loaders.
Notes:
- After this change, all nativization workflows (e.g. UAT, UBT and UE4Editor) now look to the 'BlueprintNativizationMethod' flag in the Project settings (UProjectPackagingSettings). This unifies everything on a single flag by default, and removes the feature added in 4.17 that touched the .uproject file when that setting changed (which itself introduced a couple of new regressions in that release).
- Advanced users and build engineers can override this value per task. Instructions to do that are as follows:
- For UAT/UBT/UE4Editor.exe tasks, adding '-ini:Game:[/Script/UnrealEd.ProjectPackagingSettings]:BlueprintNativizationMethod=<Disabled|Inclusive|Exclusive>' will allow the current setting to be overridden on the command line.
- When '-cook' is included on the RunUAT BuildCookRun command line, the above needs to also be embedded within the '-AdditionalCookerOptions' command-line argument. This means that if both '-cook' and '-build' are included, then both the '-ini' argument shown above as well as the same '-ini' argument embedded inside the '-AdditionalCookerOptions' argument will need to be included for the build pipeline to work properly.
- We should add a release note instructing users to check their .uproject file and remove any 'AdditionalPluginDirectories' entries that list the "Intermediate/Plugins" path. This will avoid issues when building the cooked target with UBT.
- We should also add a release note and/or documentation to explain the "advanced" build pipeline options (i.e. the '-ini' argument noted above).
Change 3665061 by Phillip.Kavan
Fix crash on load in a nativized build caused by a reference to a BP class containing a nativized enum.
Mirrored from //UE4/Release-4.18 (CL# 3664993).
#3969
#jira UE-49233
Change 3665108 by Marc.Audy
(4.18) Fix crash when diffing a blueprint whose older version's parent blueprint has been deleted
+ additional code cleanup
#jira UE-50076
Change 3665114 by Marc.Audy
Minor change that could potentially improve performance in some cases
Change 3665410 by Mieszko.Zielinski
Fixed naming of Vislog's BP API #UE4
Change 3665634 by Ben.Zeigler
#jira UE-50045 Mark PIE-duplicated packages as explicitly fully loaded to fix PIE networking crash. These used to be accidentally treated as fully loaded because it was checking the wrong package name on disk
Change 3666970 by Phillip.Kavan
Do not emit a BOM when generating nativized Blueprint asset source files encoded as UTF-8.
#jira UE-46814
Change 3667058 by Phillip.Kavan
Ensure that '-build' is always passed to BuildCookRun automation for projects configured with Blueprint nativization enabled so that it doesn't skip that stage.
Mirrored from //UE4/Release-4.18 (CL# 3667043).
#jira UE-50403
Change 3667150 by Mieszko.Zielinski
PR #4042: BT CompositeDecorator node clears RF_Transient flag for all owned Decorator nodes. (Contributed by BibbitM)
Minor tweak from the original PR - made UBehaviorTreeDecoratorGraphNode_Decorator::ResetNodeOwner protected and added UBehaviorTreeGraphNode_CompositeDecorator class a a friend.
#jira UE-50249
Change 3667152 by Mieszko.Zielinski
PR #4047: Clearing RF_Transient flag when reseting EQS node owner - single change. (Contributed by BibbitM)
#jira UE-50298
Change 3667166 by Mieszko.Zielinski
Fixed FRichCurve baking so that it doesn't loose its curvature #UE4
Also, added some baking sanity checking (like if the range is larger than a single point).
Change 3668025 by Dan.Oconnor
Added a step to the compilation manager to skip recompilation of classes that are dependent on a given classes function signatures when those signatures have not changed
#jira UE-50453
Change 3672063 by Ben.Zeigler
#jira UE-49049 Fix issue with StreamableHandle ParentHandles array being modified during iteration, I had already fixed the Cancel case but not the complete case
Change 3672306 by Ben.Zeigler
#jira UE-50571 Fix issue where PrimaryAsset blueprints would be incorrectly added to the dictionary if their base class had an active class redirect referencing it
Change 3672683 by Marc.Audy
Code cleanup
Change 3672749 by Ben.Zeigler
Fix issue where deleting a source package would not cause the generated cooked package to get deleted while doing an incremental build
Change 3672831 by Ben.Zeigler
#jira UE-50507 Add a cook/save warning when a registered PrimaryAssetId does not match the object's real exported PrimaryAssetId.
Make PrimaryDataAsset blueprintable so you can make primary assets in a blueprint-only project
Change 3673551 by Ben.Zeigler
#jira UE-50029 Fix it so data-only blueprints will never create a UCS function in the final class. If you manually compiled the blueprint or it got recompiled due to inheritance it would create a UCS function that just calls its parent, which could cause problems later on when it did not create a UCS function during normal load
Change 3675074 by mason.seay
Test map for VisLog Testing
Change 3675084 by Mieszko.Zielinski
Fixed BT editor constantly marking BT asset as dirty if it has a "RunBehavior" node #UE4
#jira UE-43430
Change 3676490 by Ben.Zeigler
#jira UE-50635 Fix it so directly blueprinting PrimaryDataAsset will give you a useful PrimaryAssetType. Unless overridden the Type of a PrimaryDataAsset will be the first native class found in the hierarchy, or the the blueprint class that directly blueprints PrimaryDataAsset
Change 3676579 by Lukasz.Furman
fixed crash in behavior tree's search rollback
Change 3676586 by Lukasz.Furman
added local scope mode to behavior tree's composite nodes
Change 3676587 by Ben.Zeigler
Swap PrimaryAssetId property customization to use the same ui as the Pin customization. This one better handles objects that aren't loaded into memory, the old Property one would show None in that case
Add browse, use selected, and clear buttons, and make ID selector font the normal property font
Change 3676715 by Lukasz.Furman
changed order of behavior tree's aux node ticking
Change 3676867 by Ben.Zeigler
#jira UE-50665 Fix issue where resolving Soft Object Ptrs that are stored inside static assets or Blueprint CDOs from PIE will return the editor actor, not the PIE actor. So when resolving a path/ptr during PIE add a failsafe to do a PIE fixup
Fix issue where Lazy pointer fixup could corrupt Soft Object Ptrs by applying the PIE fixup too early
Change
|