Editor crashes after redirecting enum in plugin

This looks similar to Python Plugin assertion failed

For me, a similar issue with PythonScriptPlugin could also have been related to a redirect which I then removed from the .ini file.
I also deleted the Intermediate folder > Generate Visual Studio files > Build in Rider (which took a while).
After that, the editor starts without a problem.