Removing an actor from C++ causes the editor to crash on load

While refactoring I decided that an actor I had created in C++ wasn’t necessary and removed it, now without it the editor won’t load (just crashes).

It appears in the ‘recently placed’ which is my only guess as to the issue, there are no objects in the world referencing it. I could just leave it in (when re-adding it, everything loads fine)… but it is redundant and would always just annoy me knowing it’s there.

Any ideas? This is 4.13.1, did the upgrade earlier today without any issues

Hi there! I had the exact same problem a week or so ago. What happens is, deleting the file doesn’t delete all references to the file, so you have to delete your binaries and regenerate your project file. When I get to my computer I can share the link but you should be able to find how on answerhub

I did a full clean & rebuild… I’ll try regenerating the files and see if that makes any difference. Thanks for the suggestion

It’s always good to re-run ‘Generate Visual Studio Project Files’ whenever you’ve removed any source files…