← Back to blog

StarCraft II Crashes After Switching to OpenGL on macOS

Published on
1 mins read
--- views

Game Crashes After Changing RenderAPI to OpenGL

An error occasionally occurs after changing the RenderAPI setting from Metal to OpenGL in the game's options.

Unfortunately, the game becomes unplayable. It crashes instantly on load with the following error:

Crash Screenshot

Switching the rendering option to OpenGL causes this crash:

OpenGL Crash

Solution

It's actually very simple:

  1. Open the following file in TextEdit: ~/Library/Application Support/Blizzard/StarCraft II/Variables.txt (where ~ is your home directory)

  2. Change this line:

GraphicsApi=OpenGL3

to:

GraphicsApi=Metal
  1. Save the file, restart the game, and enjoy!

P.S. Thanks to this topic on Blizzard forums for helping locate the settings file.

Open for contract collaboration

I am available for contract-based collaboration. If you have an interesting project idea, schedule a call via Calendly.

Schedule a 30-min call