Commit Graph

7586 Commits

Author SHA1 Message Date
Rune Stubbe
d833331db9 Compile fix for mac
#rb none

[CL 14828301 by Rune Stubbe in ue5-main branch]
2020-12-01 11:39:10 -04:00
Rune Stubbe
dc5e9cb018 Nanite support for geometry collection
The Nanite builder now accepts a set of meshes that will be built into a single resource with a hierarchy root for each input mesh.
Updated runtime code to use this feature for Geometry collection.
Each GC now takes up just a single root page.
Changed geometry collection serialization so Nanite data is now transient similar to how it is transient in RenderData for StaticMesh.
Added bogus serialization functions for parsing and throwing away the old Nanite data, so we don't crash when parsing old files.

#rb brian.karis, graham.wihlidal

[CL 14828108 by Rune Stubbe in ue5-main branch]
2020-12-01 11:18:19 -04:00
Helge Mathee
e1913158f9 RigVM: Literal consolidation optimization
#rb na
#jira na

[CL 14827747 by Helge Mathee in ue5-main branch]
2020-12-01 10:22:06 -04:00
Helge Mathee
327117c771 Control Rig: Encapsulation support, next steps
#jira UEA-564
#rb na

[CL 14826854 by Helge Mathee in ue5-main branch]
2020-12-01 04:05:50 -04:00
Patrick Boutot
d886e2413b WidgetReflector: Build widget tooltip only when requested. Add message when the widget is part of an invalidation root.
#rb nick.darnell

[CL 14822494 by Patrick Boutot in ue5-main branch]
2020-11-30 15:13:37 -04:00
JeanFrancois Dube
fc560477dc Edigrate 14806872 from UE4-Main to avoid crashes when baking materials during HLOD generation.
#rb none
#fyi sebastien.lussier

[CL 14817292 by JeanFrancois Dube in ue5-main branch]
2020-11-27 10:57:22 -04:00
Rolando Caloca
8c5dda23da UE5 - Proper fix for r.Shaders.KeepDebugInfo passing in the FRHIShader::ShaderName correctly
Initial fixes and tested on D3D11, D3D12 and Vulkan
Changed 'n' to FShaderCodeName::Key
Also added checks if trying to add optional shader data out of order
#rb Jonas.Meyer, Kenzo.Terelst, Mihnea.Balta

[CL 14816162 by Rolando Caloca in ue5-main branch]
2020-11-26 13:34:15 -04:00
danny couture
4797b6f721 Add Insights tag in Skeleton Simplifier
#rb Alexis.Matte

[CL 14815856 by danny couture in ue5-main branch]
2020-11-26 10:04:22 -04:00
Helge Mathee
02f602e7bf Control Rig VM: Encapsulation, First steps
Implementation of relevant nodes for collapse feature, controller + actions as well as unit test

To be audited by Jack.Cai

#jira UEA-564
#rb na
#fyi jack.cai

[CL 14815556 by Helge Mathee in ue5-main branch]
2020-11-26 05:45:07 -04:00
Matt Peters
aae0fe62eb PackageResourceManager and PackagePaths
Create a new interface IPackageResourceManager that handles all attempts to load packages from storage. The default implementation passes through to loading from IFileManager. Future implementations will load from other services such as the EditorDomain and TargetDomain.
Add FPackagePath class that holds a LocalFilePath or LongPackageName, or a relative path to a package under a mounted content root (which can be converted into either the LocalFilePath or LongPackageName).
Modify LinkerLoad, BulkData, and AsyncLoader to use FPackagePath and IResourceManager.
Modify UPackage and FLinkerLoad to have a FPackagePath instead of a Filename.
#rb Paul.Chipchase, CarlMagnus.Nordin, Francis.Hurteau, Devin.Doucette
#rn Major Core

[CL 14814912 by Matt Peters in ue5-main branch]
2020-11-25 22:11:10 -04:00
ionut matasaru
af6f2a1173 [Insights] Fixed the Main Memory Graph track not showing correctly the vertical axis grid when first series is hidden.
#jira UE-102963
#rb Catalin.Dragoiu

[CL 14813352 by ionut matasaru in ue5-main branch]
2020-11-25 13:47:02 -04:00
ionut matasaru
0fe05296a9 [Insights]
- Added detection for AllocationsProvider availability to know when to enable the Memory Insights tab (in addition to detecting availability of the LLM tags memory provider).
  - Simplified the API for allocation queries (using A, B, C, D time markers).
  - Added initial AllocationsAnalysis that processes the allocation trace events and delegates them to AllocationsProvider.
  - Added initial AllocationsProvider. Uses a simple map for live allocations.
  - Added FSbTree ("SBIF with offsetted cells" data structure for storing the retired allocations in AllocationsProvider).
  - Added async allocation queries (based on A, B, C, D time markers). Currently it uses a single TaskGraph task.
  - Added "LogTraceServices" log category for general purpose logging in TraceServices module.

#rb Catalin.Dragoiu

[CL 14813195 by ionut matasaru in ue5-main branch]
2020-11-25 12:48:47 -04:00
Alexis Matte
73d83c6a38 To protect the skeletalmesh when using async operations like build or re-import we deprecate all public member variables of USkeletalMesh class and create the necessary getter and setter. Those member will stay public but will be move to private in a future release.
Adding a public member to USkeletalMesh class is now prohibed since it can break asynchronous operations that will be added next to this submit.

#rb danny.couture
#jira UEENT-3936
#rnx

[CL 14812920 by Alexis Matte in ue5-main branch]
2020-11-25 11:17:08 -04:00
Mieszko Zielinski
f99357086e A file missing from CL#14810194
#rb trivial

[CL 14812503 by Mieszko Zielinski in ue5-main branch]
2020-11-25 06:43:07 -04:00
Mieszko Zielinski
963c7e097e Made GameplayDebugger's availability in editor mode optional and cconfigured by per-user settings
I've also tabbified *.build.cs since I was modifying it anyway.

#review-14812433 @Mikko.Mononen, @Stephen.Holmes
#rb swarm
#rnx

[CL 14812500 by Mieszko Zielinski in ue5-main branch]
2020-11-25 06:42:17 -04:00
Mieszko Zielinski
0f0297d8db Fixed GameplayDebuggerCategoryReplicator unintentionally holding a reference to AActor being debugged which resulted in all sorts of undesired behaviors in editor mode (including fatal-level logs)..
#jira UE-103657
#review-14812437 @Mikko.Mononen, @Stephen.Holmes
#rb swarm
#rnx

[CL 14812499 by Mieszko Zielinski in ue5-main branch]
2020-11-25 06:42:02 -04:00
Brian Karis
d34a9f9ade Fix simplifier crash due to duplicate triangles. There were so many that a single edge collapse removed >100 triangles. Now checks for duplicates after every collapse so they don't accumulate.
#rb none

[CL 14811913 by Brian Karis in ue5-main branch]
2020-11-24 22:27:30 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Mieszko Zielinski
a2abb8d078 Updated Fortnite's GameplayDebugger categories to not crash in pure-editor mode.
#review-14809849 @Maxime.Mercier, @Yoan.StAmant, @Guillaume.Guay
#rnx
#rb swarm

[CL 14810194 by Mieszko Zielinski in ue5-main branch]
2020-11-24 13:35:55 -04:00
zach bethel
ffe8799e1b Backing out shader compilation change in order to do more testing.
#rb none

[CL 14809886 by zach bethel in ue5-main branch]
2020-11-24 12:14:57 -04:00
zach bethel
8137732573 Fixed 0 hash in shader compiler for uniform buffers without resources.
#fyi rolando.caloca

[CL 14809823 by zach bethel in ue5-main branch]
2020-11-24 11:55:08 -04:00
Mieszko Zielinski
06d7f5395b Fixed a gameplay debugger tool crash on editor exit
#review-14809130 @Mikko.Mononen, @Stephen.Holmes
#rb swarm
#rnx

[CL 14809165 by Mieszko Zielinski in ue5-main branch]
2020-11-24 06:26:29 -04:00
Brian Karis
e1dab2c3a9 Fixed Nanite holes which were due to inversion penalty being scale only. When error is zero or near zero like an edge on a flat plane, triangle inversion is also likely and the penality for it doesn't help if it's a scale.
The reason why I switched from bias to scale was to put the penalities in the same relative spectrum of the collapses being considered. Degree should probably still be more like that but for now it's safer to just go back to what this was before.

[CL 14808423 by Brian Karis in ue5-main branch]
2020-11-23 20:45:39 -04:00
Mieszko Zielinski
1fe6d03b53 GameplayDebugger CIS fixes
#rb trivial

[CL 14807508 by Mieszko Zielinski in ue5-main branch]
2020-11-23 15:48:43 -04:00
Mieszko Zielinski
f3635c4ead Made displaying GameplayDebugger's UI possible in pure editor-mode
#review-14806333 @Stephen.Holmes, @Aris.Theophanidis, @Maxime.Mercier, @Yoan.StAmant, @Mikko.Mononen
#rb swarm

[CL 14807157 by Mieszko Zielinski in ue5-main branch]
2020-11-23 14:16:46 -04:00