Accidentally Created C++ Actor Class, It Won't Disappear From Editor

Hey,

So I accidentally made an Actor C++ class rather than a ActorComponent C++ class. I deleted the original files and all of their binaries. I rebuilt the solution, but the file is still in my C++ classes. How do I get rid of it? It literally does not exist anywhere on the disk.

Can you check if you are referencing your Actor class somewhere else (code, blueprints as components)?

Nope. I just added it, and then deleted it. Never used it anywhere.

Interesting. I restarted Unreal, and the Actor script is gone. Not sure what changed this time around. Thanks for the help @Ninjin

Yes, you always need to restart when deleting C++ classes. It’s also suggested to do the whole process with a closed editor.
If you have nothing else to add, make sure to mark your question as resolved. <3

I restarted it and it still wouldn’t go away. there’s also no option to delete said class either…