Layout 2020.2 crashes after trying to open too many files

layout 2020.2 was working normal. Last night I had an update for my nvidia and intel graphics cards,
I updated them. Restarted my laptop and went back to work on Layout. When I open Layout now it randomly opens several files (none of which are recent or were worked on in the same time frame, they appear to be random) and then it just crashes. No Bugsplat number. I have uninstalled and reinstalled a few times and this happens each time with the same files being opened automatically! Video for clarity of what Im trying to say. Thank you very Much for any help.

Hey @trent or @colin… you guys have any idea what would case this?

Try repairing the installation of SketchUp and LayOut. Find the downloaded installer, right click on it, and choose Run as administrator. If presented with the option, choose Repair.

A cold boot instead of a restart might also be in order, just in case.

1 Like

HI and thank you for reply.

I did the repair and it came back nothing wrong. :frowning:

HI thank you, I am not sure what that means exactly. Do you mean power off and then power on instead of a restart? Ihave tried that also if that is what you are meaning.

Yes, that is what I meant. Sometimes updates seem to require that. Sorry if that didn’t help you.

I don’t know how it got into the state of having so many files opened, but the reopening each time is a preferences setting. What do you have Preferences/Startup set to do?

Didn’t LayOut have its settings stored in a file somewhere that @jbinafif could try renaming or deleting?

Ok, Now this is maybe the issue, Last night I do remember clicking so it would load my last project when I open layout. However I did not know this would happen, and these are not recent projects its opening. Is there a way I can reset that? If I open Layout at all I can not do anything in it before it crashes. Thank You for your help!

Something else to check, in the file here:

%LocalAppData%\SketchUp\SketchUp 2020\LayOut\layout.private.json

is a list of the files that were open the last time LayOut was closed. Editing those lines to be this, seems to clear out any files that are haunting you:

    "LastOpenFilesOnClose": {
        "count": 0

I had a typo in my previous reply. Copy this text and paste it into File Explorer, and it will open the file you would edit:

%LocalAppData%\SketchUp\SketchUp 2020\LayOut\layout.private.json

sorry it did not find that file. :frowning:

Try User/AppData/Local…

if i purchase a different pro license and download it, will it do this same thing?
I really need layout to work and willing to purchase a whole new one

i posted a pic above of what my files are in %appdata%

The slower way to get to the same place is to go to C:, Users, your user name, type in AppData\ (it’s an invisible folder), go into Local, SketchUp, SketchUp 2020, LayOut. Now see if there is a file named layout.private or layout.private.json. You can edit it with Notepad.

As Dave says, you showed AppData, Roaming, and you need to be in AppData, Local.

ohh thank you colin and dave, I am sorry I did not realize that