Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by Terry liu · Oct 09, 2010 at 07:47 AM · textureimportsizeheightwidth

Importing texture, problem with size - width and height get changed

I using Unity3D 3.0 ver now.But compare with Unity3D 2.6 ver this version import PNG files have some problem.

1.I want import a PNG file. This file size is 30*414 but when the Unity3D imported it,it will be show the size change to the 32*512 in the Preview in the Unity3D 3.0 ver. In the Widnows and in the Photoshop the size still 30*414.I don't know why the Unity3D to change the size.

2.Sometimes Unity3D 3.0 Load the PNG Alpha is incorrect. The PNG file is include the Alpha.We are use the same way to make the PNG files and same exports from Photoshop.In the Unity3D 2.6 ver these PNG files Alpha are correct. But in the Unity3D 3.0 ver are incorrect.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by duck · Oct 09, 2010 at 07:54 AM

Unity is automatically converting your textures to dimensions that are a power of two (i.ee 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, etc).

Unity 3.0 has slightly different behaviour for importing non-power-of-two (NPOT) textures compared with earlier versions, and its behaviour in this regard is described in detail on this page:

http://unity3d.com/support/documentation/Manual/Textures.html

As for the "incorrect" alpha channel import, you will have to give more detail about what in particular is incorrect. Just stating "incorrect" does not provide us with enough information to be able to help you.

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
avatar image
0

Answer by djnykk · Nov 17, 2011 at 06:26 PM

We are developing iOS (iPad) game and on some textures that were exported as transparent png alphas (24bit from Photoshop), in game some button graphics have small lines and graphics errors placed at top or bottom of texture. When reimport the same gfx used in game, Photoshop does not show any graphics incorrections. Those parts of the graphics has nothing in it... I can show you snapshooted examples and original png image we used for the game.

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
avatar image
0

Answer by Andronikus · Oct 02, 2012 at 02:44 PM

I fixed the PNG artifact problem by converting the textures to RGBA 32 bit. Crystal clear now.

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 ryf9059 · Apr 09, 2013 at 08:15 AM 0
Share

Did you convert that in photoshop or under the import setting? I choose compressino as RGBA but no use for me

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

"Non power of 2" Textures - How to access original size? 3 Answers

Texture loading problem: size, aspect ratio, and alpha 0 Answers

Finding size of texture GUI 0 Answers

Get GUI size 1 Answer

Object resolution 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