Commit Graph

249 Commits

Author SHA1 Message Date
paul chipchase
8912b2a25c Add the option to note if the editor bulkdata is cooked or uncooked when logging about VA pull failures
#rb Sebastian.Nordgren
#jira UE-169622
#rnx
#preflight 636d118e361bbd3c0ae5e116

- Recently we have had several incidents where there has been confusion if a VA payload pull that failed was initiated by a uncooked editor bulkdata or a cooked one. Adding the option to postfix the log message with this info for selected projects will make debugging this sort of thing easier in the future.
- Enabled by changing '[EditorBulkData]LogCookedStatus=' to true in the Editor ini file.
-- As this is only useful for projects that allow cooked content in the editor, if not then it is just noise so the post fix is disabled by default.
- Note that the check in FEditorBulkData::PullData should also be removed but that has been added as its own work item in JIRA.

[CL 23101614 by paul chipchase in ue5-main branch]
2022-11-11 13:31:11 -05:00
Matt Peters
9a0837f98c MPCook: Tweak logging and configuration of CookDirector to fix incorrect logs and make it easier to configure.
#rb Zousar.Shaker
#rnx
#preflight 636d837c953c19d4350f4f7b

[CL 23089933 by Matt Peters in ue5-main branch]
2022-11-10 18:27:28 -05:00
Matt Peters
40185c7e66 WindowsPlatformMemory: Change the behavior of FGenericPlatformMemoryStats::GetMemoryPressureStatus on Windows; it now uses QueryMemoryResourceNotification instead of the generic implementation.
Cooker: In MPCook Collect garbage based on the Operating System's MemoryPressure event, so that Standby memory does not cause spurious garbage collection.
In all cook modes, tweak the output during garbage collection to have less duplicate information.
In all cook modes, add a cooldown for GC when garbage collection is not impactful.
#rn Minor, Core
#rb Zousar.Shaker, Danny.Couture
#preflight 636d69761c14fe4505163289

[CL 23088442 by Matt Peters in ue5-main branch]
2022-11-10 17:17:20 -05:00
zousar shaker
5b9887e83e Reduce the iteratively cooked types to just sound and texture types until we've got more solid non-asset dependency tracking in place.
#rb none
[FYI] matt.peters

[CL 22918077 by zousar shaker in ue5-main branch]
2022-11-02 11:49:40 -04:00
Matt Peters
3b57fa2789 IncrementalCooking: Add DeclareConstructClasses for classes that need it. Fix some transient UObjects that assert they are never persistently serialized to support Serialize being called on their ClassDefaultObject to support DeclareCustomVersions.
#rb Zousar.Shaker
#rnx
#preflight 63497341f622f6c4bb1dd625

[CL 22529151 by Matt Peters in ue5-main branch]
2022-10-14 12:42:43 -04:00
francis hurteau
da0eb39b3c Disable optional object automatic generation of Niagara types again while new issues are investigated
#rb trivial
#preflight skip

[CL 21444867 by francis hurteau in ue5-main branch]
2022-08-18 13:02:56 -04:00
francis hurteau
37206bcb55 Re-enable optional object automatic generation of Niagara types
#rb Paul.Chipchase
#preflight 62d5b44eaf68cd745b262031

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 21386972 via CL 21389380 via CL 21389764
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21392485 by francis hurteau in ue5-main branch]
2022-08-15 15:47:12 -04:00
francis hurteau
cd3bc03929 Disable automatic optional for Niagara type during bulk data refactor
[FYI] Paul.Chipchase
#rb trivial
#preflight skip

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 21005723 via CL 21005754 via CL 21005763
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21006619 by francis hurteau in ue5-main branch]
2022-07-08 10:14:46 -04:00
francis hurteau
b3e6e06356 Enable automatic editor optional sidecar data for Niagara asset types
#rb Frank.Fella
#preflight 62c5ce7d2a05d4f55b0b572b

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 20990162 via CL 20990219 via CL 20990305 via CL 20990346
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21002403 by francis hurteau in ue5-main branch]
2022-07-08 02:50:46 -04:00
Matt Peters
b867a04762 Cooker Multiprocess: Add AssignedToWorker state for PackageDatas on the Director. Implement Server/Client state machine for communication from CookDirector process's CookWorkerServers to the CookWorker processes' CookWorkerClients.
#rb Zousar.Shaker
#rnx
#preflight 62c36a22a3568e3066869c4b

[CL 20937932 by Matt Peters in ue5-main branch]
2022-07-04 19:21:19 -04:00
Robb Surridge
64d1e34588 Support multiple tooltip sources and multiple base URLs for documentation.
- When the editor checks for enhanced tooltip content, it now looks in the Documentation/Source folder within the project folder and all enabled plugin folders.
- If the enhanced tooltip content contains a variable named ToolTipOverride, the content of that variable is used to override the default content for the initial simple tooltip.
- Documentation links can now use custom base URLs instead of always having the page ID appended to DocumentationURL in BaseEditor.ini.
- New base URLs can be defined in BaseEditor.ini or in DefaultEditor.ini within the project folder, as follows:
[/Script/Documentation.DocumentationSettings]
+DocumentationBaseUrls=(Id="ID",Url="http://myBaseUrl/{PAGEID}")
- They can also be added programmatically by calling IDocumentation::RegisterBaseUrl(), so plugins can add their own.
- The base URL can be specified anywhere a doc link is used. For links in code, the IDocumentation methods now accept an optional base URL parameter. For links taken from enhanced tooltip files, the ID of the base URL can now be specified at the file level in the BaseUrl metadata, or at the excerpt level in the [VAR:BaseUrl] variable.
- We now use {PAGEID} as a placeholder for where the doc link should go within the base URL.
#jira UE-139773
#rb jamie.dale
#preflight 62b08abdde510ae06e51f1dd

[CL 20936555 by Robb Surridge in ue5-main branch]
2022-07-04 14:37:49 -04:00
charles bloom
1882680646 Cook memory GC triggers warn if MemoryMaxUsed config cannot be hit due to low system memory
adjust defaults so  that GC will happen when running out of available memory for assetcompilingmanager
help with crashes on client machines with low total memory

#rb matt.peters
#preflight none

[CL 20738800 by charles bloom in ue5-main branch]
2022-06-20 11:55:31 -04:00
Zousar Shaker
50a9ea460d Increase the Hybrid Iterative permit list in config to allow for additional types to be cooked iteratively (when Hybrid Iterative is enabled). Specifically adding:
- AnimSequence
- AnimDataModel
- AthenaDanceItemDefinition

And commonly co-packaged types.

#rb none
#rnx
#preflight skip,NotTestedByPreflight
#robomerge EngineMerge

[CL 20636976 by Zousar Shaker in ue5-main branch]
2022-06-13 18:58:45 -04:00
Robb Surridge
622e6d7a8a Finalize links to community pages in the Help menu
#jira UE-139298
#preflight 628e4ba62f2409bc1e3bf334
#rb lauren.barnes

[CL 20439606 by Robb Surridge in ue5-main branch]
2022-05-31 14:02:13 -04:00
Matt Peters
81a3ae5b81 Cooker: Multiprocess support: Remove some deprecated code and move some out of place functions that should not be executed on CookWorker into the proper calling function that will be called on the director only.
#rb Zousar.Shaker
#rnx
#preflight 629135e11b686da53f41b463

[CL 20398652 by Matt Peters in ue5-main branch]
2022-05-27 16:48:59 -04:00
Zousar Shaker
15446b0f6e Expand the IterativeClassAllowList to include SoundCue, StaticMesh, and MaterialInstanceConstant (and commonly co-packaged classes). For further testing with hybrid iterative cooking.
#rb none
#fyi matt.peters
#rnx
#preflight skip,NotTestedByPreflight

[CL 20054893 by Zousar Shaker in ue5-main branch]
2022-05-05 00:29:02 -04:00
Matt Peters
18fcec9be9 Reenable BulkDataRegistry. Handling of BulkDatas with duplicate Guids has been fixed, and AssetDataGather has been optimized sufficiently that BulkDataRegistry queries do not block on it in startup.
#rb None, Trivial
#rnx
#preflight 626bcf455c220f34acde0e62

[CL 19976752 by Matt Peters in ue5-main branch]
2022-04-29 07:48:15 -04:00
Zousar Shaker
2a6c9aff0f Add HybridIterativeEnabled to deny list for settings changes that invalidate cooked output.
#rb matt.peters
#preflight 624b7019c51908059aee9374

[CL 19616556 by Zousar Shaker in ue5-main branch]
2022-04-04 18:41:05 -04:00
Zousar Shaker
6a58814ac4 Adjustments to the allow/block types for editor domain and hybrid iterative.
#rb none,Trivial
#preflight skip,NotTestedByPreflight

[CL 19601020 by Zousar Shaker in ue5-main branch]
2022-04-02 02:20:35 -04:00
Jeremy Moore
0aebd0267f Add support for getting UScriptStruct on FIntPoint, FIntVector and FIntVector4.
Implement the FIntVector4 property struct and detail customisation.
Added FIntVector and FIntVector4 NAME_ FNames.
#preflight 6244bdb2470aff98e967311a
#rb steve.robb

[CL 19564992 by Jeremy Moore in ue5-main branch]
2022-03-30 17:50:26 -04:00
Matt Peters
285a474416 BulkDataRegistry: Disable until we fix the 9 second stall in editor startup.
#jira UE-146665
#rb Zousar.Shaker
#rnx
#preflight 62389a758900c14eecae4eb5

[CL 19452734 by Matt Peters in ue5-main branch]
2022-03-21 11:45:24 -04:00
Matt Peters
7a31b406c1 Enable DDC2's BulkDataRegistry by default.
#rb None, Trivial
#rnx
#preflight 621d80a0ca28c55634087383

[CL 19197028 by Matt Peters in ue5-main branch]
2022-03-01 08:06:53 -05:00
Robb Surridge
7e312cfe92 Delete tutorial Blueprints from engine content, leaving tutorial assets in place to avoid breaking content references.
#rb lauren.barnes
#fyi jerome.delattre
#jira UE-141830
#preflight 620d617e8a1ea160098376b5

[CL 19033911 by Robb Surridge in ue5-main branch]
2022-02-17 08:53:08 -05:00
Matt Peters
37598199b5 EditorDomain KnownClasses support:
Add DeclareCustomVersions and PostLoadCanConstructClasses  for classes that need them.
Fix PostLoadCanConstructClasses to inherit from parent.
Fix TrySavePackage to replace BlueprintClasses with their native base class.
#rb Zousar.Shaker
#rnx
#preflight 620a575b583261b0a6526951

[CL 18978342 by Matt Peters in ue5-main branch]
2022-02-14 08:35:23 -05:00
eric mcdaniel
cfcc6e5880 [Backout] - CL18954628
Backing out change due to cook breakage.
#preflight https://horde.devtools.epicgames.com/job/6206c2dfe24662ad5f77beed
#rb Robb.Surridge
#fyi Robb.Surridge

Original CL Desc
-----------------------------------------------------------------
Tutorials to plugin part 3: remove preset tutorial categories and move over existing content
#rb lauren.barnes
#jira 141830
#preflight 62068f21e24662ad5f7149ae

[CL 18959993 by eric mcdaniel in ue5-main branch]
2022-02-11 15:28:39 -05:00