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.
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.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Unity3D/com...