Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here:
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  4. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    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?