# Bug? TextRender not updating after SetText

**URL:** <https://forums.unrealengine.com/t/bug-textrender-not-updating-after-settext/412991>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 23, 2017, 3:36pm UTC](https://forums.unrealengine.com/t/bug-textrender-not-updating-after-settext/412991 "2017-12-23T15:36:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derjyn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/derjyn/32/931618_2.png) [@Derjyn](https://forums.unrealengine.com/u/Derjyn)\
**Post date:** [December 23, 2017, 3:36pm UTC](https://forums.unrealengine.com/t/bug-textrender-not-updating-after-settext/412991/1 "2017-12-23T15:36:33Z")

</div>

I see there have been several others that have run into related issues with this. I am updating (trying to, at least) the text of a TextRender component in a blueprint on an event. Event fires and calls the SetText, but the text of the TextRender component does not update. Perhaps related to this (wow, pretty old issue): [Unreal Engine Issues and Bug Tracker (UE-21286)](https://issues.unrealengine.com/issue/UE-21286)

Anyone have any insight into how to fix this? I’m changing it at runtime, so renaming it or duplicating it or any other hack isn’t very ideal.

---

<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:** [December 23, 2017, 6:31pm UTC](https://forums.unrealengine.com/t/bug-textrender-not-updating-after-settext/412991/2 "2017-12-23T18:31:58Z")

</div>

Just gave it a quick test and it seems to be working fine straight out of the box. Is there anything special about your setup? Would you mind posting a screenshot of how you implemented it?

Never encountered anything strange with _TextRender_ \> _SetText_ before. I’d lean towards believing there’s something not right about firing that event rather than the text render itself.

---

<div class="post-metadata">

**Author:** ![Derjyn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/derjyn/32/931618_2.png) [@Derjyn](https://forums.unrealengine.com/u/Derjyn)\
**Post date:** [December 23, 2017, 7:17pm UTC](https://forums.unrealengine.com/t/bug-textrender-not-updating-after-settext/412991/3 "2017-12-23T19:17:46Z")

</div>

The event fires fine- that wasn’t the issue. But, I apparently did have something weird with my set up. I don’t have a backup of my previous version, and I’ve since fixed it. However, I do remember that I had set it up an with _int_ that was being converted to text on the event firing.

My new set up, I am pulling off a string, then going to text, and it seems to be working fine. I just did a test going from an int to text, firing off the _SetText_, and it works fine. 'Tis a mystery now, but I agree that I likely did something dorky on my end!

[edit]  
Actually, just figured out what I did wrong. That variable that I was converting to text, was being set AFTER the event I was broadcasting was fired, so it only _seemed_ like the text wasn’t updated. I changed the order of variables being set and event being broadcast, and it works perfectly. Just me being a dork!
