Spawning with c++ causes a ton of lag

Hi,

I have a game where I spawn in a bunch of actors in specific places (based on a changing database so I can’t put them in manually) on begin play. I have been using some BP scripts to do this but I wanted to switch this code over to c++. When I use c++ to spawn the actors now there is a ton of lag when playing. The spawning code happens at begin play and then is over, so I am totally lost as to what is causing it to drop in quality so dramatically. Any help or ideas is appreciated!