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
0
Question by thienhaflash · Jan 18, 2013 at 04:16 AM · 2diphone

Broken pixel for iOS build

Hello everyone,

I'm developing a 2D iOS game for my company. I used isomatric projection, and to make pixel perfect i already set camera.othorSize = screenHeight / 2 and this is working good inside Unity Editor and desktop build. But when i publish for iOS there are some broken pixels like the image attached here

Bad

This is what it looks like when export for Desktop / internal IDE

Good

I already try to disable anti-alias in quality settings, use int values for element position, use power of 2 textures, disable mipmap, use RGB32 ...

I'm i missing something ? The weirdness is it's working good for windows build and inside unity Editor. And the brokens buttons below are not assembly, it is one rectangle piece in the atlas just as the two buttons above.

I was even trying to offset the camera by 0.5f without any success.

Do you have any idea why this happens ? please help.

Comment
Add comment · Show 3
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 Mantas-Puida · Jan 18, 2013 at 08:29 AM 1
Share

It looks like atlas + filtering problem. Couple of ideas that might help: - adding 1-2 pixel padding in atlas between individual images - it seems that your UI quad / plane is slightly rotated and now texels don't hit only one pixel anymore. Check your UI object transforms.

avatar image thienhaflash · Jan 18, 2013 at 09:04 AM 0
Share

Hello $$anonymous$$antas Puida,

I've never rotate the buttons, their rotation are always set at (0,0,0), I check for their parents transforms also. I can see it in the editor inspector while the game run, still I think that's not the problem here as they are all run well in desktop / IDE

I do agree that dirty around might because the spacing is not enough, I will have a look at it, but for the buttons, I still not be convinced.

Anyway, thanks for your comment $$anonymous$$antas Puida !

avatar image Fattie · Jan 18, 2013 at 12:31 PM 0
Share

Perhaps just use 2DToolkit. It will save you an unbelievable amount of time, and it is totally set up from the bottom to top for "pixel perfect" work.

Just basically select "pixel perfect" in 2DT$$anonymous$$ - point filtered, uncompressed etc.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Lav-patel · Jan 18, 2013 at 09:03 AM

please change Texture Type texture to GUI and dont compress it.

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 thienhaflash · Jan 18, 2013 at 09:30 AM 0
Share

As I already tell above, I DO NOT compress texture, I used RGBA32

avatar image Lav-patel · Jan 18, 2013 at 11:45 AM 0
Share

Please use GUI and check it

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

12 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

Related Questions

2d game for iphone, use pixel perfect or not? 0 Answers

How to handle camera view for avoiding jerking. 0 Answers

iOS app crash randomly !!! 0 Answers

how to solve library not found for -liPhone-lib in Xcode? 0 Answers

World space to pixel space accuracy 1 Answer


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