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 Steven-Walker · Apr 20, 2012 at 06:10 AM · textureiphonecompressionpvrtextool

Failed to generate PVRT texture

With Unity 3.5.1 using the new Best mode for iPhone PVRTC, I'm encountering the errors:

 Failed to execute /Applications/Unity/Unity.app/Contents/Tools/PVRTexTool
 Failed to generate PVRT texture

These occur with certain textures (but not all) and I'm not sure why. When it happens I have to fiddle with the texture import settings, applying different settings until the error goes away. But sometimes it's more stubborn than others. Is there a workaround for this?

UPDATE: Well this has gotten more interesting. I found a specific texture that fails to compress no matter what I do. I'm on Mac OS X if that matters to anyone. I've uploaded a completely stripped down project that includes 1 texture that works and another that fails, though their import settings are exactly the same. I'm not even using the iPhone override settings. I think this must be a bug with PVRTC. I'm going to submit this as a bug to Unity, though if anyone has any fixes or suggestions it would be most appreciated. I'm going to try rearranging the content of the texture in question to see if that fixes the issue.

Download Project File: http://dl.dropbox.com/u/9988355/PVRTCompressionFails.zip

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 pjezek · May 01, 2012 at 11:18 AM 0
Share

did you file a bug report to unity? Just had the same issue and would thank for the answers :-)

5 Replies

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

Answer by joe.davis · Apr 25, 2012 at 11:42 AM

We've pushed a fixed version of PVRTexTool to our website that should fix this problem: http://www.imgtec.com/powervr/insider/powervr-pvrtextool.asp

If you find any other bugs related to the compressor, please let us know on our forums (http://www.imgtec.com/forum/default.asp - it's easier for us to track issues here :) )

Comment
Add comment · Show 4 · 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 Steven-Walker · Apr 25, 2012 at 03:35 PM 0
Share

Awesome! So far so good. For others on $$anonymous$$ac OS X wondering how to install this... Download the latest PVRTexTool. Find Unity in your Applications folder and Show Package Contents. Copy 'PVRTexToolCL/$$anonymous$$acOS_x86/PVRTexTool' to 'Unity/Contents/Tools/PVRTexTool', replacing the old one.

avatar image Steven-Walker · Apr 25, 2012 at 03:44 PM 0
Share

Thanks guys for getting this fix turned around so quickly. $$anonymous$$uch appreciated!

avatar image DaveLloyd · Jul 12, 2012 at 01:48 PM 0
Share

I had a similar problem: symptom was missing mip map levels (usually either 0 or 1). Only importing manually did I see the error with the PVRTexTool. Thanks for fixing this - replacing the PVRTexTool fixed the problem!

avatar image Fattie · Aug 05, 2012 at 06:31 PM 0
Share

Dear @joe, you may be interested in this question, thanks!

http://answers.unity3d.com/questions/296789/pvrtextool-needs-x11-.html

avatar image
0

Answer by Wyern1 · Apr 20, 2012 at 11:54 AM

Happens to me as well, seems a new bug

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 Simon-F · Apr 25, 2012 at 10:50 PM

Hi guys, FYI Imagination Technologies has just released updated versions (build "2.10.87.4981") of the PVRTexTool and compression libraries which fixes this bug.

I think Unity might be using these libraries. It might be worthwhile seeing if you can replace the old ones.

On another note, Steven, I noticed (by using PVRTexTool and turning off alpha display) that in your "FailsToCompress" example there are lots of very, very nearly transparent texels with utterly bizarre colours. For example, the texel@ (123,1045) is bright red (with an alpha of 1) and similarly the texel@(129,1061) is bright yellow (and again nearly fully transparent). These are markedly different to all the neighbouring texels.

Is that really intentional? It's just that compressor will do its utmost to represent the colour of these odd pixels++ (even through they'll probably be invisible), at the expense of the quality of their neighbours. If these strange pixels could be adjusted to better match the surrounding pixels, the compressor should do a much better job.

Simon

++The compressor has to do this because some applications use don't use the alpha channel for translucency.

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 alexzpopov · Jun 06, 2012 at 07:32 PM

setup X11 on u mac os x!

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 Berenger · Jun 06, 2012 at 07:43 PM 0
Share

I would have moved your comments under the proper answer, but it doesn't seem to fit anywhere. Could you do it yourself ?

avatar image
0

Answer by Mickman · Aug 17, 2012 at 09:31 AM

thx for that.. got me outa the poo ...

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

11 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

Related Questions

Is it possible to compress textures per device 0 Answers

Why the "target texture" option is enabled in Unity iPhone Advance for all the cameras? 3 Answers

Alpha 8 to save Texture size? 4 Answers

Get a portion of a Texture2D to another Texture2D 1 Answer

what i supposed to look forward if am going to make Android game ? 3 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