Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Engine:Unreal Engine 4"

From PCGamingWiki, the wiki about fixing PC games
Line 37: Line 37:
 
===Smoothed frame rate===
 
===Smoothed frame rate===
 
{{ii}} Similar to [[Engine:Unreal Engine 3|Unreal Engine 3]], many Unreal Engine 4 games (particularly Indie-developed games) use frame rate smoothing with a default value of 62, limiting fps in these games to 62.
 
{{ii}} Similar to [[Engine:Unreal Engine 3|Unreal Engine 3]], many Unreal Engine 4 games (particularly Indie-developed games) use frame rate smoothing with a default value of 62, limiting fps in these games to 62.
 +
{{ii}} Uncapping the frame rate may affect game logic. See each game's individual entry for specifics.
 
{{Fixbox|description=Disable UE4 smoothed frame rate|fix=
 
{{Fixbox|description=Disable UE4 smoothed frame rate|fix=
 
Using [[#Permanent console-variable (cvar) changes|the guide below]], change {{File|Engine.ini}} to include these lines:
 
Using [[#Permanent console-variable (cvar) changes|the guide below]], change {{File|Engine.ini}} to include these lines:

Revision as of 16:53, 9 August 2020

Unreal Engine 4
Unreal Engine 4 logo.svg
Developers
Website
First release date
Predecessor
Successor

Key points

Complete suite of game development tools and engine used by over 500 games, see Games.

Video

Multi-monitor

See Ultra-widescreen.

Ultra-widescreen

Unreal Engine games are Vert- by default, unless the developer specifically implements proper Hor+ ultrawide support. See each individual game's entry page for specifics.
If a game is Vert-, FOV can be increased to give a proper 1:1 Hor+ ultrawide image. See the ultra-widescreen glossary page for details.
If a game does not allow FOV to be adjusted, and an external mod to implement it does not exist for the specific game in question, then the game does not support a proper ultrawide experience.
For multi-monitor setups, the resolution may be so wide that the in-game FOV option may not go high enough to achieve a proper 1:1 Hor+ image. See individual game entry pages for work-arounds.

Field of view (FOV)

The FOV variable name is set individually by each developer and differs from game to game, so unfortunately there is no universal solution for adjusting FOV in games where it is not available as an option.
If the developers of a particular game have implemented FOV as a variable, it can usually be adjusted in GameUserSettings.ini.
For games in which customizable FOV is not supported, a wider FOV can be obtained by changing the FOV scaling from horizontal to vertical.
Change FOV scaling
This results in a tremendously higher FOV than intended, and will likely result in a "fishbowl" effect on anything narrower than a 48:9 triple-monitor setup. Some users may consider this ultra-high FOV to be desirable, while others will find it detrimental to their enjoyment.

Using the guide below, change Engine.ini to include these lines:

[/script/engine.localplayer]
AspectRatioAxisConstraint=AspectRatio_MaintainYFOV

Issues fixed

Smoothed frame rate

Similar to Unreal Engine 3, many Unreal Engine 4 games (particularly Indie-developed games) use frame rate smoothing with a default value of 62, limiting fps in these games to 62.
Uncapping the frame rate may affect game logic. See each game's individual entry for specifics.
Disable UE4 smoothed frame rate

Using the guide below, change Engine.ini to include these lines:

[SystemSettings]
r.VSync=0

[/Script/Engine.Engine]
bSmoothFrameRate=0

Streaming stutter/slowdown

By default UE4 is setup to stream in level assets while playing, which could cause stuttering during gameplay when those assets are loaded.
Fortunately this streaming can be controlled with a console-variable, for people with plenty of RAM & VRAM it might be better to disable it and load in all assets when the level first loads instead.
Changing it this way will cause some stutter/freezing when first loading into the level, but after finished loading it should hopefully let gameplay be more stable.
Disable UE4 asset streaming, and load all assets on map load

Using the guide below, change Engine.ini to include these lines:

r.Streaming.FullyLoadUsedTextures=1
r.Streaming.HLODStrategy=2

Jittery temporal anti-aliasing

At higher TAA sample counts edges may appear jittery, even when still with no camera movement.
Fortunately it seems there's a way to remove the jitter without compromising on TAA quality/sample count.
This method supposedly could cause more ghosting in some games, though the author couldn't see this happen.
Stop current frame from being considered in TAA

Using the guide below, change Engine.ini to include these lines:

r.TemporalAACurrentFrameWeight=0

Note that as mentioned above this may cause more ghosting artifacts to appear, likely depends on which UE4 version the game uses as different UE4 versions use slightly different TAA implementations.

Entire game besides the HUD and menu elements are white on Linux

This bug may occur when using a Vulkan beta driver from Nvidia.
Disable Use Collapsed Arrays option for the game

Run the game with this Launch Parameter:

__GL_GlslUseCollapsedArrays=0

On Steam that would be:

__GL_GlslUseCollapsedArrays=0 %command%

Native resolution is not available in borderless window modes

Newer versions of Unreal Engine 4 handles DPI automatically and prevents the use of native resolutions when a borderless window mode is being used. The render resolution will instead be the lower "DPI-aware" resolution.
For example, on a 3840x2160 monitor with 150% DPI scaling set, 2560x1440 will be used instead, as 3840 / 1.5 (150%) = 2560 and 2160 / 1.5 (150%) = 1440.
Allow a game to use the native resolution in borderless window modes[1]
  1. Locate the main game executable (e.g. <internal-project-name>-Win64-Shipping.exe) in a subfolder of the game.
    • This is usually located in <path-to-game>\<internal-project-name>\Binaries\Win64\ (Win32 if 32-bit).
  2. Right-click on the executable and select Properties.
  3. Navigate to the Compatibility tab and click on Change high DPI settings.
  4. Enable the following options:
    • [x] Use this setting to fix scaling problems for this program instead of the one in Settings
    • Use the DPI that's set for my main display when I signed in to Windows
    • [x] Override high DPI scaling behavior.
    • Scaling performed by: Application
  5. Click on OK followed by OK again.
  6. If performed correctly this should result in the borderless window mode of the game using the native resolution of the monitor as its internal render resolution.

Other information

Enable developer console

The developer console allows real-time adjustments through various Unreal Engine 4 console variables, along with being able to run debug commands like ToggleDebugCamera that enables a flycam mode. Most games ship with the console disabled, although often retains code related to it that allows for its reactivation through third-party DLL injection.
Independent of custom game code - potential for reliability.
Extract and set up the Universal Unreal Engine 4 Unlocker
  1. Download and extract the Universal Unreal Engine 4 Unlocker.
  2. Run UuuClient.exe.
  3. Click 'Select' to select the process to inject the DLL into.
  4. Once the injection succeeds, press ~ in game to bring up the UE4 console (one press brings up mini-console, two presses will show the full thing).
  5. Type in desired command, or see this list of default UE4 cvars.[Note 1]

Notes

UuuClient.exe needs to be run each time the game is started, as this fix is not permanent. Use the UE4 dev-console launcher to automatically launch games with the console enabled.
If the console doesn't open when pressing ~, try following the instructions in the console unlocker's Readme.txt file.

Permanent console-variable (cvar) changes

Like most engines that use console-variables UE4 has a config file that it can read these variables values from at startup.
Unlike most engines though the method it uses is a little non-obvious, which resulted in people editing files such as Scalability.ini (which could end up with inputted values being ignored depending on your graphics settings).
Entering cvars into the Engine.ini file instead should ensure the value changes will take place no matter what.
Add cvar name/values to the Engine.ini file

The Engine.ini file will usually accept cvar name/value pairs inside it, but only if they're entered into a [SystemSettings] section.

  1. Open the Engine.ini file inside the games config folder in a text editor.
  2. If the file doesn't have a [SystemSettings] section, add one to the bottom.
  3. Inside that section add any cvar name/value pairs that you want, with the name/value separated with an '=' character, eg: r.MaxAnisotropy=16. Comments can also be added to the file by starting them with a ';' character.
  4. Save the file.
  5. Now when you next start the game, the cvars should hopefully be set as you entered them.

Notes

Values set via this method should usually override any value set elsewhere, however some games might store values inside savegames, which may override them when the save gets loaded - the only workaround for these kind of games is to set the value after loading the save via the developer console, and hope that the modified value might be written into the save.
The game may rewrite this file when exiting, usually removing any empty lines and lines containing only comments - any custom cvars should hopefully still be saved however.
You should only make changes to the games config files while it's not running, as mentioned above the game may overwrite the file when exiting.
UE4 uses a hierarchical configuration scheme (on top of the multiple configuration categories previously mentioned), meaning that there can be multiple versions of (e.g.) Engine.ini found in different places, some of which may even be prefixed with 'Default', 'Base', or 'Windows'. In general, it is best to edit the config file in the user configuration directory as this should take priority over all others and will work even if the game ships with encrypted config files. This is usually located in %localappdata%\<Game>\Saved\Config.


Game Developer Publisher First release Available on
103 Dystopia Interactive December 21, 2018
Windows
macOS (OS X)
Linux
171 Betagames Group QUByte Interactive
Windows
2000:1: A Space Felony National Insecurities Humble Bundle, National Insecurities July 7, 2017
Windows
3 out of 10 Terrible Posture Games August 6, 2020
Windows
303 Squadron: Battle of Britain Atomic Jelly Movie Games, PlayWay August 31, 2018
Windows
404Sight Retro Yeti Games April 16, 2015
Windows
6 Seasons and a Game The Human Beings Moto Studios January 9, 2021
Windows
77p egg: Eggwife 77p Studios Hyperstrange September 18, 2023
Windows
A Fisherman's Tale Innerspace VR Vertigo Games January 22, 2019
Windows
A Glider's Journey Emma Franklin, Charlie Marshall Emma Franklin September 27, 2019
Windows
A Rip in Time iV Games
A Way Out Hazelight Electronic Arts March 23, 2018
Windows
A Writer and His Daughter Dimfrost September 30, 2017
Windows
A Year of Rain Daedalic Entertainment March 13, 2020
Windows
Absolute Tactics: Daughters of Mercy Curious Fate Akupara Games September 15, 2022
Windows
Absolver Sloclap Devolver Digital August 29, 2017
Windows
Abzû Giant Squid Studios 505 Games August 2, 2016
Windows
Ace Combat 7: Skies Unknown Project Aces Bandai Namco Entertainment January 31, 2019
Windows
Adaca Siris Pendrake July 26, 2022
Windows
Adrift Three One Zero 505 Games March 28, 2016
Windows
AEW Fight Forever Yuke's THQ Nordic June 29, 2023
Windows
AFL Evolution 2 Wicked Witch Tru Blu Entertainment September 11, 2020
Windows
After Us Piccolo Private Division May 23, 2023
Windows
Afterimage Aurogon Shangai Modus Games April 25, 2023
Windows
Afterlife VR Split Light Studio Split Light Studio, Immanitas Entertainment
AfterShock Sam Goddard, Calvin Bennett Focus Studios
Windows
Agony Madmind Studio, Abstraction PlayWay May 29, 2018
Windows
Agony Unrated Madmind Studio October 30, 2018
Windows
Alchemy Garden MadSushi December 13, 2022
Windows
Alert: Sector 8 Cypress Inheritance June 27, 2016
Windows
Alice Mystery Garden AMG GAMES AMG GAMES December 20, 2017
Windows
Alice VR Carbon Studio Klabater October 27, 2016
Windows
Alien Hardcore Invasion SexualDarkness March 18, 2019
Windows
Aliens: Dark Descent Tindalos Interactive Focus Entertainment June 20, 2023
Windows
Aliens: Fireteam Elite Cold Iron Studios Focus Home Interactive August 24, 2021
Windows
All-Star Fruit Racing 3DClouds.it July 13, 2018
Windows
Alluris 562 Interactive October 11, 2019
Windows
macOS (OS X)
Alone in the Dark: Illumination Pure FPS Atari, THQ Nordic June 9, 2015
Windows
Alucinod Thomas Pettus August 30, 2019
Windows
Amazon Odyssey Heavy Iron Studios Vive Studios October 26, 2017
Windows
Amid Evil Indefatigable New Blood Interactive June 20, 2019
Windows
Amid Evil VR Indefatigable, Andre Elijah Immersive New Blood Interactive April 20, 2023
Windows
Ancestors Legacy Destructive Creations 1C Entertainment, Fulqrum Publishing May 22, 2018
Windows
Ancestors: The Humankind Odyssey Panache Digital Games Private Division August 27, 2019
Windows
Animal Super Squad DoubleMoose Games May 15, 2019
Windows
Apsulov: End of Gods Angry Demon Studio August 8, 2019
Windows
Aquanox: Deep Descent Digital Arrow THQ Nordic October 16, 2020
Windows
Arcadegeddon IllFonic July 5, 2022
Windows
Are You Smarter Than a 5th Grader? (2022) Massive Miniteam HandyGames August 23, 2022
Windows
Arid Sad Viscacha Studio Breda University of Applied Sciences June 29, 2021
Windows
Arise: A Simple Story Piccolo Piccolo, Untold Tales December 3, 2019
Windows
ARK: Survival Evolved Studio Wildcard, Instinct Games, Efecto Studios, Virtual Basement, Abstraction Games Studio Wildcard August 29, 2017
Windows
macOS (OS X)
Linux
Asemblance Nilo Studios June 21, 2016
Windows
Asgard's Wrath Sanzaru Games Oculus Studios October 10, 2019
Windows
Ashen A44 Annapurna Interactive December 7, 2018
Windows
Assault Spy Wazen NIS America October 2, 2018
Windows
Assetto Corsa Competizione Kunos Simulazioni, D3T 505 Games May 29, 2019
Windows
Asterigos: Curse of the Stars Acme Gamestudio tinyBuild October 11, 2022
Windows
AstroKill Doomsday Games
Windows
Linux
Astroneer System Era Softworks February 6, 2019
Windows
Asylum Senscape
Atomic Heart Mundfish Focus Entertainment, VK Play, 4Divinity February 20, 2023
Windows
Auto Chess Dragonest October 29, 2020
Windows
Avatar: The Last Airbender - Quest for Balance Bamtang Games GameMill Entertainment September 22, 2023
Windows
Aven Colony Mothership Entertainment Team17 July 25, 2017
Windows
Avowed Obsidian Entertainment Xbox Game Studios
Windows
Axiom Soccer Earthbound Games
Windows
Azur Lane: Crosswave Idea Factory, Compile Heart, Felistella Idea Factory International February 13, 2020
Windows
Back 4 Blood Turtle Rock Studios Warner Bros. Games October 12, 2021
Windows
Bad Guys at School Forceight June 15, 2020
Windows
Bakery Simulator Live Motion Games Ultimate Games, Gaming Factory May 3, 2022
Windows
Balan Wonderworld Arzest, Balan Company Square Enix March 26, 2021
Windows
Bang-On Balls: Chronicles Exit Plan Games Untold Tales, CouchPlay Interactive October 5, 2023
Windows
Barely Racing Fragile Software December 29, 2023
Windows
Batman: Arkham VR Rocksteady Studios Warner Bros. Interactive Entertainment April 25, 2017
Windows
Battalion 1944 Bulkhead Interactive Square Enix May 23, 2019
Windows
Battle Breakers Epic Games November 13, 2019
Windows
Battlefleet Gothic: Armada Tindalos Interactive Focus Home Interactive April 21, 2016
Windows
Battlefleet Gothic: Armada 2 Tindalos Interactive Focus Home Interactive January 24, 2019
Windows
Beastiarium Fazan December 5, 2016
Windows
Bee Simulator Varsav Game Studios Bigben Interactive November 14, 2019
Windows
Ben and Ed Sluggerfly December 8, 2015
Windows
Ben and Ed - Blood Party Sluggerfly February 13, 2018
Windows
Between Two Castles - Digital Edition Daisu Games November 15, 2019
Windows
Beyond a Steel Sky Revolution Software June 26, 2020
macOS (OS X)
Windows
Linux
Beyond Enemy Lines Polygon Art February 21, 2017
Windows
Linux
Beyond Enemy Lines 2 Polygon Art August 8, 2019
Windows
Beyond Enemy Lines 2 Online BEL2 Online Team, Polygon Art Polygon Art July 7, 2020
Windows
Beyond Enemy Lines: Operation Arctic Hawk Polygon Art March 7, 2019
Windows
Bierzerkers Shield Break Studios February 25, 2016
Windows
Bigfoot CyberLight Game Studio
Windows
Billie Bust Up Giddy Goat Games Humble Games January 1, 2024
Windows
Biomutant Experiment 101 THQ Nordic May 25, 2021
Windows
BIOS PIXYUL December 16, 2016
Windows
Blacktail The Parasight Focus Entertainment December 15, 2022
Windows
Blair Witch Bloober Team Lionsgate Games August 30, 2019
Windows
Blast Cats Blast Cats Dev
Blazing Sails: Pirate Battle Royale Get Up Games Iceberg Interactive
Windows
Bleak Faith: Forsaken Archangel Studios March 10, 2023
Windows
Bleeding Edge Ninja Theory Xbox Game Studios March 24, 2020
Windows

More...


Notes

  1. This list is for UE4 in general, most games will likely have custom ones not listed here.

References

  1. Verified by User:Aemony on 2019-10-25
    Used same method now for both Code Vein and The Outer World.