Reset Level Blueprint

Hello,

I’ve set up a level blueprint with a certain class that is now deleted. When I try to open a level blueprint I get the following error message:

Is there a way to reset the level BP without loosing what I’ve set up in that level? Or at least reset it’s parent class? When I enter in it the LevelScriptActor stuff is missing, I only get a limited number of classes:

Thanks in advance!

did you try to duplicate the level, then open it and remove all the references to that missing class?

Yes. Duplicating the level crashes the editor with a check(Blueprint->GeneratedClass != null). Because the level blueprint is invalid. One of the things I try to fix is getting the duplicate to work.

did you try to recreate a void class with the same name than the one missing ? or maybe try to migrate the duplicate level on a blank new project.

Sounds like an idea, but I can’t remember the name of the class that is missing. Any method to find it out?

maybe you can open the .uasset of the level with notepad and find out.

Is there a lot going on in the level BP? What if you copy all the actors to a new level with an empty BP, will it take a lot to recreate the functionality?

Yea, probs that’s the solution, to copy the actors around, but it’s weird that there is no way to actually fix a broken level blueprint script.

Tried that, couldn’t figure it out. I think when I’ve opened the level BP with the force command it got reset and it’s now lost.

just tried… on a level with lots of assets it can be a pain :confused: tried to migrate already ?

The migration can’t help me, I need it on the same project. And I don’t want to migrate it in an external project and after that migrate it back, it’s too complicated. Copying the actors can be easier especially if the migration has hundreds of assets.

well, it can help, as when you will migrate back in your project, you will be able to skip existing assets, so it will be really fast

Managed to fix it, with actor copy. But it would be really nice to have a way to fix corrupted levels, both copy and migrating assets can be very cumbersome.

character copy ? can you detail the process?

Wrong word, sorry. Copy+Paster actors, that’s all.