You’re not making much sense here TBH. The question was asked, are you trying to drag a sprite here which is exactly what it’s expecting? You wouldn’t drag a GameObject or an Audio file here just like you’d only drag a Sprite. A “png” is just an image file, that’s not a Sprite.
If you have made a sprite (imported your “png”) then you’ll have a Sprite asset you can drag here. That’s the basics of how it works. If you don’t understand this then I would highly recommend some tutorials on this.
I managed to click and drag the texture to the ‘Source Image’ option in the Inspector tab, and the same for the Hierarchy panel.
The image is displayed perfectly.
The problem is that after changing some parameters, the same problem as in the message above occurs.
No drag and drop from the image to the ‘Source Image’ option in the Inspector tab, same for the Hierarchy panel.
I have no idea what the problem is.
Everything was working perfectly, then the UIImage bugg .
J’ai remarqué que le bug ne se faisait pas avec des images (vignettes dans l’onglet Project) qui ont une petite flêche grise dans un cercle gris sur le côté droit (voir image suivante).
J’aimerais que vous me disiez comment créer cette petite flêche.
Pour cliqué-glisser mon image vers l’option ‘Source image’.