Pressing GUI.Button() sometimes just doesn’t work on Android builds. Restarting the app may help. It’s like a lottery every time. I can’t figure out what the reason is.
It started recently. Maybe this began to happen after the transition to Unity 2021.3.14f from Unity 2019.
There are several buttons and they are all on the same MonoBehaviour and are drawn normally, but pressing does not work. At the same time, there are GUILayout.Buttons on another MonoBehaviour and there are no problems with them.
Maybe someone has already faced that problem or has any thoughts about it