The unity pc package cannot run in win11

Bug description: When running the pc package on win11, there is no response when clicking the button.

The reason for the bug: the home page is a whole picture, and the button is an empty button component that closes the Image component. The adaptation of the button has not been adjusted, causing the position of the button to be off. Since the button is transparent, the clicked position is the picture and not the button.

Bug solution: Adjust the adaptation of the button, and the button responds normally.

Bug reflection: When adding an empty button, you must pay attention to the adaptation problem, otherwise, on different devices, the button position will be misaligned, and there will be an illusion of no response when the button is clicked.

Guess you like

Origin blog.csdn.net/xiaonan1996/article/details/128866255