Common mistakes:
a) TRACE_CPUPROFILER_EVENT_SCOPE("Foo") or TRACE_CPUPROFILER_EVENT_SCOPE("FClass::Foo")
--> results in a timer named "Foo" or "FClass::Foo" (the quotes will be included in the name)
b) TRACE_CPUPROFILER_EVENT_SCOPE(TEXT("Foo"))
--> results in a timer named L"Foo" (L and quotes will be included in the name)
c) TRACE_CPUPROFILER_EVENT_SCOPE_TEXT(TEXT("Other Foo")) or TRACE_CPUPROFILER_EVENT_SCOPE_TEXT("Foo")
--> Slow! It will use dynamic string matching that adds an unnecessary overhead.
Correct usage:
TRACE_CPUPROFILER_EVENT_SCOPE(Foo)
TRACE_CPUPROFILER_EVENT_SCOPE(FClass::Foo)
TRACE_CPUPROFILER_EVENT_SCOPE_STR("Other Foo") // when timer name has spaces
TRACE_CPUPROFILER_EVENT_SCOPE_TEXT(*Foo.ToString()) // only if a dynamic name is really needed
#rb Catalin.Dragoiu
#fyi Marc.Audy, Krzysztof.Narkowicz, Rune.Stubbe, Michal.Valient
[CL 15134822 by ionut matasaru in ue5-main branch]
Removed WorldToLocal from GPUScene packed instance data (now derived) to save 8 bytes (after new fields).
Fixed calculation of Instance.LocalToInstance.
#jira UE-105083
#rb brian.karis
#fyi rune.stubbe
[CL 15076426 by graham wihlidal in ue5-main branch]
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]
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]
Some UV utilities were moved from StaticMeshEditorExtension to DatasmithImporter.
All remaining references to EditableMesh were removed from engine code and plugins with former dependencies.
#rb Jean-Michel.Dignard, Jean-Luc.Corenthin, Michael.Lentine, Bill.Henderson
[CL 14421586 by Richard TalbotWatkin in ue5-main branch]
Applies a post processing effect to all actors which do not belong to the currently editing LevelInstance. Can be toggled with the Viewport show options under visualization.
#rb patrick.enfedaque graham.wihlidal jeremy.moore
#jira none
#ROBOMERGE-OWNER: roey.borsteinas
#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 14322972 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v738-14305781)
[CL 14323217 by roey borsteinas in ue5-main branch]
* Rename IsNaniteEnabled to UseNanite and moved to RenderUtils (so it can be used in Components)
* Make proxy creation respect Scene platform level & consistent with renderer using UseNanite function
* Move DoesPlatformSupportNanite to RenderUtils (so it can be used in UseNanite)
* Fix crash in FMobileSceneRenderer::RenderHitProxies from dummy Nanite raster results
* Make ShadowSetup respect UseNanite to avoid creating virtual shadow maps when these are not supported
#rb rune.stubbe
#fyi brian.karis,graham.wihlidal,andrew.lauritzen
#robomerge Release-5.0-M2
[CL 14308401 by Ola Olsson in ue5-main branch]