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 mrwmrutski · Aug 22, 2018 at 08:33 PM · inspectorspriterendererdrag-and-dropfailure

Cannot Drag / Drop png into Sprite Renderer

Hello All, if anyone has any input as to why something so simple is failing. I am following a training video. He provides 3 PNG files to replace Cube and Sphere GameObjects. He said to remove every Component for both Objects, leaving only Transform and the Controller Script assigned in the Inspector.

I have them imported from Assets> Import New Assets and sitting in my Assets panel. I select Cube in the Hierarchy> click add Component> scroll down to Renderer> select Sprite Renderer. I should be able to now just drag anyone of the 3 provided PNG`s onto the first drop box that says None(Sprite). None of the files load. I Imported a JPG and a PNG of my own add they also failed to load.

If I single click on any of them in the Assets Panel. They appear in the lower preview panel in the Inspector Import settings. Showing 64X64 size and RGB Compressed value. This should be the easiest step in the entire lesson but all I get is the little blue crossed out circle when I go to move them. But I can drag a script to any object ???? It is not life threatening but WHY it wont do something so easy is really bothering. Any info will be much appreciated ...Thank you for your time...Peace

Comment
Add comment · Show 2
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 TreyH · Aug 22, 2018 at 08:35 PM 0
Share

Are you dragging a Texture or a Sprite? There's a key difference.

edit: If you're dragging the entire image, then you might first want to confirm that the image is being imported as a Sprite sheet and that Sprites have been created from it.

avatar image mrwmrutski TreyH · Aug 22, 2018 at 09:34 PM 0
Share

I figured it out or what He in the video did not include...... He failed to mention I needed to change Texture Type from Default setting to Sprite (2D and UI) in the Inspector and click Apply.

What the "$$anonymous$$EY" difference is between the two, I still don`t know and you could have filled that part in. I did figure out how to get them to be accepted and now I can move on to sorting layers. Good day...........

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by mrwmrutski · Aug 22, 2018 at 09:35 PM

I figured it out or what He in the video did not include...... He failed to mention I needed to change Texture Type from Default setting to Sprite (2D and UI) in the Inspector and click Apply.

What the "KEY" difference is between the two, I still don`t know and you could have filled that part in. I did figure out how to get them to be accepted and now I can move on to sorting layers. Good day...........

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
0

Answer by mrwmrutski · Aug 22, 2018 at 09:11 PM

I can only answer it is a single image he provides, not a sheet. I had to go to Asset> Import New and bring in each 1 at time, the came in as each one there own separate image. I can also add He in the video called them spites. I am following along learning as I go. So I am a novice and not completely correct with all the terminology or differences between the two.

But doing exactly what I seen him do, I can not replicate it in my version of Unity. He is using the same PNG file image and moving on to create sorting layers. While I can`t even get it to drop on the same location block in the Inspector that He is. Very frustrating...... any input??

Comment
Add comment · 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

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

95 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 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 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

Is there a quicker way to populate animated tiles? 0 Answers

Unable to drop GameObject in Inspector of other GameObject 0 Answers

How to find in what Scripts or components an Object is connected 0 Answers

How to make a field in inspector to pass events like "On Click()"? 1 Answer

Drag and Drop onto Array of Custom Objects 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