Buttons work in the Editor but not in the build... WHY!
I'm not sure if I should switch back to an older version of Unity3d but the one I am using right now is 2017.3.1f1. So my game works flawlessly in the editor. I hit play and everything is just how I like it, I can press all the buttons and they bring me to the multiplayer, options, etc... But when I BUILD & RUN the game, I can't press the buttons! Alright so maybe I should make another project. Cleanslate. I make a button using this script:
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChickenButtScript : MonoBehaviour { public GameObject ChickenButt_Text; public void ChickenButton () { ChickenButt_Text.SetActive (true); } }
I build the game and runnnn...
SAME FREAKIN PROBLEM! I have an EventSystem but STILL! It's just an image hanging there and I can't press the button! Does anyone else have the same issue with this version?! This didn't happen before. I'd really appreciate the feedback. Please and Thank you.
Dont mean to necro, but for anyone that comes across this problem, I fixed my button issue after realizing I had 2 EventSystems in the scene and then removed one of them.
Your answer
Follow this Question
Related Questions
Problem referencing Visual Studio UWP Project 0 Answers
Unity v2018.1.3f1 Button Bug 2 Answers
project starting error. cannot assess database. 0 Answers
Win32Exception build error 1 Answer