that seems to have fixed it?
the file the enum was in just contained a few other enums and a dataasset class which could all be deleted fairly safely, then i deleted the cpp and .h files following this post
when i relaunched, the crashing error had stopped. I guess that file had just been corrupted at some point?
I’ve rewritten the deleted file more-or-less exactly how it was and it’s working perfectly
thanks for the help!