Search Unity

Question I don’t know why my sprite is missing at runtime

Discussion in 'UGUI & TextMesh Pro' started by sparkkhuang, Apr 9, 2021.

  1. sparkkhuang

    sparkkhuang

    Joined:
    Apr 9, 2021
    Posts:
    9
    Hello everyone, I ran into a strange problem. When I was editing the prefab in the editor, I added an Image component to an empty object, and then dragged a UI to it, after packaging AB. The sprite object on the Image is Missing at runtime, and the corresponding sprite object is confirmed in the bundle. Does anyone know why?

    editor:
    upload_2021-4-9_11-49-6.png
    runtime:
    upload_2021-4-9_11-51-54.png
     
    Nilytson likes this.