Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Issue with Input Field (TextMeshPro)
Post Flair (click to view more posts with a particular flair)
Post Body

I have been working on this issue for a while and I am stumped. (I'm also new to game dev) As the title suggests I'm having an issue with the input field. When I use it in the editor it works just fine, but once I build the project it does not work. I am trying to use the input field to get some user data and then update a different scripts variables to reflect the input for the user. This all works just fine inside of unity, but once I build the game it no longer works. I am not getting any errors and the game is not crashing. I did find the ConsoleToGUI script that I added to the game to be able to look at my console logs from inside the build and I set up a few print statements to help me debug the issue. Sadly this was not useful. All that I found out from doing this is that I am getting the user's input and that it is being stored correctly, but once I go into the main scene it does not transfer the information. I'll link the two scripts and a few screenshots. Keep in mind the two scripts are in different scenes. One is in the settings scene and the other is in level_1

SetTwitchOauth script: https://pastebin.com/5nne4Uwt

TwitchIRC script: https://pastebin.com/4MkkcubB

Here are a few screenshots as well: https://imgur.com/a/tLtBXWk

If you need any more info please let me know and I'll add it here.

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,701
Link Karma
2,296
Comment Karma
350
Profile updated: 1 day ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago