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

Bug Canvas width/height near-zero in Unity 2022.3.3f1

Discussion in 'Editor & General Support' started by DreamcatcherProduciton, Jun 23, 2023.

  1. DreamcatcherProduciton

    DreamcatcherProduciton

    Joined:
    Sep 29, 2016
    Posts:
    32
    Didn't want to necro this thread about prefab GUIDs.

    Any canvases created using GameObject > UI > Canvas (before focusing the game view) will have a near-zero width/height.

    The only way to fix it is to focus the game view.
     
    Sobrtonog and Tornar like this.
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,563
    Sounds like a bug! You should make a blank project and report it.

    Top menu
    Help -> Report Bug
    is the ONLY way a bug could ever possibly arrive on an engineers desk.
     
  3. Mads-Nyholm

    Mads-Nyholm

    Unity Technologies

    Joined:
    Aug 19, 2013
    Posts:
    215
  4. Tornar

    Tornar

    Joined:
    Dec 28, 2020
    Posts:
    86
    Same problem here using Unity 2022.3.4
     
  5. Sobrtonog

    Sobrtonog

    Joined:
    Sep 28, 2019
    Posts:
    15
    I was wondering why my children UI keep resetting some values.. I think it's because of this.

    When the editor starts, the parent size is 0,0. It messes up the offsets because of it -_-