blendee crashes when changing scenes, and selecting a specific layer

Ok so I’m making a game in blender, Though I’ve run into a major hitch.
I have different scenes representing different levels, you can find the scene swapper at the top bar of your blender application. Everytime I try to swap between two scenes, Blender crashes. There is also a specific layer which upon clicking causes blender to crash as well. Anybody have any Idea why? And if so how I could fix this?

try a different Blender version, maybe?

Does the crash happen when you swap scenes in the game - with bge.logic.getCurrentScene().replace(a scene name) - or in the blender ui, when you select a different scene?

I ended up scrapping the file and starting from an earlier version. But it happened in the ui.