Search Unity

Question Images parented by Canvas don't appear on Android

Discussion in 'Getting Started' started by ohyesplease, Nov 30, 2022.

  1. ohyesplease

    ohyesplease

    Joined:
    Feb 19, 2018
    Posts:
    13
    Two separate images (GameObjects with Transform and SpriteRenderer) which were put in the hierarchy as children of the Canvas, display correctly when played in the Editor but fail to appear when built and played on two Android devices.

    A text GameObject parented by Canvas doesn't have this problem.

    Moving the images from the Canvas to the same level in the hierarchy as the Canvas solves the problem.

    Is this a feature, or is there something I am not understanding? I'm working in 2D and with Unity 2020.3.37 LTS.