I’m converting a bunch of my actors from Blueprints into C++ code (manually), and generally it works fine, except that some newly converted actors refuse to be duplicated (by CTRL + W or ALT + Mouse Drag) or copy-pasted — the editor crashes with [EXCEPTION_STACK_OVERFLOW] error message. I can add new actors of that class into the level with no problems, though.
Some other actors work fine and can be duplicated easily. There’s virtually no difference between them from a technical standpoint: all are of the same AActor parent class, all have their constructors and OnConstruction() functions with some things going on there, but some can be duplicated, and others can’t. I tried disabling OnConstruction(), because I thought that might be the issue, but it didn’t help.
So what might cause this issue?
Thank you!