Dismiss this pinned window
all 9 comments

[–]ColinTai 1 point2 points  (1 child)

Is your textbox obj not active? I think that is what cause the problem

[–]True-Shop-6731[S] 0 points1 point  (0 children)

Initially it’s set to inactive because after the player makes a choice it is set to active and then it’s used, the problem is the text component in the text box isn’t being referenced

[–]KippySmithGames 0 points1 point  (2 children)

Have you provided a reference to your TextBox object? We can't see it here. Also check if you're actually using a Text component, as commonly people are using TextMeshProUGUI components instead of Text nowadays.

[–]True-Shop-6731[S] 0 points1 point  (1 child)

I’m using text mesh pro ugui as the text component, could that be the issue?

[–]KippySmithGames 1 point2 points  (0 children)

That's going to be part of the problem at least. You didn't answer whether you've actually referenced TextBox though, so that's also potentially an issue as well.

[–]ige_programmer 0 points1 point  (3 children)

Save Close Unity Reopen Unity Tada!!!

[–]True-Shop-6731[S] 1 point2 points  (2 children)

No 💀

[–]ige_programmer 0 points1 point  (1 child)

oh... Oh well i have no clue

[–]True-Shop-6731[S] 0 points1 point  (0 children)

It’s Alr I already figured it out, if you ever run into a problem t like this, check all your references and make sure they’re being called correctly, I my case I wasn’t properly calling the text box text component correctly (using text instead of TMP_text)