Error after bsod - BuildProfileContext asset exists but could not be loaded

My PC bluescreened while using unity (prob not unity’s fault) and now my project throws errors every time I open it (using Unity 6000.0.23.1):

BuildProfileContext asset exists but could not be loaded.
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

and

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Build.Profile.BuildProfileContext.CreateOrLoad () (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.Build.Profile.BuildProfileContext+<>c.<.cctor>b__30_0 () (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <1f8babe234e540299e4f7387cdc20cd8>:0)

Is this unity 6 thing? I’ve not seen this before. Does anyone know if they can point me in the right direction? I tried reimport all with no success. Can I just delete my Library/BuildProfiles folder without harm?

Thank you in advance!

Am also getting this error suddenly and consequently the “Create Build profile” button does not work.
I believe it started appearing after I did start creating a build profile but aborted that. I don’t remember a crash (definitely not of the whole PC, possibly of Unity).
Version 6000.0.20f1

The same just happened to me. I deleted BuildProfileContext.asset from the Library folder and restarted. Everything seems to be working.

In Unity 6000.0.37f1 it also worked, thank you!

in Unity 6000.0.42f1 it also worked, Thank you!

faced it even on 6000.043f1, Anyone come across this , solution is here :

Great, it works for me. Unity 6 (6000.0.45f1). Thanks a lot

In Unity 6000.0.38f deleting the BuildProfileContext.asset in the library folder fixed it for me too! Thanks!

Had the same issue in 6000.0.40 and can confirm that this helped.