Commit Graph

6634 Commits

Author SHA1 Message Date
jibb smart
6b473b34ea Can now tell the player's controller about analog stick deadzones through PlayerController::SetControllerDeadZones, or directly as a device property using FInputDeviceAnalogStickDeadZoneProperty
While deadzone handling should always be done on the game's side, some device libraries also do some input filtering themselves so that noisy unintended input doesn't prevent power-saving modes from activating.

Since a game may allow players to set deadzones lower than the device defaults, we've added a way to inform the device of the player's deadzone settings.

#tests PIE, affected controllers, minimum, maximum, and default deadzone settings, among others.
#rb ben.woodhouse

[CL 36760458 by jibb smart in 5.5 branch]
2024-10-01 19:57:09 -04:00
matt peters
979f9e8100 IncrementalCook: Add ReferencedSet.txt for use when staging from a zen oplog that could include previous-cook entries than were no longer referenced from the most recent cook.
Refactor CookByTheBookFinishedInternal to move all optional writes into the per-platform forloop so we can share data calculated for each platform between ReferencedSet.txt and the AssetRegistry.
Remove the no-longer-used SCOPED_BOOT_TIMING macros; we profile cook times using UE_SCOPED_HIERARCHICAL_COOKTIMER now.
#rnx
#rb Zousar.Shaker

[CL 36759205 by matt peters in 5.5 branch]
2024-10-01 19:46:19 -04:00
jamie dale
bf2592e212 Replaced usage of FInternationalization::ForUseOnlyByLocMacroAndGraphNodeTextLiterals_CreateText with FText::AsLocalizable_Advanced
[FYI] Leon.Huang
#rnx

[CL 36759164 by jamie dale in 5.5 branch]
2024-10-01 19:45:55 -04:00
tomasz obrebski
54a30bd892 IFileHandle seekless ReadAt
#jira UE-213809
#rb brian.white, daniele.pieroni, David.Harvey, Josie.Yang
#rnx

[CL 36757440 by tomasz obrebski in 5.5 branch]
2024-10-01 19:29:48 -04:00
danny couture
afce8a27c5 [ZenLoader]
- Fix ref counting issue causing use-after-free when ALT is active

#rnx
#rb kevin.macaulayvacher

[CL 36757353 by danny couture in 5.5 branch]
2024-10-01 19:29:00 -04:00
nick verigakis
d2ed7b31a3 New batch APIs to optimize UEFN project close times by deferring and batching:
- Calls to OnPluginUnload (one GC call for all plugins)
- Calls to FCollectionManager::HandleObjectDeleted (one UpdateCaches call at the end)

#rb Dave.Belanger, Francis.Hurteau
[FYI] Rex.Hill
#rnx

[CL 36757086 by nick verigakis in 5.5 branch]
2024-10-01 19:26:41 -04:00
jamie dale
29b79bcaf6 Audited existing usage of FText::FindText
[FYI] Leon.Huang
#rnx

[CL 36756757 by jamie dale in 5.5 branch]
2024-10-01 19:24:00 -04:00
anton dunchev
e0de0354f3 [LLM] Properly clear LLM tagset scope
#tests LLM RR
#rnx
#rb Matt.Peters

[CL 36755752 by anton dunchev in 5.5 branch]
2024-10-01 19:10:20 -04:00
dave jones2
36ab906b18 Added missing GetLongPackageFName functions to SoftObjectPtr variations.
The underlying FSoftObjectPath has a GetLongPackageFName, which is sometimes useful to call via the owning soft pointer.

#rb francis.hurteau

[CL 36755375 by dave jones2 in 5.5 branch]
2024-10-01 19:07:27 -04:00
yoan stamant
264a07ce86 [Config] No longer skip EditorOnly properties when not in Editor (introduced in CL 400612) so standalone mode (-game) will be consistent with Editor and PIE.
#rb Aris.Theophanidis, Josh.Adams, Francis.Hurteau
#jira UE-224162

[CL 36755292 by yoan stamant in 5.5 branch]
2024-10-01 19:06:44 -04:00
paul chipchase
6e7f255861 Add a new feature allowing bulkdata cooked output to be split into smaller files to help with data organization and patching efforts.
#rb Per.Larsson, Pere.Rifa
#jira UE-222974

- To enable the feature call FBulkData::SetCookedIndex with a FBulkDataCookedIndex set to a value between 1 - 255. Zero is currently reserved as the default/off state and can be quickly accessed via FBulkDataCookedIndex::Default.
-- Note that we might change the default value in the future, the main reason to keep it as zero for now is that it means FChunkId values will remain unchanged for bulkdata files not using the feature.
- When a bulkdata object has a cooked index it will output to a file with that value based on the following format  <packagename>.CookedIndex.<extension> so a normal bulkdata payload with a cooked index of 5 would end up writing to <packagename>.005.ubulk.
-- This allows the calling systems to control which bulkdata payloads go to which sub files.
- We currently do not support memory mapped payloads or payloads with the duplicate non optional flags. Support and testing for this will be added later.
- Tested saving/editing/loading packages with bulkdata in the editor (vector fields), build/cook/run normal builds, build/cook/run with feature enabled then running the new code with data produced from non modified code and running non modified exe on data generated with the new code.

### IPackageResourceManager
- Added overloads for most methods that take EPackageSegment that also take a FBulkDataCookedIndex and deprecated the older versions.
- Not all methods have been ported over, just the ones I could test but the rest will need the same treatment at some point.

### FLinkerSave
- Now stores each set of bulkdata, optional bulkdata and memory mapped payloads in separate archives, one per cooked index.
- Added a method ::HasCookedIndexBulkData that returns if any of the normal bulkdata payloads contain a non default cooked index. This is used for some paranoid checks when saving packages to the workspace domain.

[CL 36754477 by paul chipchase in 5.5 branch]
2024-10-01 18:59:56 -04:00
matt peters
049b7b406d EditorBulkDataTests: Fix non-unity compile error
#rnx

[CL 36752922 by matt peters in 5.5 branch]
2024-10-01 18:46:09 -04:00
matt peters
4988993a1f Cooker: Fix the preload optimization to support arbitrary ordering of packages during PumpLoads: in addition to preloading the package itself, also preload its graph of imports before calling LoadPackage.
Removed the EPackageState::LoadPrepare, EPackageState::LoadReady, and EPackageStateProperty::State property, replaced them (the return of the original) single EPackageState::Load. Substates within Load are now handled by a separate state variable on FPackagePreloader.
The substate on FPackagePreloader is more complex than a usual substate, because now FPackagePreloaders can be in an active substate of EPreloaderState even when the FPackageData's state is not in load.
#rnx
#rb Zousar.Shaker

[CL 36752869 by matt peters in 5.5 branch]
2024-10-01 18:45:41 -04:00
steve robb
fa3c83284a Trivial changes to force an integration to Release-32.00.
#rnx

[CL 36748846 by steve robb in 5.5 branch]
2024-10-01 18:00:28 -04:00
steve robb
9566ac5def Trivial changes to force an integration to Release-32.00.
#rnx

[CL 36748103 by steve robb in 5.5 branch]
2024-10-01 17:51:05 -04:00
steve robb
28bf104b6a Added cvar to control if non-nullable properties produce an error, a warning or a default object when failing to resolve an object reference.
Default objects will not be created if the class is abstract.

#rb Francis.Hurteau
#jira UE-224118

#tests Ran editor, new unit tests

[CL 36747664 by steve robb in 5.5 branch]
2024-10-01 17:46:30 -04:00
bob tellez
eea057740a [Backout] - CL36468040
[FYI] danny.couture
Original CL Desc
-----------------------------------------------------------------
[ZenLoader]
 - Fix ref counting issue causing use-after-free when ALT is active

#rnx
#rb kevin.macaulayvacher

[CL 36747620 by bob tellez in 5.5 branch]
2024-10-01 17:46:00 -04:00
danny couture
1c4c76c614 [ZenLoader]
- Fix ref counting issue causing use-after-free when ALT is active

#rnx
#rb kevin.macaulayvacher

[CL 36746660 by danny couture in 5.5 branch]
2024-10-01 17:37:39 -04:00
Tim Smith
e0faa51c3e Fix issue with content browser now properly detecting new classes from live coding.
#rnx
#rb Julien.StJean
#jira UE-225318

[CL 36592555 by Tim Smith in 5.5 branch]
2024-09-25 17:41:09 -04:00
jamie dale
23ff6c0c29 Minimal support for staging/cooking/loading localized asset variants using both "en-US" and "en_US" style culture names
This allows both styles to be used for L10N asset paths, ie, /MyPlugin/L10N/en-US/Foo and /MyPlugin/L10N/en_US/Foo are now equivalent, with the latter using a valid Verse identifier.

The rest of the tooling around creating/managing localized assets still needs updating, but this unblocks being unable to create localized assets in environments that enforce Verse identifier restrictions on folder names.

#rb Leon.Huang
#rnx

[CL 36451648 by jamie dale in 5.5 branch]
2024-09-19 17:10:43 -04:00
danny couture
e2d1d76f09 [Backout] - CL36385729
[FYI] danny.couture
Original CL Desc
-----------------------------------------------------------------
[ZenLoader]
 - Fix missing ref counting causing use-after-free when ALT is active

#rb kevin.macaulayvacher

[CL 36430889 by danny couture in 5.5 branch]
2024-09-19 10:22:43 -04:00
danny couture
db3eb38259 [ZenLoader]
- Fix missing ref counting causing use-after-free when ALT is active

#rb kevin.macaulayvacher

[CL 36385738 by danny couture in 5.5 branch]
2024-09-18 07:25:57 -04:00
mattias hornlund
93d29af692 Iris/Networking
- Enabled use of NetTokens/NetTokenStore and NetTokenDataStores outside of Iris to facilitate exporting data from shared serialization paths
- NetTokenStore and NetTokenDataStores are now owned by NetDriver.
- Added support for CustomExport bunches to carry data assoiciated with NetTokenExports

GameplayTags
- GameplayTagNetSerializer now respects settings from GameplayTags.ini
- Implemented placeholder GameplayTagNetTokenDataStore.

GameplayTags are now using NetTokens to export data if running in the new dynamic mode.

#rb jodon.karlik, Ryan.Gerleve

[CL 36380672 by mattias hornlund in 5.5 branch]
2024-09-18 04:10:29 -04:00
phillip kavan
596a8859d9 Push array inner property to current archiver state when serializing "replacement" array item value overrides on load.
#rb Maxime.Mercier

[CL 36346969 by phillip kavan in 5.5 branch]
2024-09-17 15:12:28 -04:00
danny couture
1e0993980a [ZenLoader]
- Fix crash when running in cook on the fly mode
 - Restore zenloader by default for loose cooked files

#rnx
#jira UE-221752
#rb kevin.macaulayvacher

[CL 36262503 by danny couture in 5.5 branch]
2024-09-13 09:06:05 -04:00