# Error: BeginPlay was called on actor which was in state 0

**URL:** <https://forums.unrealengine.com/t/error-beginplay-was-called-on-actor-which-was-in-state-0/2448819>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [April 9, 2025, 11:34pm UTC](https://forums.unrealengine.com/t/error-beginplay-was-called-on-actor-which-was-in-state-0/2448819 "2025-04-09T23:34:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VelikyPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/velikypanda/32/1008648_2.png) [@VelikyPanda](https://forums.unrealengine.com/u/VelikyPanda)\
**Post date:** [April 9, 2025, 11:34pm UTC](https://forums.unrealengine.com/t/error-beginplay-was-called-on-actor-which-was-in-state-0/2448819/1 "2025-04-09T23:34:17Z")

</div>

Hi,

I’m getting this error in my log on an actor. Does anyone know what the problem might be?

```auto
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: ActorHasBegunPlay == EActorBeginPlayState::BeginningPlay [.../Engine/Source/Runtime/Engine/Private/Actor.cpp] [Line: 3543]
LogOutputDevice: Error: BeginPlay was called on actor /.../PersistentLevel.BP_Bullet_9x19_01_C_9 which was in state 0

```

---

<div class="post-metadata">

**Author:** ![VelikyPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/velikypanda/32/1008648_2.png) [@VelikyPanda](https://forums.unrealengine.com/u/VelikyPanda)\
**Post date:** [April 20, 2025, 6:35pm UTC](https://forums.unrealengine.com/t/error-beginplay-was-called-on-actor-which-was-in-state-0/2448819/2 "2025-04-20T18:35:40Z")

</div>

Turns out that Event Begin Play was being called one more time in my code which was causing this error.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 20, 2025, 6:35pm UTC](https://forums.unrealengine.com/t/error-beginplay-was-called-on-actor-which-was-in-state-0/2448819/3 "2025-05-20T18:35:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
