Search Unity

Drag n' drop import not working with png file.

Discussion in '2D' started by MauricioEF, Mar 4, 2021.

  1. MauricioEF

    MauricioEF

    Joined:
    Sep 4, 2020
    Posts:
    10
    Hey guys, I've been having troubles with import in a project.
    When I want to create a spritesheet, I first drag my png file from my desktop to "Sprites" folder.
    But when I do it, this happens:
    upload_2021-3-4_9-21-14.png


    When I want to check the settings for the image, it is only an image.Nothing about 2D import texture settings. What is happening?
     
  2. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    all image this happens? or only that one
     
  3. MauricioEF

    MauricioEF

    Joined:
    Sep 4, 2020
    Posts:
    10
    Thanks for reply. It is on all images. I tried with many png files in my personal folders. And still nothing. Texture importer doesn't appear
     
  4. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    and jpg does it work?

    try assets>import new asset

    and see if it works that way
     
  5. MauricioEF

    MauricioEF

    Joined:
    Sep 4, 2020
    Posts:
    10
    Thanks for the reply

    I reimported all and now it can read some png files.

    upload_2021-3-4_13-48-54.png

    But it still can't read my specific png file. Do you know whats the difference? both are .png images, why it can read one, but not the another one?
     
  6. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    can you post your file
     
  7. MauricioEF

    MauricioEF

    Joined:
    Sep 4, 2020
    Posts:
    10
    Hi ! I finally did it ! It was a really, really weird problem with Unity since start. I had to made a scan of corrupt files and I restored them. Now it reads everything fine. something weird but well, things happen! Thanks a lot for everything.
     
  8. JonnyIronthighs

    JonnyIronthighs

    Joined:
    Nov 15, 2023
    Posts:
    1
    I had a very similar problem, i was using some free downloaded sprites but they were still compressed in a zip file, i had to extract all of the files and then it worked