Foundation

Foundation

View Stats:
Ron Swanson Feb 24, 2019 @ 3:13pm
Fatal Error: Can't create log file
Everytime I try to start the game I get this error message.

"Foundation failed to create the log file C:\Users\"Earl"\AppData\Local\Polymorph\Games\Foundation\foundation.log. - Please check that you don't have any anti virus preventing Foundation from writing to this folder."

First off: I use Windows antivirus + Malwarebytes
I've tried validating game files and reinstall.

This error shows up before game launches and prevents it from launching.
< >
Showing 1-15 of 22 comments
Mr Ash  [developer] Feb 26, 2019 @ 1:00pm 
If Foundation already worked in the past, it's probably because the log file is locked by another application.
Can you try manually removing the log file located in C:\Users\"Earl"\AppData\Local\Polymorph Games\Foundation\foundation.log and start Foundation again?
Last edited by Mr Ash; Feb 27, 2019 @ 7:27am
Ron Swanson Feb 26, 2019 @ 1:39pm 
Originally posted by Ash:
If Foundation already worked in the past, it's probably because the log file is locked by another application.
Can you try manually removing the log file located in C:\Users\"Earl"\AppData\Local\Polymorph\Games\Foundation\foundation.log and start Foundation again?

Hello! I checked, but the folder Polymorph is not in the Local folder. May this have anything to do with that I have the game both local and on Steam? I bought it before Steam release. I can't seem to find the folder though.
Mr Ash  [developer] Feb 27, 2019 @ 7:28am 
Can you take a look in your documents folder? You might find it here instead. The old log file might be causing an issue so try deleting it and restarting Foundation.
Documents\Polymorph Games\Foundation\
Last edited by Mr Ash; Feb 27, 2019 @ 7:28am
Ron Swanson Feb 27, 2019 @ 7:43am 
Originally posted by Ash:
Can you take a look in your documents folder? You might find it here instead. The old log file might be causing an issue so try deleting it and restarting Foundation.
Documents\Polymorph Games\Foundation\

I fould a solution, but it's just halfway connected to your suggestion. I fould the folder you are talking about, but there were no log file there. So instead, I just deleted the whole Polymorph folder located in documents. Then I tried starting the game and got a different warning. It said Foundation were not permitted to save log file to documents, so it would instead save it to the AppData-folder, which it claimed to not be permitted to do earlier. I hit "OK" and then the game started.

Weird, but that's what fixed it for me, somehow.
hiram_r Mar 17, 2019 @ 3:05pm 
Originally posted by Ash:
If Foundation already worked in the past, it's probably because the log file is locked by another application.
Can you try manually removing the log file located in C:\Users\"Earl"\AppData\Local\Polymorph Games\Foundation\foundation.log and start Foundation again?
hi.
i found the folder .. deleted the previous log file, restarted (just to be sure) and ran foundation again.... did the exact same thing ... green progress bar to almost full and stopped.... it did create another log file so i see no reason why it keeps saying it cant create it.

please fix this
Mr Ash  [developer] Mar 18, 2019 @ 7:33am 
hiram_r can you please try the solution posted by Earl and rename the Polymorph Games folder.
If you have no save files then the folder can be deleted.

As mentioned above, if Foundation is being blocked trying to use the Documents folder it should use the AppData folder instead but if it is finding a log file then being subsequently blocked by another application it will keep trying to use the Documents folder.

hiram_r Mar 20, 2019 @ 5:39pm 
Originally posted by Ash:
hiram_r can you please try the solution posted by Earl and rename the Polymorph Games folder.
If you have no save files then the folder can be deleted.

As mentioned above, if Foundation is being blocked trying to use the Documents folder it should use the AppData folder instead but if it is finding a log file then being subsequently blocked by another application it will keep trying to use the Documents folder.

hello again!
I erased the Polymorph games folder and ran Foundation. It created it again and gave the exact same results.
so..... any other suggestions? help a frustrated gamer here
:)
Last edited by hiram_r; Mar 20, 2019 @ 5:40pm
jamesinthefield May 25, 2019 @ 3:09pm 
Did you ever get it working? I'm still having this problem, despite removing log files, run as administrator, reinstalling, disabling antivirus, everything listed in the various bug reports. :steamfacepalm:
Aeo May 27, 2019 @ 5:40am 
Hi! Could you try the following line in your launch option:
userpath C:/Foundation2

It will create a new folder with that name and should allow you to proceed.
hiram_r Jul 17, 2019 @ 2:06pm 
Originally posted by jamesinthefield:
Did you ever get it working? I'm still having this problem, despite removing log files, run as administrator, reinstalling, disabling antivirus, everything listed in the various bug reports. :steamfacepalm:

nope :(
Im gonna try what nicolas suggested
Aeo Jul 18, 2019 @ 6:12am 
Also, can you share us your dxDiag? It may be related to hardware.
amyy2tfl Nov 2, 2019 @ 9:48am 
Hi! i'm dealing with the same issue here.
I've tried everything mentioned above and nothing has worked. I have steam and the game installed on an external disk.
Any way to fix this? I really want to play and haven't be able to ever since the last update. It was running just fine before.
Thank you
Mr Ash  [developer] Nov 6, 2019 @ 7:37am 
@amyy2tfl if you are having this issue it is likely being caused by something blocking access to your documents folder.

This could be anti-virus software, Windows controlled folder access or another 3rd party software.

In many cases this has been the anti-virus, adding an exception for the Polymorph Games folder (in Documents) should fix the issue.

If not it could be other software blocking Foundation using the Documents folder. Nicolas' suggestion should fix this by using a different path than the Documents folder.

Originally posted by Nicolas:
Hi! Could you try the following line in your launch option:
userpath C:/Foundation2

It will create a new folder with that name and should allow you to proceed.

Last edited by Mr Ash; Nov 6, 2019 @ 7:37am
amyy2tfl Nov 9, 2019 @ 8:31am 
Originally posted by Ash:
@amyy2tfl if you are having this issue it is likely being caused by something blocking access to your documents folder.

This could be anti-virus software, Windows controlled folder access or another 3rd party software.

In many cases this has been the anti-virus, adding an exception for the Polymorph Games folder (in Documents) should fix the issue.

If not it could be other software blocking Foundation using the Documents folder. Nicolas' suggestion should fix this by using a different path than the Documents folder.

Originally posted by Nicolas:
Hi! Could you try the following line in your launch option:
userpath C:/Foundation2

It will create a new folder with that name and should allow you to proceed.

I have tried everything in this thread and nothing seems to fix the issue...
Mr Ash  [developer] Nov 12, 2019 @ 6:32am 
@amyy2tfl If you could join our Discord[discord.gg] server we can get some more information from you and see if we can get the game running for you.
< >
Showing 1-15 of 22 comments
Per page: 1530 50