Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by moosefetcher · Jan 06, 2016 at 06:02 PM · ui imageimporting assets

Changing the source image of a UI Image element in the editor - simple, surely?

I've changed my mind about how I want a heads up display image to look, but I cannot for the life of me figure out how to correctly import the new image (I want to retain the old one, in case my idea doesn't work).

I have put the new image in my Assets folder, and it's showing as present in the Unity project panel, but when I try to drag it to the Source Image slot on my UI Image prefab, it won't have it (It makes that black circle-with-a-diagonal-cross symbol). I've also tried clicking the 'cog' to the right of the Source Image slot, but my new image is not featured in those available. I've also tried Assets > Import New Asset, but the imported image gets the same 'black circle symbol' treatment when I try to add it to the Source Image slot.

Sorry to have to ask what SHOULD be obvious, but what am I doing wrong?

EDIT: I should have said all of the images I've imported are PNGs. I'd like to know how to import them in a way that's useful in Unity. It seems like the earlier image has been imported as 'NPOT ARBG 32 bit' ; How do I import new images in that format?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image moosefetcher · Jan 06, 2016 at 06:21 PM 0
Share

The old image is showing in the inspector as (NPOT) ARGB 32 bit. The new one is RGBA Compressed DXTS. The question then, I guess, is how do I import them as NPOT? They were saved exactly the same way from Photoshop.

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by felixfors · Jan 06, 2016 at 07:08 PM

Select your image in the Project window and then change the image type from " Texture" to " Sprite 2d and UI"

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image moosefetcher · Jan 06, 2016 at 07:18 PM 0
Share

Thank you! I must have known that at some stage, but I could NOT figure it out again. But yes, that's done the trick.

avatar image felixfors moosefetcher · Jan 06, 2016 at 07:33 PM 0
Share

You're welcome! Im just glad I could help

avatar image
0

Answer by BMayne · Jan 06, 2016 at 06:37 PM

Hey,

The thing you are importing is not a image format that Unity knows. It must be SD, TIFF, JPG, TGA, PNG, GIF, BMP, IFF or PICT.

Cheers,

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image moosefetcher · Jan 06, 2016 at 06:39 PM 0
Share

I should have said, I'm importing a PNG. Do you know how I import it so I can use it? Cheers.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

33 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Git and Unity: best way to synchronize assets? 1 Answer

TextureImporter settings not applied 1 Answer

Where is the Unity IAP package located? 1 Answer

Importing png assets very slow 0 Answers

how to reset the settings of the Ethan animations that come with the standard assets package 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges