Somehow one of my projects ended up with many of the same key. The code that was handling loading of these had an assumption that each key would only appear once in the list (fixed.)
Example of duplicate keys that would cause this to crash:
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
[CL 2510529 by Mike Fricker in Main branch]
UWindowsTargetSettings object is loaded before the actual UWindowsTargetSettings class, so no config value is loaded correctly thorugh the uobject system
I now load the value through the GConfig system
[CL 2506616 by Terence Burns in Main branch]
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.
-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine
[CL 2481510 by Terence Burns in Main branch]
We already had FPlatformProcess::CreateProc/CloseProc pair (which is part of larger set with WaitForProc(), TerminateProc(), GetProcReturnCode(), etc). FProcHandle::Close() made the API more confusing (and actually introduced bugs, because it did not call CloseProc() until recently).
#codereview Josh.Adams, Robert.Manuszewski, Jaroslaw.Surowiec
[CL 2476322 by Dmitry Rekman in Main branch]
- Windows XP is now configurable from the editor under: Project Settings | Windows | Minimum OS Version
- We will now have a UE4Game_xp.exe which will be used for XP supported content only games
- - - Added support to UBT to choose a file name when running a build, approved by Rob M.
- - - Added functionality to UAT to look for an _xp.exe when packaging.
- Minimum Windows OS, is Vista by default.
- Bootstrap Packaged Game Program is now also built with windows xp support.
Fix for JIRA issues
https://jira.ol.epicgames.net/browse/UE-2894https://jira.ol.epicgames.net/browse/UE-3580https://jira.ol.epicgames.net/browse/UE-4928
[CL 2379024 by Terence Burns in Main branch]
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup
#UpgradeNotes:
- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods
[CL 2340711 by Max Preussner in Main branch]
Now editor will tick at a decent frame rate while building shaders / caching textures.
#codereview Josh.Adams, Daniel.Wright, Matthew.Griffin
[CL 2318857 by Daniel Lamb in Main branch]
Device Services Refactoring to create the concept of a physical device.
Game launcher and device viewer UI changes to show these new concepts.
#codereview Max.Preussner, Matt.Kuhlenschmidt
[CL 2290918 by Chris Gagnon in Main branch]
Followed pattern set out by texture streaming so that each chunk of audio data resides in its own bulkdata struct. It is currently possible to split audio into chunks when SoundWaves are marked for streaming but there is no way of doing this exposed at present.
Changed the parameters of FAudioDevice::GetRuntimeFormat so that the relevant SoundWave must be passed in, to allow for different formats for individual sounds/streaming options.
USoundWave::FreeResources no longer resets the NumChannels as it is unnecessary and causes sounds to be unable to play after the OGG data is flushed when attempting to switch to OPUS.
[CL 2099012 by Matthew Griffin in Main branch]
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms
DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.
FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.
ReviewedBy Thomas.Sarkanen, Max.Preussner
[CL 2095796 by Jamie Dale in Main branch]
User can now select target RHI's for windows under: Edit->Project Preferences->Windows->Targeted RHIs
Split up GetShaderFormats into GetAllPossibleShaderFormats and GetAllTargetedShaderFormats.
D3D11 and D3D10 remain the only two on, by default, for windows.
#ReviewedBy Nick.Penwarden
[CL 2068025 by Terence Burns in Main branch]