Commit Graph

15072 Commits

Author SHA1 Message Date
catalin dragoiu
3e084f35fd Trace Control Window now uses a slim toolbar style
#rb ionut.matasaru
#jira UE-215072

[CL 34542740 by catalin dragoiu in ue5-main branch]
2024-06-20 15:54:42 -04:00
jeanmichel dignard
23e0f5dd24 Place Actors Panel
- Support brushes in the "Add+" menu by removing the CustomGenerator using SBspPalette which wasn't needed anymore and adding DragHandler support in FPlacementMenuEntry
- Added support for short category names to fit buttons. Section headers still use the full names.
- Removed mention of dragging from the empty favorites hint text
- Removed unused bInUseLongDisplayName from FBuilderInput

#jira UE-205201

[CL 34542153 by jeanmichel dignard in ue5-main branch]
2024-06-20 15:39:47 -04:00
ionut matasaru
ad9eaa7fd6 [Insights]
- Fixed initialization of FFilterService to be done automatically by the TraceInsightsCore module.
  - Removed FCustomFilter (was identical with FFilterWithSuggestions).
  - Removed some unnecessary TRACEINSIGHTSCORE_API for public filter classes.

#rb Catalin.Dragoiu
#rnx

[CL 34540771 by ionut matasaru in ue5-main branch]
2024-06-20 15:11:10 -04:00
matt peters
a24e25b334 CookedEditor: Support native classes, and wildcards to specify them, in [CookSettings].DisallowedObjectClassNamesToLoad.
#rb Josh.Adams
#rnx

[CL 34539359 by matt peters in ue5-main branch]
2024-06-20 14:52:12 -04:00
catalin dragoiu
8575e7b9e2 Fix multiple session support in Trace Control Window.
Active presets now reflect the state of the channels.
#rb ionut.matasaru
#jira UE-215072

[CL 34530279 by catalin dragoiu in ue5-main branch]
2024-06-20 11:11:22 -04:00
ionut matasaru
ed3c06e426 [Insights] Fixed tootips for the table columns of per-frame aggregated stats in Timers panel.
#rb Catalin.Dragoiu

[CL 34524372 by ionut matasaru in ue5-main branch]
2024-06-20 07:18:41 -04:00
per larsson
2ab6c4c7ba Fixed bug when serializing empty soft package references
#rb Paul.Chipchase
#rnx

[CL 34523321 by per larsson in ue5-main branch]
2024-06-20 05:04:40 -04:00
ionut matasaru
9acf792818 AssetManagerEditor: Removed the duplicated Insights code. Uses instead the TraceInsightsCore module.
Insights / Tree Views: Added separate color for icon and text for tree items.

#rb Ionut.Matasaru

[CL 34522468 by ionut matasaru in ue5-main branch]
2024-06-20 03:12:40 -04:00
ionut matasaru
1d4beb263e [Insights] Massive refactoring of TraceInsights module:
* Added new TraceInsightsCore module.
  * Moved Common, Filter and Table API to TraceInsightsCore.
  * Moved MemoryProfiler code into UE::Insights::MemoryProfiler namespace.
  * Moved NetworkingProfiler code into UE::Insights::NetworkingProfiler namespace.
  * Moved some of the TimingProfiler code into UE::Insights::TimingProfiler namespace.
  * Moved some of the public API into UE::Insights namespace.
  * Updated localization namespaces too.
  * Fixed many typos in comments.
  * Added backward compatibility types / workarounds for types moved into new namespaces.
  * Added dependency to TraceInsightsCore module to each Insights plugin.

Notes about updated public API:
  * Redirected "Insights/IFilterExecutor.h" to "InsightsCore/Filter/ViewModels/IFilterExecutor.h". (Insights::IFilterExecutor --> UE::Insights::IFilterExecutor)
  * Removed "Insights/AvailabilityCheck.h" (added after UE 5.4 release, so we do not need backward compatibility). Use "InsightsCore/Common/AvailabilityCheck.h" instead. (Insights::FAvailabilityCheck --> UE::Insights::FAvailabilityCheck)
  * Redirected "Insights/Common/PaintUtils.h" to "InsightsCore/Common/PaintUtils.h". (struct ::FDrawContext --> class UE::Insights::FDrawContext)
  * Redirected "Insights/Common/SimpleRtti.h" to "InsightsCore/Common/SimpleRtti.h".
  * Redirected "Insights/Common/TimeUtils.h" to "InsightsCore/Common/TimeUtils.h".
      * Moved API from TimeUtils namespace to UE::Insights namespace (ex.: UE::Insights::FormatTimeAuto())
      * Moved time constants to struct UE::Insights::FTimeValue (ex.: UE::Insights::FTimeValue::Second)
      * struct TimeUtils::FTimeSplit --> UE::Insights::FTimeSplit
      * Fixed typo for FTimeValue::Milisecond --> FTimeValue::Millisecond
      * Fixed typo for FTimeSplit::Miliseconds --> FTimeSplit::Milliseconds
  * Insights::ITimingViewSession moved to UE::Insights::Timing::ITimingViewSession.
  * Insights::ITimingViewExtender moved to UE::Insights::Timing::ITimingViewExtender.

#rb Catalin.Dragoiu

[CL 34521173 by ionut matasaru in ue5-main branch]
2024-06-20 00:53:57 -04:00
yoan stamant
dacfa4f383 Moved StructUtils types (InstancedStruct, StructView, PropertyBag, etc.) to CoreUObject
StructUtilsTestSuite has been moved to Developper
StructUtilsEditor has been moved to Engine/Editor
NetSerialization for FInstancedStruct not using native serialization has been moved to the engine module since FRepLayout is not available in CoreUObject module.
Old plugins and modules are kept temporarily and will be remove in a different CL
Temporary header files added to facilitate transition to the new include path
#jira UE-216472
#rb Devin.Doucette, Francis.Hurteau

[CL 34509881 by yoan stamant in ue5-main branch]
2024-06-19 15:22:25 -04:00
per larsson
129585ee43 Added option -CookSoftPackageReferences to save soft package references when cooking
#rb Matt.Peters, Paul.Chipchase
#rnx

[CL 34503130 by per larsson in ue5-main branch]
2024-06-19 12:16:51 -04:00
zousar shaker
082e9969db [Backout] - CL34481610
[FYI] Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Incremental step towards being able to stage to both a pak build as well as a nopak (streamng) build from a snapshot entirely stored in zenserver (no loose files on the filesystem except a ue.projectstore file).
Key changes:
- Removed the use of cookedfiles.manifest
- Changed IoStore mode of UnrealPak to  be capable of getting zenserver launch data from either a package store manifest (cbobject, metadata) OR a project store marker file (json)
- Ensured that the UAT and IoStore mode of UnrealPak can launch zenserver reliably by passing along the SponsorProcessId when launching zenserver
- Ensured that shader archives (and their accompanying json metadata files) can be read either as loose files on disk or directly from zenserver if it the data for them is internal to zenserver (ie: they have a valid  chunk id)
Remaining work:
- Pak mode of UnrealPak must be able to launch zenserver and pull data from it.

#rb PJ.Kack

[CL 34498668 by zousar shaker in ue5-main branch]
2024-06-19 10:15:01 -04:00
yoan stamant
938f456b05 Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34495793 by yoan stamant in ue5-main branch]
2024-06-19 08:00:57 -04:00
rune stubbe
26d003c9aa Fix for Nanite builder crash on input mesh with no UVs
#rb jamie.hayes
[FYI] Brian.Karis, Graham.Wihlidal

[CL 34495139 by rune stubbe in ue5-main branch]
2024-06-19 07:17:56 -04:00
halfdan ingvarsson
4e121be641 Skeletal Mesh: Fix up material slot names on the mesh description if they don't point to a valid slot
#jira UE-216271
#rnx

[CL 34490716 by halfdan ingvarsson in ue5-main branch]
2024-06-19 00:27:24 -04:00
halfdan ingvarsson
8796eb710d Skeletal Mesh: Automatically update alt skin profiles and vertex attributes on mesh commit
#rnx
#rb jack.cai

[CL 34488176 by halfdan ingvarsson in ue5-main branch]
2024-06-18 21:05:55 -04:00
gary yuan
f85b2347ba [Backout] - CL34482589
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34486763 by gary yuan in ue5-main branch]
2024-06-18 20:05:51 -04:00
jeannoe morissette
d3df045ab8 VulkanRHI: adjust assert until LooseParameterData is processed.
#jira UE-218220
#rnx

[CL 34484308 by jeannoe morissette in ue5-main branch]
2024-06-18 18:48:24 -04:00
joe kirchoff
3ee75c7d9d Fix clang 18 -Wshadow warnings
#rnx

[CL 34483848 by joe kirchoff in ue5-main branch]
2024-06-18 18:43:08 -04:00
yoan stamant
b9344fb62e Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34482607 by yoan stamant in ue5-main branch]
2024-06-18 17:57:11 -04:00
zousar shaker
a7b5faeaf0 Incremental step towards being able to stage to both a pak build as well as a nopak (streamng) build from a snapshot entirely stored in zenserver (no loose files on the filesystem except a ue.projectstore file).
Key changes:
- Removed the use of cookedfiles.manifest
- Changed IoStore mode of UnrealPak to  be capable of getting zenserver launch data from either a package store manifest (cbobject, metadata) OR a project store marker file (json)
- Ensured that the UAT and IoStore mode of UnrealPak can launch zenserver reliably by passing along the SponsorProcessId when launching zenserver
- Ensured that shader archives (and their accompanying json metadata files) can be read either as loose files on disk or directly from zenserver if it the data for them is internal to zenserver (ie: they have a valid  chunk id)
Remaining work:
- Pak mode of UnrealPak must be able to launch zenserver and pull data from it.

#rb PJ.Kack

[CL 34481636 by zousar shaker in ue5-main branch]
2024-06-18 17:33:46 -04:00
lauri gurevicuis
1db7b04868 UE-146290 - [MetaSounds] - Dropdown menus do not support selection with arrow keys
#rb daren.cheng
#jira UE-146290

[CL 34452692 by lauri gurevicuis in ue5-main branch]
2024-06-18 04:56:33 -04:00
pj kack
7d49f13480 UnrealPak: Implement DDC2 async API for iostore compression.
BatchGet with max 128 inflight requests (or ~1 GiB in total) in batches of 8 items (or ~16 MiB each).
BatchPut with max 128 inflight requests (or ~256 MiB in total) in batches of 8 items (or ~1 MiB each).
Skip ddc for chunks smaller than CompressionMinBytesSaved (1KiB by default).
Skip ddc for .umap to avoid cache churn since maps are known to cook non-deterministically.
Skip ddc for shaders that use a different code path in UnrealPak as well as in runtime.
Use a new DDC2 cache key (that includes the CompressionBufferSize) and cache bucket.
Use TArray64/FMemoryWriter64 for serializing the data to support chunks bigger than 2 GiB.
Postpone allocation of compression buffers until the ddc get request completes and the size is known.
Reduce memory buffer limits to 2 GiB and 3 GiB again (earlier temporary bumps to 3 GiB and 4 GiB are not needed after recent task/retraction changes).
Add logging of number of ddc hits and puts.

#jira UE-204758
#rb paul.chipchase, Per.Larsson
#tests identical binary output

[CL 34451300 by pj kack in ue5-main branch]
2024-06-18 01:30:02 -04:00
devin doucette
f5edfaec39 DDC: Added FCacheKeyBuilder because it has been requested several times
#rb Zousar.Shaker

[CL 34437142 by devin doucette in ue5-main branch]
2024-06-17 15:16:01 -04:00
kevin macaulayvacher
276d09f6df Remove all simple usage of REN_ForceNoResetLoaders from the codebase since the flag has been deprecated and currently does nothing. Simple in this case is direct use of the flag with no conditional logic. More complex uses were removed in another change.
#rnx
#rb Francis.Hurteau

[CL 34424068 by kevin macaulayvacher in ue5-main branch]
2024-06-17 11:55:02 -04:00