Initialization Failed: Error Code 20

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
SGLilac
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 17, 2018 8:12 pm
Contact:

Initialization Failed: Error Code 20

Post by SGLilac »

I'm currently on Mac and the game was running fine before, but I've been getting this error message for the past few weeks every time I launch the game causing it to close itself immediately. I've tried verifying the integrity of the game files, uninstalling and reinstalling, manually deleting everything factorio I could find in my computer's files then reinstalling, turning off cloud save and then repeating the previous step, and then turning off steam overlay because that apparently helped some people with the same problem, but none of it has worked for me. If anybody knows how to fix this problem, or has any other ideas as to what I could try it'd be greatly appreciated.

Zavian
Smart Inserter
Smart Inserter
Posts: 1641
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: Initialization Failed: Error Code 20

Post by Zavian »


posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Initialization Failed: Error Code 20

Post by posila »

Error 20 is failure to initilize mouse. I don't know what it happens sometimes and how to workaround it. In next update we replaced library we use for mouse and keyboard inputs, so hopefully it won't be issue anymore.

Tegurd
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 19, 2019 4:53 pm
Contact:

Re: Initialization Failed: Error Code 20

Post by Tegurd »

This is still an issue for me. Has anyone found a fix?

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: Initialization Failed: Error Code 20

Post by DaleStan »

I realize you aren't the OP, but you should also post a log file. https://wiki.factorio.com/Log_file

Tegurd
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 19, 2019 4:53 pm
Contact:

Re: Initialization Failed: Error Code 20

Post by Tegurd »


Loewchen
Global Moderator
Global Moderator
Posts: 8285
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Initialization Failed: Error Code 20

Post by Loewchen »

Tegurd wrote:
Sun Mar 24, 2019 12:50 am
https://pastebin.com/MJeEy8gP
You need to update the game to use what has changed.

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: Initialization Failed: Error Code 20

Post by DaleStan »

If you're using Steam, you'll need to opt-in to the betas. If you're using the in-game updater, make sure you've enabled experimental updates in the settings.

Post Reply

Return to “Technical Help”