# Construction Script not executing in 4.7

**URL:** <https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720>\
**Category:** Blueprint\
**Tags:** bug, UE4-7, unreal-engine, Blueprint, question\
**Created:** [February 11, 2015, 11:17pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720 "2015-02-11T23:17:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyoril](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kyoril](https://forums.unrealengine.com/u/Kyoril)\
**Post date:** [February 11, 2015, 11:17pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/1 "2015-02-11T23:17:14Z")

</div>

Hey,

construction script of my blueprints does not execute in 4.7 if I run game. In editor itself (not PIE, just Editor) it is executed if I change some blueprint variables.

A workaround for this is to copy code of Construction Script method and paste it so it will execute in “BeginPlay” event. This is also how I made sure that Construction Script is NOT called btw.

Edit: It seems that it isn’t executed even in editor…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 12, 2015, 12:15am UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/2 "2015-02-12T00:15:29Z")

</div>

Hey Dalon,

What class of Blueprint are you seeing this in? Can you post an image of BP so we can try to reproduce this here? Thanks!

---

<div class="post-metadata">

**Author:** ![Kyoril](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kyoril](https://forums.unrealengine.com/u/Kyoril)\
**Post date:** [February 12, 2015, 12:46am UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/3 "2015-02-12T00:46:13Z")

</div>

EDIT: graph is highlighted once I click compile button, but Print String method has no effect in game.

 ![29700-construction.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/1/9e1cc0e68e4abfc2ac3f19d2d67c0f604d859461.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 12, 2015, 10:37pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/4 "2015-02-12T22:37:22Z")

</div>

Hi Dalon,

Construction Script seems to be working fine for me in Preview 7. Print String won’t work in a construction script, though. Are rest of your nodes firing? Do you see lighting updated when you first drag actor into level?

---

<div class="post-metadata">

**Author:** ![totopsycho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@totopsycho](https://forums.unrealengine.com/u/totopsycho)\
**Post date:** [February 13, 2015, 3:35pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/5 "2015-02-13T15:35:40Z")

</div>

Hi,  
I have same problem! Construction script doesn’t execute even if i drag actor on level!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2793493e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2793493e1](https://forums.unrealengine.com/u/anonymous_user_2793493e1)\
**Post date:** [February 15, 2015, 5:26am UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/6 "2015-02-15T05:26:58Z")

</div>

Same for me, with a Blueprint created on 4.2 and upgraded along versions. On 4.7 only first time that I changed parameters on editor has effect.

My Blueprint is on download sections of first post.

---

<div class="post-metadata">

**Author:** ![Kyoril](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kyoril](https://forums.unrealengine.com/u/Kyoril)\
**Post date:** [February 17, 2015, 2:06pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/7 "2015-02-17T14:06:33Z")

</div>

I don’t know why my first answer was down-voted, so I deleted it. Anyway, this bug really seems to be fixed. It does no longer happen in my projects.

---

<div class="post-metadata">

**Author:** ![dave.leacock\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dave.leacock\_1](https://forums.unrealengine.com/u/dave.leacock_1)\
**Post date:** [February 18, 2015, 9:56pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/8 "2015-02-18T21:56:37Z")

</div>

I’m having same issue. In my Game Mode Construction Script I had it set to Get All Actors of Class then count length of that array and store it as an int. I attached debug Print Screens and no where along line was this value getting filled. I copied that code, detached it from Construction Script and placed it in Event Graph at Event Begin Play and it works. I’m using 4.6.1 and was following a Digital Tutors tutorial to letter (or node, if you will). Thanks Dalon

---

<div class="post-metadata">

**Author:** ![Kyoril](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kyoril](https://forums.unrealengine.com/u/Kyoril)\
**Post date:** [February 19, 2015, 12:50pm UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/9 "2015-02-19T12:50:55Z")

</div>

Hey Dave,

no problem. In current 4.7 build, this workaround isn’t needed any more.

---

<div class="post-metadata">

**Author:** ![ironcore1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ironcore1](https://forums.unrealengine.com/u/ironcore1)\
**Post date:** [March 11, 2015, 10:14am UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/10 "2015-03-11T10:14:34Z")

</div>

Cheers Dave, I had very same problem and this fixed it. 🙂

---

<div class="post-metadata">

**Author:** ![guitarguy109](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@guitarguy109](https://forums.unrealengine.com/u/guitarguy109)\
**Post date:** [December 24, 2016, 9:22am UTC](https://forums.unrealengine.com/t/construction-script-not-executing-in-4-7/306720/11 "2016-12-24T09:22:52Z")

</div>

I am now having this issue in 4.13. If it was fixed back in 4.7 it’s not fixed anymore.
