C++ error when compiling an Actor class (trying to create a function for spawning an actor)

can you post your code after the suggested modification was applied? :slight_smile: