# Print String outputs two values instead of one

**URL:** <https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [January 9, 2025, 3:43pm UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959 "2025-01-09T15:43:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CocoFresco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CocoFresco](https://forums.unrealengine.com/u/CocoFresco)\
**Post date:** [January 9, 2025, 3:43pm UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/1 "2025-01-09T15:43:46Z")

</div>

Hi,

I’ve recently started working with UE 5.5 and I’m not very familiar with all the stuff inside yet, so I’d appreciate any help you can give me.

I am currently facing an issue where I want to evaluate a variable (float) in the construction script in order to check and understand the calculations in my code. Therefore I have linked this variable (which should actually only contain one value) to a print string node, but curiously, two different values are spit out in the viewport and in the log. Of these two values, at least the last value is correct - I know this because I have set the variable to public and the variable and its value are also displayed in the details panel of the blueprint - but now I still don’t understand why two different values are being spit out at all.

Does anyone here know why this is happening and how I can fix it?

Many thanks in advance!  
Bango

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 9, 2025, 4:05pm UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/2 "2025-01-09T16:05:17Z")

</div>

> [@CocoFresco](#):
>
> I want to evaluate a variable (float) in the construction script

Could we see this part of the script? Besides that:

- are we sure there is only one actor?
- how does this actor make it into the scene, how is it spawned / added?
- what is this actor exactly?

---

<div class="post-metadata">

**Author:** ![CocoFresco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CocoFresco](https://forums.unrealengine.com/u/CocoFresco)\
**Post date:** [January 11, 2025, 12:52pm UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/3 "2025-01-11T12:52:43Z")

</div>

Sorry, for my late reply, but I didn’t receive a notification about your post.

Which part of the script do you want to see?

`are we sure there is only one actor?`  
Well, there should be only this actor as I didn’t set up any other.

`how does this actor make it into the scene, how is it spawned / added?`  
At the moment I don’t use the Event Graph. The actor is set up to work as spawn boundary for my PCG graph.

`what is this actor exactly?`  
It’s a rectangle spline.

---

<div class="post-metadata">

**Author:** ![FBthe73](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fbthe73/32/88718_2.png) [@FBthe73](https://forums.unrealengine.com/u/FBthe73)\
**Post date:** [January 15, 2025, 12:26am UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/4 "2025-01-15T00:26:43Z")

</div>

Hello!

Please check if you have two of the same actor spawn in the world. If so, temporarily delete the one you’re not checking, then you’ll have one value.

Best of luck on your journey!

---

<div class="post-metadata">

**Author:** ![CocoFresco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CocoFresco](https://forums.unrealengine.com/u/CocoFresco)\
**Post date:** [January 16, 2025, 10:34am UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/5 "2025-01-16T10:34:29Z")

</div>

Hi,

Thanks for your reply!

There’s no second or duplicated actor in the world. If so, shouldn’t I be able to see it in the outliner or anywhere else?

---

<div class="post-metadata">

**Author:** ![DomusLudus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/domusludus/32/1215140_2.png) [@DomusLudus](https://forums.unrealengine.com/u/DomusLudus)\
**Post date:** [January 16, 2025, 3:01pm UTC](https://forums.unrealengine.com/t/print-string-outputs-two-values-instead-of-one/2267959/6 "2025-01-16T15:01:37Z")

</div>

Construction script is activated at editor time as well as at runtime  
Just by moving the object the print comes out also, I’m pretty sure when you open the map and of course when you compile in blueprint
