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

**URL:** <https://forums.unrealengine.com/t/how-to-spawn-actor-in-c-been-trying-for-9-hours-now/337411>\
**Category:** C++\
**Tags:** spawn, actor, unreal-engine, UE4, question, CPP\
**Created:** [November 4, 2015, 1:05pm UTC](https://forums.unrealengine.com/t/how-to-spawn-actor-in-c-been-trying-for-9-hours-now/337411 "2015-11-04T13:05:25Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![GIS2901](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GIS2901](https://forums.unrealengine.com/u/GIS2901)\
**Post date:** [February 6, 2025, 3:44pm UTC](https://forums.unrealengine.com/t/how-to-spawn-actor-in-c-been-trying-for-9-hours-now/337411/21 "2025-02-06T15:44:08Z")

</div>

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

[Previous page](https://forums.unrealengine.com/t/how-to-spawn-actor-in-c-been-trying-for-9-hours-now/337411.md?page=1)
