How to avoid name collisions in C ++ class names

Renaming like you did is probably best in that situation. I tend to put most functionality in plugins, then prefix the class name with an abbreviated plugin name ie: ACGLCharacter for a plugin CoolGameLogic. You ran into an unfortunate situation where you coincidentally named a class they introduced. Doesn’t happen often, I’d think.

You may want to read up on redirectors, not necessarily a fix but related:

1 Like