# Battery Collector Video 8.. SpawnVolume does not spawn anything

**URL:** <https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021>\
**Category:** C++\
**Tags:** tutorial, spawn-rate, unreal-engine, CPP, question\
**Created:** [June 20, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021 "2017-06-20T21:35:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b25516ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b25516ac](https://forums.unrealengine.com/u/anonymous_user_b25516ac)\
**Post date:** [June 20, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/1 "2017-06-20T21:35:30Z")

</div>

I am following the Battery Collector tutorial and am on video 8. I copied and pasted the code verbatim from the download link included in the tutorial and everything compiled without error. At the end of the tutorial the trainer says to click ‘Play’ and the items will spawn. In the video, the batteries do indeed spawn, but in mine nothing at all spawns except for my character. No errors.

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 21, 2017, 12:53am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/2 "2017-06-21T00:53:07Z")

</div>

Did you check out the comment by “Cristiano Souza”?

> I had a problem that could be used as advice for anyone else having the same problem, my SpawnVolume was not spawning anything and the code was ok, it happened because i selected the cpp class (BatteryPickup) to be the WhatToSpawn, when i should have selected The BLUEPRINT of the cpp class (BatteryPickup\_BP).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b25516ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b25516ac](https://forums.unrealengine.com/u/anonymous_user_b25516ac)\
**Post date:** [June 21, 2017, 12:57am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/3 "2017-06-21T00:57:26Z")

</div>

Thanks for the response. I did not make this error. I chose the \*\_BP options as it was shown in the video.

![200985-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/2/f62c3691f06a4ab903058948796692c7ff06ea5f.png)

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 21, 2017, 1:18am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/4 "2017-06-21T01:18:24Z")

</div>

What code did you copy paste? Everything that was in the .zip file? Just to make sure, you created these classes in Unreal first and not just copied the file into your project? \<3

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b25516ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b25516ac](https://forums.unrealengine.com/u/anonymous_user_b25516ac)\
**Post date:** [June 21, 2017, 1:24am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/5 "2017-06-21T01:24:37Z")

</div>

I created the project and followed along up until video 8 by manually creating the classes as the tutorial said and typed everything in manually. I only copied and pasted after I ran into this issue. I wanted to eliminate as many things as I could so I copied over what I had already typed in just to be absolutely sure that my code was identical. After I made sure the code was ok I did a full clean and rebuild.

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 21, 2017, 1:37am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/6 "2017-06-21T01:37:39Z")

</div>

Then I suggest uploading the project somewhere to increase the success to solve your problem. Not sure if I have the time, but maybe someone else. \<3

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b25516ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b25516ac](https://forums.unrealengine.com/u/anonymous_user_b25516ac)\
**Post date:** [June 21, 2017, 1:38am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/7 "2017-06-21T01:38:41Z")

</div>

I can do that. Where should I upload it? Thanks.

---

<div class="post-metadata">

**Author:** ![Ninjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Post date:** [June 21, 2017, 1:39am UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/8 "2017-06-21T01:39:42Z")

</div>

People love google drive and dropbox. 😜

---

<div class="post-metadata">

**Author:** ![MrSofaNinja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrSofaNinja](https://forums.unrealengine.com/u/MrSofaNinja)\
**Post date:** [March 20, 2019, 3:11pm UTC](https://forums.unrealengine.com/t/battery-collector-video-8-spawnvolume-does-not-spawn-anything/399021/9 "2019-03-20T15:11:50Z")

</div>

Just in case anyone comes looking for this sort of problem with the battery collector tutorial, I had the same experience as above. The only way that I could solve it was to create a bp version of the C++ class in the editor, choosing the battery pickup bp and then pulling the bp version of the spawn volume into the level. Worked for me,
