Commit Graph

270 Commits

Author SHA1 Message Date
Matt Peters
2e9b5d4a76 IncrementalCooking: Move initialization of the EditorDomainOplog to after engine startup, and only when cooking, to avoid crashing because project name is not available.
#jira UE-192170
#rnx
#rb Zousar.Shaker

[CL 27014776 by Matt Peters in ue5-main branch]
2023-08-10 18:10:19 -04:00
Matt Peters
db91644a10 EditorDomain: Disable the EditorDomainOplog for new incremental cooking until we have fixed initialization to occur at cook startup rather than too early in engine startup.
#jira UE-192170
#rb None, trivial
#rnx

[CL 26908707 by Matt Peters in ue5-main branch]
2023-08-07 21:21:47 -04:00
jamie dale
6f1025d873 Added a Content Browser file data source for Portable Object (PO) files contained within the Localization folder
#jira
#rb Rex.Hill

[CL 26150707 by jamie dale in ue5-main branch]
2023-06-21 11:25:20 -04:00
matt peters
cf8d2a71e2 Cooker SkipOnlyEditorOnly: Change commandline parsing to allow true/false values so we can override it back to off if config has turned it on.
Change commandline and config arguments to match the new name: OnlyEditorOnly -> SkipOnlyEditorOnly.
#rb Zousar.Shaker
#rnx

[CL 26139495 by matt peters in ue5-main branch]
2023-06-20 19:57:49 -04:00
Matt Peters
062f7507c1 Iterative Cooking - Invalidate packages for iterative cook if their classes are not allowed by class filters. This change uses the same system created for incremental cook and applies it to iterative cook.
Change class filtering to always use an allow list and a block list.
Change class filtering to enable allowlist all classes in a scriptpackage.
Move implementation of hybrid iterative's allow-all mode out into a separately parsed parameter.
Fix some Engine and UnrealEd classes that were not allowing EditorDomain to call Serialize on their class default object (which it needs to do to collect CustomVersions).
#rnx
#rb Zousar.Shaker

[CL 26102598 by Matt Peters in ue5-main branch]
2023-06-19 16:02:02 -04:00
Matt Peters
d669537500 Iterative Cooking: Add optional invalidation of iterative results if the executable changes.
#rnx
#rb Zousar.Shaker

[CL 26047491 by Matt Peters in ue5-main branch]
2023-06-16 08:08:02 -04:00
tom waterson
b2a34a684b Add torque units and extend force units
#rb justin.hare
#preflight 647862b85d23eca37d782f2c

[CL 25723425 by tom waterson in ue5-main branch]
2023-06-01 07:44:12 -04:00
daren cheng
37de120aac Add Editor Utility version of UMG widget components to prevent serialization conflicts
#jira UE-170091
#rb yohann.dossantos
#preflight 646bda4464351d76f3d2244a

[CL 25570811 by daren cheng in ue5-main branch]
2023-05-22 17:32:00 -04:00
Charles deRousiers
23a0b8d740 Add Specular Profile asset.
This allows artist to provide a custom LUT describing specular behavior for view and light angles. The LUT can be procedurally generated or provided from a texture.

#rb sebastien.hillaire
#jira none
#preflight 646b6b392c0a5da0dcc8a2ab

[CL 25564387 by Charles deRousiers in ue5-main branch]
2023-05-22 11:00:34 -04:00
Matt Peters
cbadcc92e7 OnlyEditorOnly: Make a separate setting for OnlyEditorOnly rather than using CanSkipEditorReferencedPackagesWhenCooking, so we can deprecate that separately later and still test OnlyEditorOnly.
OnlyEditorOnly: Add Instrumentation to explain differences between regular cook and OnlyEditorOnly cook.
#rb Zousar.Shaker
#rnx
#preflight 64556a9e4574b81df409a82b

[CL 25359675 by Matt Peters in ue5-main branch]
2023-05-05 16:59:00 -04:00
lauren barnes
9c21f0231b Creating new parent class for widget editing settings and setting up widget and editor utility widget variants.
#jira UE-165638
#rb Daren.Cheng
#preflight 6442e0a5f030f684d51dde25

[CL 25154568 by lauren barnes in ue5-main branch]
2023-04-21 17:43:53 -04:00
Michael Galetzka
1480b67a4c Added thumbnails for curve assets
#jira none
#rb stu.mckenna
#preflight 6441b4d327014596f3e2c5e9

[CL 25143562 by Michael Galetzka in ue5-main branch]
2023-04-21 06:38:23 -04:00
phillip kavan
81becef7d8 Add support for deferring Find-in-Blueprint and namespace asset discovery until after the initial registry file scan is complete.
Notes:
- For Find-in-Blueprints, this defaults to off (legacy behavior). It can be toggled on via a project's DefaultEditor.ini, trading a potentially faster asset scan for a possible single-frame hitch at the end of the scan (depending on total BP asset count, it may or may not be noticeable).
- For Blueprint namespaces, we always defer (the cost is relatively small enough for it to not be noticeable to just process on completion).

#rb Ben.Zeigler
[FYI] Bob.Tellez
#preflight 641e8827c44ce895fce5d297

[CL 24797741 by phillip kavan in ue5-main branch]
2023-03-26 13:22:28 -04:00
frank fella
3051266a71 Niagara - Fix incorrect type namespace in previous ini checkin.
[CL 24114900 by frank fella in ue5-main branch]
2023-02-09 23:41:19 -05:00
frank fella
e1e0355b99 Niagara - Move the cooked sidecar optional data generation back to the base editor ini until the Content Worker issues can be resolved.
[CL 24107260 by frank fella in ue5-main branch]
2023-02-09 16:49:43 -05:00
charles bloom
393eb5f238 change BaseEditor config for HDR texture import to BC6
TextureImportSettings CompressedFormatForFloatTextures=HDRCompressed_BC6

#rb none
#preflight none

[CL 24084508 by charles bloom in ue5-main branch]
2023-02-08 17:32:57 -05:00
Joe Kirchoff
430ef6e607 Update recommended IDE install prompt to download and install VS2022 rather than VS2019
#rnx
#rb halfdan.ingvarsson
#jira UE-175841
#preflight 63db09f57a39a18021a489c1

[CL 23962301 by Joe Kirchoff in ue5-main branch]
2023-02-01 20:16:05 -05:00
francis hurteau
9bde1b26e8 Only generate niagara sidecar data for the editor plugin instead of the whole client cook as well
#rb Frank.Fella
#preflight 63d18bb9033e457ba8f1fdb6

[CL 23888496 by francis hurteau in ue5-main branch]
2023-01-27 14:18:15 -05:00
Matt Peters
a1e92f3476 Cooker: Implement SoftGC - trigger a partial garbage collect when available physical memory reaches a schedule of targets. This significantly reduces the peak memory load of the cook commandlet for large projects, while adding only a small cost due to reloaded packages. In testing, the reload cost is so small that it is outweighed by time savings in various functions due to having a smaller number of UObjects loaded.
#rb Zousar.Shaker
#rn Cooking, Minor
#preflight 63c5c92f3f587d9e14a4c046

[CL 23733661 by Matt Peters in ue5-main branch]
2023-01-16 18:25:31 -05:00
Matt Peters
2f5b2846e7 CookOnTheFlyServer: Remove deprecated API elements from 4.26 and earlier.
#rb None, trivial
#rnx
#preflight 63bf2f7068068a8bd6da3866

[CL 23661597 by Matt Peters in ue5-main branch]
2023-01-12 08:38:34 -05:00
Matt Peters
ef7b601ea2 Cooker: Remove CookPlatformDataCacheSettings default settings for materials and textures. This throttle to to SaveQueue processing is no longer necessary because materials and textures now have their own limiters for how many are in flight.
Removing the throttle allows the SaveQueue to go wider on DDC requests and reduces the size of the save queue, which reduces the cost of garbage collection.
#rb None, trivial
#rnx
#fyi Danny.Couture
#preflight None, not tested by preflight

[CL 23510988 by Matt Peters in ue5-main branch]
2022-12-14 08:17:14 -05:00
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