I
I
Igor Hapov2021-09-14 22:43:12
Unity
Igor Hapov, 2021-09-14 22:43:12

Why does clicking on the UI work every time on a ready-made build for Android?

I made a build for android and when checking the pressing on the UI (right-left button), they work every other time. Everything works correctly in the editor and in the unity remote. Buttons are made through Image and Event Trigger.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Boronnikov, 2021-09-16
@red-cat-fat

Does everything work correctly in the editor with the same aspect ratio?
It’s just that when verst on devices, problems can arise, the code is not taken into account the markup and some images fit on the button from above, blocking them. It's worth seeing if some transparent elements or texts with active RaycastTarget checkboxes can fit on the buttons.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question