Some actors (after converted from BP to CPP) crash the editor when duplicated (EXCEPTION_STACK_OVERFLOW)

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!

BTW, if it is of any relevance. the way I convert BP into CPP is: if BP’s parent class is Actor, I create a CPP class with AActor as parent, and then simply reparent the BP, after which I start adding functions to the CPP class.