The editor almost always thinks the scene is modified

Hello. I started getting this weird bug (?) yesterday. Every time I run an automated test or leave play mode, the current scene is marked as modified. Even if I close the editor and reopen it, the scene opens as modified and lets me save it. Usually the first time I hit ctrl+s, it still thinks it’s modified and I have to press it twice.

I deleted my whole .gitignore file so I could see if something I’m ignoring is being changed, and it turns out something is. Here’s what’s being modified:

        modified:   Library/CurrentLayout.dwlt
        modified:   Library/assetDatabase3
        modified:   Library/shadercompiler-UnityShaderCompiler.exe0.log

Does anyone know what these files are and why they keep changing?

FWIW, I just added a new library here: Particle Pack · Kenney Perhaps it crashes unity? Although it could be completely unrelated.

UPDATE: I deleted my whole Library directory and it still happens.

1 Like

Ive noticed this since Unity 2018.2 and it is pretty annoying.

1 Like