# Tick is never being called even though CanEverTick and StartWithTickEnables is true

**URL:** <https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613>\
**Category:** C++\
**Tags:** actor, tick, unreal-engine, UE4, CPP, question\
**Created:** [June 4, 2016, 1:51pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613 "2016-06-04T13:51:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 4, 2016, 1:51pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/1 "2016-06-04T13:51:23Z")

</div>

Hi all. I have been having this incredibly annoying issue where it seems that my tick for an actor is never called. I have a function called within the tick that is never triggered and a print statement in there also which never prints saying the tick is being called. I’ve been searching online for days and everyone says to enable CanEverTick and StartWithTickEnabled but nothing seems to be working with my project. I have even created a new project and tryed just printing out a line and it doesn’t even work in there either. If anyone has any ideas or has a method of checking to see if something has finished every frame that would be amazing!

Thanks in advance

Louis ,

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [June 4, 2016, 1:59pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/2 "2016-06-04T13:59:15Z")

</div>

Are you trying to make the actor tick in game or editor?

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 4, 2016, 2:04pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/3 "2016-06-04T14:04:28Z")

</div>

In game when I run the game. Not getting any prints to the screen or anything when I run the game that are called in the tick.

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [June 4, 2016, 2:09pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/4 "2016-06-04T14:09:04Z")

</div>

Can you post your header file and source?

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 4, 2016, 2:34pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/5 "2016-06-04T14:34:50Z")

</div>

Unfortunately my internet is down ( Having to use mobile ATM ) so not able to send full source but I have taken some photos of the code. Please find the link attacked to them 🙂 [Imgur: The magic of the Internet](https://imgur.com/a/soWsi)

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/3/b3c2ca60a56d1b4db2d22f81d5f9b8928216657e.jpeg "imgur.com") ](https://imgur.com/a/soWsi)

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 4, 2016, 3:12pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/6 "2016-06-04T15:12:21Z")

</div>

I did try attaching the images direct to the page but it keeps erroring when I press accept in the image.

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [June 4, 2016, 3:17pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/7 "2016-06-04T15:17:06Z")

</div>

Maybe try changing float DeltaTime to float DeltaSeconds in source file? Other than that everything seems to be good.

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 4, 2016, 3:21pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/8 "2016-06-04T15:21:14Z")

</div>

This didn’t work unfortunately. Like I say I have tried even using a different project and the same issue occurs so not sure what exactly is causing it not to run.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_689e935a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_689e935a](https://forums.unrealengine.com/u/anonymous_user_689e935a)\
**Post date:** [June 7, 2016, 2:49am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/9 "2016-06-07T02:49:14Z")

</div>

Same here. Just converted an old prototype to 4.12 and my custom C++ pawn’s tick method is never reached. Tried

```
	PrimaryActorTick.bCanEverTick = true;
	PrimaryActorTick.bStartWithTickEnabled = true;

```

but nothing. Pawn works fine otherwise, gets input and my movement methods are being called. I have a BP inheriting from this C++ pawn and on that i have set “Start with Tick Enabled” as well.

Not sure if this a bug? Although if it’s been there since 4.11, surely people would have noticed long ago.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_689e935a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_689e935a](https://forums.unrealengine.com/u/anonymous_user_689e935a)\
**Post date:** [June 7, 2016, 3:08am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/10 "2016-06-07T03:08:05Z")

</div>

So I tried a Tick node in the BP and that doesn’t work either. What does one have to do these days to get there actors ticking?

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 17, 2016, 8:01am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/11 "2016-06-17T08:01:55Z")

</div>

Still now work around yet!! Really need a work around for this as its stopping me from do anything that i need to do!!  
Does anyone know any other way to have a function called every frame? PLEASE

---

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [June 17, 2016, 9:48pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/12 "2016-06-17T21:48:53Z")

</div>

The above link doesn’t work anymore. Can you share the code? Normally those two calls is all you need (along with the declaration “virtual void Tick( float DeltaSeconds ) override;”). Is it a spawned actor or a placed actor? As a long shot, you can try deleting the actor from the level and placing him there again, then run it and see if it works.

---

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [June 19, 2016, 1:19pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/13 "2016-06-19T13:19:44Z")

</div>

Yeah no worries the code i am using to call the tick function are below

Constructor

```
ATerrainActor::ATerrainActor()
{
	PrimaryActorTick.bCanEverTick = true;
	PrimaryActorTick.bStartWithTickEnabled = true;
	PrimaryActorTick.bAllowTickOnDedicatedServer = true;

	Mesh = CreateDefaultSubobject<UProceduralMeshComponent>(TEXT("Terrain Mesh"));
}

```

Tick Function its self:

void ATerrainActor::Tick( float DeltaSeconds)  
{  
Super::Tick( DeltaSeconds );

```
FString floatval = FString::SanitizeFloat(DeltaSeconds);
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Red, *floatval);

GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Red, TEXT("Ticking"));

```

}

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_689e935a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_689e935a](https://forums.unrealengine.com/u/anonymous_user_689e935a)\
**Post date:** [June 19, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/14 "2016-06-19T15:15:49Z")

</div>

Just fixed it for my project. Turns out “Allow Tick Before Begin Play” was the culprit. In my BP derived from my custom C++ pawn I had to set that to true or else neither BP nor C++ would ever tick.

A bug or by design? I don’t really get what sense it makes to tick before BeginPlay, but then to have it result in not ticking at all unless set to true is another level of strange.

---

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [June 21, 2016, 9:54pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/15 "2016-06-21T21:54:10Z")

</div>

If you’re using a blueprint which derives from this actor, did you check the BP “Class Defaults”-\>“Actor Tick” section? The BP has its own checkboxes for “Start with Tick Enabled”, “Allow Tick on Dedicated Server”, and “Allow Tick Before Begin Play”; make sure they’re all checked.

---

<div class="post-metadata">

**Author:** ![Brandelan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brandelan](https://forums.unrealengine.com/u/Brandelan)\
**Post date:** [June 21, 2016, 10:22pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/16 "2016-06-21T22:22:56Z")

</div>

If you’re overriding BeginPlay, make sure you put Super::BeginPlay() in you’re overridden BeginPlay() function. Also do the same for Tick(DeltaSeconds) with Super::Tick(DeltaSeconds).

It fixed my actor not ticking for me inexplicably.

---

<div class="post-metadata">

**Author:** ![xiuxiu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xiuxiu](https://forums.unrealengine.com/u/xiuxiu)\
**Post date:** [August 17, 2016, 2:36am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/17 "2016-08-17T02:36:07Z")

</div>

Your reply helped!

Thanks, brandelan and everyone here.

---

<div class="post-metadata">

**Author:** ![Kory](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kory](https://forums.unrealengine.com/u/Kory)\
**Post date:** [February 13, 2017, 12:58am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/18 "2017-02-13T00:58:25Z")

</div>

Geez, I’m an idiot, if I had to cut off a finger for every time not calling Super has wasted an hour of my time I would not have anymore fingers, thanks for the obvious!

---

<div class="post-metadata">

**Author:** ![jbl2kz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jbl2kz](https://forums.unrealengine.com/u/jbl2kz)\
**Post date:** [December 9, 2017, 3:41pm UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/19 "2017-12-09T15:41:28Z")

</div>

I just had the same issue, but everything mentioned above checked.

In my case, my Blueprint subclass, the one that is actually being spawned in the world, had its tick disabled in BP. Worth checking if you’re googling this.

---

<div class="post-metadata">

**Author:** ![Katianie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Katianie](https://forums.unrealengine.com/u/Katianie)\
**Post date:** [January 14, 2018, 7:25am UTC](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613/20 "2018-01-14T07:25:03Z")

</div>

Solved my problem, In my case I was calling super for every other function BUT begin play. Once I added that, the Tick stated working.

[Next page](https://forums.unrealengine.com/t/tick-is-never-being-called-even-though-canevertick-and-startwithtickenables-is-true/359613.md?page=2)
