Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question UI Element get click on outside of that element when resolution changed

Discussion in 'UGUI & TextMesh Pro' started by DevGulpi, Jul 29, 2022.

  1. DevGulpi


    Aug 6, 2021
    I made option system which have resolution buttons and brightness slider
    After resolution changed, brightness slider get click on outside of slider's territory
    I used LayoutRebuilder.ForceRebuildLayoutImmediate and RectTransform.ForceUpdateRectTransforms (to slider rect, slider fill rect, slider handle rect) to solve this problem, but nothing can helped me

    Are there other things that I can try more?
    I change timeScale to 0 when option popup is opened. This can be a reason of this problem?