Star Wars Battlefront 2 is a technically impressive game, a solid showcase for users with powerful computers. However, the PC version sometimes encounters issues not present on the console versions. Such is the case with stalling and crashing while optimizing shaders. This process occurs frequently, and for some, it can result freezing or long waits. For others, it results in a total game crash. In either case, here’s the simple solution to fix the problem.
Star Wars Battlefront 2 | How to fix crashing while optimizing shaders
Sometimes Star Wars Battlefront 2 will get stuck while optimizing shaders. When this happens, the software will stall, often until the game crashes. You can usually prevent Star Wars Battlefront 2 from getting stuck or crashing while optimizing shaders by disabling DirectX 12.
There have been numerous reports from players whose games stalled and then eventually crashed while optimizing shaders. Many of them reported that crashes occurred between matches, while others reported getting stuck even while navigating menus. Forum posts and error reports about the issue litter the Star Wars Battlefront subreddit and EA Answers support forum.
In nearly every post, players are advised to disable DirectX 12 to fix the problem. While it’s possible that DX12 could offer some enhancements for your machine, using DirectX 11 should allow the software to run much more reliably. One user named drowsy1234 even found that crashes during shader optimization were maxing out RAM usage, and suggested a fix that involves manually adjusting boot options to run in DX11.
It’s worth mentioning that many reports of players getting stuck while optimizing shaders surface following game updates. It’s possible that Star Wars Battlefront 2 may take more time to optimize shaders after being patched. Still, it will always take some amount of time to perform the process, no matter how good your PC is. As long as the game doesn’t eventually crash, it’s probably best to remain patient.