Portal 2
58 évaluations
Portal 2 Level Editor Crash Fix Guide (Autosave Corruption)
De malcontents
This guide's purpose is to help solve a crash in Portal 2 relating to a corrupted autosave, resulting in the game crashing when you attempt to click "Create New Chamber" in the PeTi Menu.
3
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Intro
Welcome! If you are reading this guide, then you probably have run into a problem where Portal 2 has crashed while building a level. After returning to Portal 2, you found that clicking on "Create Test Chambers" causes Portal 2 to crash. Verifying the game cache sometimes results in a few missing files validating, and other times everything is 100% verified, yet the problem persists. After running into this problem myself, I have found a solution, and would like to share my findings in the event that it might save someone from completely re-installing Portal 2.

Note: For those who want an extremely fast fix and don't want to read the guide, simply delete any files with autosave in its name in C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\puzzles\[random string of numbers]\.
How to Fix
In this case, the problem can be solved in a few steps. Just follow the steps below and you should be able to once again edit and create test chambers.

Step 1
  • First, start by making sure Portal 2 is closed, as we don't want it running while we delete files.
  • Second, you should verify the integrity of Portal 2's game cache, just to make sure that you have all the correct files that Portal 2 needs. To do this, open Steam, and navigate to Library and find Portal 2. Then, right-click Portal 2 and select Properties. Once in Portal 2 properties, navigate to the Local Files tab, and click on Verify Integrity of Game Cache. This may take a while, but it will ensure that Portal 2 has all the correct files it needs to run properly.
Step 2
  • First, navigate to C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\puzzles, or if your computer is only a 32 bit computer, navigate to C:\Program Files\Steam\steamapps\common\Portal 2\portal2\puzzles.
  • Next, you should see a folder thats name is a bunch of random numbers (in my case, 76561198069465663) that are unique for every Steam account, enter it.
  • Now, you should see a bunch of .jpg thumbnails of test chambers you have previously made, and their corresponding .p2c files. You should also see 3 files named autosave.jpg, autosave.p2c, and autosave.p2c_0. (In my screenshot I had renamed autosave.jpg to autosave.jpg.bak)
  • Delete those 3 files, and any other file with autosave in its name.
  • Now re-launch Portal 2, and you should be able to click "Create Test Chambers" without the game crashing!
Troubleshooting
If the steps above don't work, here are some steps you can take to try to get it to work.
  • Verify Portal 2's Game Cache (Open Steam, and navigate to Library and find Portal 2. Then, right-click Portal 2 and select Properties. Once in Portal 2 properties, navigate to the Local Files tab, and click on Verify Integrity of Game Cache)
  • Restart Steam
  • Delete the folder named appcache found in C:\Program Files (x86)\Steam\ or C:\Program Files\Steam\ (You will have to re-login to Steam)
  • Restart your computer

And if all else fails, you might just have to re-install Portal 2. (Hopefully not)
85 commentaires
V 14 mars à 17h05 
do you have a guide for whenever you try to test play and publish a chamber and then it crashes
Silicon Dystopia 31 déc. 2023 à 12h58 
Just wanted to comment, I had this problem. Verified local files didn't help. Deleting the autosave files didn't work. In the end, I moved the whole puzzles folder somewhere else and that fixed it. Test chambers can be restored individually until the one that's causing the problem is found.
btschlaack 7 oct. 2023 à 21h40 
NOTHING WORK thank you for helping these other people tho
XBcat 4 mai 2023 à 17h51 
do i have to delete this file? 1683167662 p2c_0
XBcat 4 mai 2023 à 17h45 
and my game still crashes
XBcat 4 mai 2023 à 17h44 
well my p2c_0 file says 1683167662 p2c_0
Douknodefox 28 avr. 2023 à 20h36 
I will send this to a person who needs help and see if it helps. Thanks!
CoolLlamaTMM 16 aout 2022 à 22h47 
what i do is delete all my portal 2 files and uninstall then reinstall them (btw it doesn't effect saves from the normal game)
Darealxbox 24 juil. 2022 à 7h18 
omfg thanks for this I legit wasted so much time trying to fix this
just-werdkindom-Ofc 3 oct. 2021 à 6h10 
thanks! for this tutorial