How to spawn actor in C++? Been trying for 9 hours now

For me the problem was I was trying to spawn wrong class: not the blueprint with models and such, but the parent class with methods and logic only. So make sure you are trying to spawn the correct actor