# Blueprint PlayerCameraManager causes Event Begin Play to not fire

**URL:** <https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573>\
**Category:** Blueprint\
**Tags:** event-begin-play, unreal-engine, bug-report, question, Blueprint\
**Created:** [February 20, 2017, 7:26pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573 "2017-02-20T19:26:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 20, 2017, 7:26pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/1 "2017-02-20T19:26:36Z")

</div>

Using release 4.15.0

When hitting “play” in the editor, the Event Begin Play event no longer fires on PlayerController, GameMode, or Pawn classes configured for the level. (Haven’t checked other classes.)

## Reproduction path:

1. Start a new project as empty blueprint.
2. Create BP\_GameMode as gamemode
3. Create BP\_PlayerController as playercontroller, make it print in event begin play
4. Configure the BP\_PlayerController as the player controller in the gamemode
5. Configure the BP\_GameMode as the default game mode in project settings and build/save
6. **At this point, it will still fire the event begin play**
7. Create BP\_PlayerCameraManager as playercameramanager
8. Assign BP\_PlayerCameraManager as the camera manager for BP\_PlayerController and build/save
9. **At this point, you will not see the event begin play fire**

## And, here comes the super curious bit:

1. Re-set the player camera manager back to None in BP\_PlayerController
2. Delete the BP\_PlayerCameraManager class from the project
3. Save/build
4. **It still doesn’t get the begin play events**

It’s like something in assigning a custom player camera manager permanently messes up the project. Which is … I have a hard time explaining how that could even happen.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 20, 2017, 8:06pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/2 "2017-02-20T20:06:49Z")

</div>

FWIW, I tried stepping through play-in-editor in Visual Studio (pulling source for release 4.15.0 from GitHub) and there’s no obvious exception getting thrown. The ReceiveBeginPlay() function gets called on each actor. However, when the PlayerCameraManager blueprint is created, the blueprint events stop firing. Bizarre.

I would suspect that perhaps something in the blueprint-ization of PlayerCameraManager is wrong, and ends up invalidating / corrupting the blueprint event dispatch? That’s kind-of vague, I know, but that’s about as far as I can get without diving way deeper into the implementation internals than I’m able to at this time.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [February 20, 2017, 8:26pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/3 "2017-02-20T20:26:28Z")

</div>

Hello jwatte,

I was not able to reproduce your issue with the steps provided, I have a couple questions that will help me narrow down your issue:

1. Can you reproduce this error in a clean project on your machine?
2. Could you provide screenshots of your project that this issue is occurring in?
3. Are you using a GameMode Base or a GameMode?

Thanks!

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 21, 2017, 5:04am UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/4 "2017-02-21T05:04:48Z")

</div>

,  
Thanks for the answer.  
Yes, I can reproduce this in a clean project – just did when writing down the steps.  
I’m using a GameMode subclass IIRC.  
I’m going to try this on my second machine and see if it still happens.  
And if it does, I’ll see if I can get ShadowPlay to record the whole thing.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 21, 2017, 5:13am UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/5 "2017-02-21T05:13:45Z")

</div>

Okay, I take back blaming the PlayerCameraManager – it seems to actually be a custom BP\_GameState (based on the GameState base class) that does it.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 21, 2017, 5:17am UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/6 "2017-02-21T05:17:38Z")

</div>

![127133-setting-the-gamemode.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/9/9296708ebd1e54338cc84734df454d3e1bef8f1a.jpeg)

 ![127134-configure-custom-gamestate.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/c/05c6a7f471ea8c951b7ad80a6752c257870ec466.jpeg)

 ![127135-make-custom-gamestate.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/f/b6f9d9c29065d4fb1377d3b191bac769aaa78a7b.jpeg)

 ![127136-playercontroller-eventbeginplay.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/8/928b6cfa6eb46ff96aac9578cbe2d43dece94578.jpeg)

 ![127137-game-doesnt-print.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/e/c7ea9bca1207a769a39c35711668e453471c4242.jpeg)

---

<div class="post-metadata">

**Author:** ![vanlacke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vanlacke](https://forums.unrealengine.com/u/vanlacke)\
**Post date:** [February 21, 2017, 7:19am UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/7 "2017-02-21T07:19:28Z")

</div>

I’m having loads of issues as well in 4.15.

Normally, in a totally new project, I make the gamemode, player pawn, and controller. I set the gamemmode to use pawn/controller, then I set the project to use my gamemode. I hit play, I spawn, all is well! I’ve done this millions of times by now.

Now… NOTHING works!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [February 21, 2017, 2:26pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/8 "2017-02-21T14:26:23Z")

</div>

Your issue seems to be a conflict between having a gamemode base and then not using a GameState base, not using the same types can cause a conflict where the event begin play will not fire. I was able to achieve the results of your issue when I had a GameMode base and then made a custom GameState that was not a GameState base.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 21, 2017, 6:29pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/9 "2017-02-21T18:29:18Z")

</div>

So that seems like the answer. I’d assume that the engine should recognize this problem, and warn.  
Why are there even two different kinds?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [February 21, 2017, 10:23pm UTC](https://forums.unrealengine.com/t/blueprint-playercameramanager-causes-event-begin-play-to-not-fire/385573/10 "2017-02-21T22:23:25Z")

</div>

Gamemode and GameState without the bases are designed to behave like a multiplayer match, which means that if the two don’t match up (ie the gamemode is gamemode base, and the other is gamestate) The game will wait for the “multiplayer match to start” before running an event begin play match.
