Commit Graph

142 Commits

Author SHA1 Message Date
florin pascu
367836ea48 First part of TargetPlatform(TP) refactor into TargetPlatformSettings(TPS) and TargetPlatformControls(TPC)
TPS doesn't need SDK and will be used to get info about the platform
TPC requires SDK
AndroidTP has been converted to the new system
#jira UE-200883
#rb Jack.Porter

[CL 30963885 by florin pascu in ue5-main branch]
2024-01-29 04:50:19 -05:00
christopher waters
e9661bc768 Preparing for dependency cleanup.
[CL 30244022 by christopher waters in ue5-main branch]
2023-12-11 13:55:22 -05:00
rex hill
668a71e420 Allow building without Turnkey Support
#rb josh.adams
#tests Opened editor and confirmed it loads with no issues

[CL 29603508 by rex hill in ue5-main branch]
2023-11-09 13:51:05 -05:00
jimmy smith
ac34b71821 Fix for editor crash on startup
#rb josh.adam aaron.mcleran

[CL 25960030 by jimmy smith in ue5-main branch]
2023-06-13 15:15:40 -04:00
josh adams
f6381544e2 - Allow a project to override the Main SDK version for a platform (the platform's project Engine.ini would set
[OverrideSDK]
  SDKVersion=x.y.z
and AutoSDK, or anything using GetMainVersion(), would use that version string instead
- If multiple targets are built in one run of UBT/UAT, it will error out because there is no support to switch SDKs (and builds happen in parallel, etc)
- This is not a complete solution, because it can cause problems with shared tools like ShaderCompileWorker, when different projects are on different SDKs and they have one SCW to share
- Renamed GetMainVersion to GetMainVersionInternal(), and wrapped that in a new non-vitual GetMainVersion() that calls GetMainVersionInternal() (and handles the ini overrides)
#rb david.harvey,dave.barrett
#jira UE-185364
#preflight 647a12e7b0670733186c928e

[CL 25767233 by josh adams in ue5-main branch]
2023-06-02 13:42:59 -04:00
Stu McKenna
33933e245f - Include the VVM format to ensure we find the format
- Without doing this the found formats might not contain the format leading to a crash when compiling with the VVM

#rb Dan.Elksnitis
#jira UE-185063
#rnx
#preflight 645405e8023fe5d3ad3fbb52

[CL 25343124 by Stu McKenna in ue5-main branch]
2023-05-04 17:36:58 -04:00
gwennael arbona
a17fdde006 Instrument loading times of PS4 & Switch target platform modules
#preflight 641c21eeec01de16647b08f0
#rb john.huelin, wojciech.krywult


RESOLUTION: fixed conflict with new "impl" method

[CL 24762328 by gwennael arbona in ue5-main branch]
2023-03-23 11:22:16 -04:00
dan elksnitis
be95382d48 [shaders] factor out single-input compilation and exception handling into shared utility functions
#preflight 63caa36ad45afa2a8f236855
#rb Jason.Nadro
#rb Laura.Hermanns
#rb Yuriy.ODonnell

[CL 23789494 by dan elksnitis in ue5-main branch]
2023-01-20 09:39:05 -05:00
Zak Middleton
73efd27f6c #ue5 - Truncation fixes for modules:
StatsViewer
StatusBar
TargetDeviceServices
TargetPlatform
Teleporter
TimeManagement
TranslationEditor
ViewportInteraction
Virtualization
WindowsPlatformFeatures
WindowsTargetPlatform

#jira UE-160837, UE-160843
#rb Andrew.Davidson, Dave.Jones2
#preflight 636024751c75ff834a526197

[CL 22873932 by Zak Middleton in ue5-main branch]
2022-10-31 18:33:27 -04:00
joe pribele
66484ef70c [TargetPlatform] minor cleanup GetActiveTargetPlatforms to only build error message when there is an error
#rb devin.doucette
#p4v-preflight-copy 21725742
#p4v-preflight-copy 21741782
#preflight 6310dbd1ba0b2bb3cf23d5fb

[CL 21742833 by joe pribele in ue5-main branch]
2022-09-01 12:25:31 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
David Harvey
70a15d3468 remove redundent HoloLens platform check in disabled code.
#jira UE-149794
#rnx
#rb trivial
#preflight skip

[CL 20391851 by David Harvey in ue5-main branch]
2022-05-27 08:04:27 -04:00
charles bloom
5c59fd06ae clarify use of GetAllTextureFormats vs GetTextureFormats
GetAllTextureFormats is only used by COTF for version checking
could deprecate then remove it entirely

#rb none
#preflight 62797695e02e157f3e6a021b

[CL 20110473 by charles bloom in ue5-main branch]
2022-05-09 16:26:01 -04:00
charles bloom
83a33c6d95 TextureFormatManager better init safety
do Invalidate in your constructor so you are valid after LoadModule
in case someone tries to Load TextureFormatManager and use it other than TargetPlatform
mutex protect thread access
fixes TBW broken by previous CL on TextureFormatManager

#preflight 6269c22f4510fc7faaf8c8aa
#rb zousar.shaker

#ROBOMERGE-AUTHOR: charles.bloom
#ROBOMERGE-SOURCE: CL 19949335 via CL 19949395 via CL 19949397
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19952589 by charles bloom in ue5-main branch]
2022-04-28 02:05:06 -04:00
charles bloom
be238dee17 fix failures on texture import of rare cases
fix RHI upload of textures that are multiple of 4 in top mip but not in lower mips
dont pad CompressedImage sizes, store true size
clean up Texture size limits and VT conditions
better default settings for texture import
clean up initialization order of TextureFormatManagerModule

#preflight 6250814a11261bc7b23d8f4b
#rb fabian.giesen,julien.stjean

[CL 19693287 by charles bloom in ue5-main branch]
2022-04-08 16:06:54 -04:00
Jason Nadro
8a8ff01b79 Add scope marker to see what platform we are trying to load.
- This can take a considerable amount of time so it is good to know which platforms are loading.

#rb trivial
#jira none
#preflight trivial

[CL 19595463 by Jason Nadro in ue5-main branch]
2022-04-01 16:54:57 -04:00
David Harvey
a16dedf8b5 FindTargetPlatformWithSupport gives priority to the currently active/cooking platforms for cases where multiple platforms support the shader format.
- fixes ShaderPlatformQualitySettings overrides in platform engine ini for platforms that share the same shader format.
 - still a potential issue if trying to cook these platforms at the same time ( -targetplatform=Plat1+Plat2 )

#jira none
#rnx
#rb Josh.Adams
#preflight 62384186b3653cf6afc39e2e

[CL 19449947 by David Harvey in ue5-main branch]
2022-03-21 05:42:51 -04:00
josh adams
c48baa3d90 - Moved a call of IsAutoSDKsEnabled() up into the async pre-kick of UBT during editor startup to fix warnings when UE_SDKS_ROOT isn't set
#rb trivial
#p4v-preflight-copy 18902221
#preflight 6202897856614ff35c38ca7a

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18903619 via CL 18905269 via CL 18906402 via CL 18906655 via CL 18918940 via CL 18919850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18919899 by josh adams in ue5-main branch]
2022-02-09 12:14:44 -05:00
Michael Sartain
e63b3f3e86 Fix crash dereferencing garbage WritePtr in Linux
Running with:

   Engine/Binaries/Linux/UnrealEditor-Linux-Debug -logcmds="LogAnalytics VeryVerbose" -AnalyticsDisableCaching

Crashed on GetHandle() of invalid write pointer. Code introduced in CL 18846806.

#jira none
#fyi Josh.Adams
#rb none
#preflight trivial

[CL 18881507 by Michael Sartain in ue5-main branch]
2022-02-05 22:12:38 -05:00
josh adams
ea6fc0fe98 - Kick off UBT to setup AutoSDK early, and async, so editor doesn't need to wait for it to run
- Deprecated unuesed GetCookingTargetPlatforms()
#rb danny.couture
#p4v-preflight-copy 18811010
#preflight 61fbd601176256ec4f6fbd9b

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18842642 via CL 18844580 via CL 18844585 via CL 18844591 via CL 18846216 via CL 18846768
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18846806 by josh adams in ue5-main branch]
2022-02-03 14:08:03 -05:00
Marc Audy
3da1c5cc68 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy

[CL 18448753 by Marc Audy in ue5-main branch]
2021-12-13 16:08:57 -05:00
geoff evans
de2943a829 We now have 2 or 3 lines potentially in CurrentlyInstalled.txt AutoSDK file. Handle both cases
#rb Josh.Adams
#[fyi] Josh.Adams
#ushell-cherrypick of 17966110 by Brandon.Schaefer



#ushell-cherrypick of 17973510 by aurel.cordonnier

[FYI] aurel.cordonnier

#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 17973236 via CL 17973494 via CL 17973508 via CL 18005909
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18005930 by geoff evans in ue5-release-engine-test branch]
2021-11-01 14:25:04 -04:00
geoff evans
d03580e236 We now have 2 or 3 lines potentially in CurrentlyInstalled.txt AutoSDK file. Handle both cases
#rb Josh.Adams
#[fyi] Josh.Adams
#ushell-cherrypick of 17966110 by Brandon.Schaefer


#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 17973236 via CL 17973494 via CL 17973508
#ROBOMERGE-BOT: (v885-17909292)

#ushell-cherrypick of 17973510 by aurel.cordonnier

#fyi aurel.cordonnier

[CL 18005909 by geoff evans in ue5-main branch]
2021-11-01 14:24:14 -04:00
aurel cordonnier
1ee4eed9aa Merge from Release-Engine-Test @ 17666640 to UE5/Main
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17668579 by aurel cordonnier in ue5-main branch]
2021-09-29 17:45:16 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00