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. Dismiss Notice

'RectTransform.Position' to NaN every single time when editor started

Discussion in 'Getting Started' started by omomyo, Jul 3, 2023.

  1. omomyo

    omomyo

    Joined:
    Aug 26, 2018
    Posts:
    3
    upload_2023-7-3_14-26-35.png

    Hi, I setup simple UI on Canvas. And when i restart unity editor, All RectTransform's position are changing to 'Nan' like picture without errors.

    What is problem? and how can i fix this?

    Unity Version : 2022.3.3f1
     
  2. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,026
    There is a bug in 2022.3.3 and up, wherein the Canvas is getting screwed up. This is probably a symptom of that.

    It seems the most stable and least problematic version of the LTS is : 2022.3.1 at the moment.
     
    omomyo likes this.
  3. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,026
    omomyo likes this.
  4. omomyo

    omomyo

    Joined:
    Aug 26, 2018
    Posts:
    3
    Thank you for reply! I changed unity version to 2022.3.1f1 for test. And it works. Thanks.
     
    Unifikation likes this.
  5. amateurd

    amateurd

    Joined:
    Nov 1, 2016
    Posts:
    95
    Might be related, not sure but definitely affects canvas positioning, bug reported here.