Text taking a whole second to change strings?

Hello, this is a bit hard to give context for, so treat it a bit like a scenario. In my game, I have a coroutine I have to run and it has multiple functions being run in it that aren’t instant. I know my code is working because I’m using a WaitWhile() statement with booleans from these functions to determine if all of the code has run. The issue is that inside of these functions there are text changes, and when all of these functions are done the text being changed is visible, however, the text takes half a second to go from the previous text to the new text. Is there a way to detect if that is happening so I can wait longer for it to change, or is there any other solution?

Look in the profiler what takes so long.

And if you want help with code post your code

My code isn’t really related to Unity, I know that sounds weird, but I’m using lootlocker which is a games service that’s why I didn’t show code. I know the code works, I was just wondering if there’s a reason text could take a while to go from one string to another. I’m using text.text = mystring.

If you can’t show code look in the profiler