• 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 /
  • Help Room /
avatar image
0
Question by thornebrandt · Jun 02, 2016 at 08:07 PM · asset storetransparentpngphotoshop

PNG looks perfect inside of Unity. Weirdness ensues outside of Unity.

I purchased an asset that includes textures that work perfectly inside of Unity. Here is an example of the way the texture should look, and does look inside of Unity. Everything is great, right?

Wrong. I want to edit this asset, and no other program interprets the .png correctly. Not Maya, not finder, not a browser, not photoshop, not preview, not GIMP. The PNG taken out of Unity has no information in it except for the windows. If I attempt to resave this file, the information is completely lost.

You can open one of the files yourself and see that it appears white or transparent except for the windows. Here is a link to one of the files: http://pizzadog.org/posting/unity/Store.png

Now, for a magic trick, try dragging this file onto a cube in a blank Unity project. Everyone that I have shown this file to sees bricks.

I am seeking an explanation or a fix so that I can avoid this in the creation or purchase of future assets. The developer of this asset has been unresponsive. https://www.assetstore.unity3d.com/en/#!/content/7811

store-inside-unity.png (455.0 kB)
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 Static-Dynamo · Jun 03, 2016 at 01:56 AM 1
Share

While I have no answer for you I just wanted to say: Check the details, notice how the size of the png is 4096x4096? In unity it's only 2048x2048. The creator is probably doing some things to deliberately obfuscate the texture in order to make it so that it can't be used for other purposes. This is not that surprising as they likely don't want people buying their product, making $$anonymous$$or edits, then turning around, repackaging it and selling it as their own.

It's a cool trick I wonder how they did it.

avatar image thornebrandt Static-Dynamo · Jun 03, 2016 at 05:45 AM 0
Share

Yeah, I was wondering if it was some kind of DR$$anonymous$$. I would be comforted knowing for sure that this was intentionally done with a specific tool.

avatar image Static-Dynamo thornebrandt · Jun 03, 2016 at 06:27 AM 0
Share

They are definitely doing something strange and, frankly, interesting. I opened the .png you provided in a variety of editing tools and none of them showed the same texture that unity reads it as. $$anonymous$$orrow when I am back at work I will check to see how $$anonymous$$aya interacts with it. But my suspicion is that this person knows quite a bit about how unity interacts with textures and has probably created a system by which they can pack extra layers into a texture in such a way that unity can access and use everything but every other program cannot. This is not terribly surprising as it has proven exceptionally difficult for me to extract assets from unity projects. Putting things into unity is quite easy, but pulling things out to modify them without having the original files (i.e. the .fbx or .mb or .ma files) is very difficult.

Try it sometime, see if you can take a unity prefab and generate a model from it in $$anonymous$$aya, blender or the 3d modeler of your choice. It's quite difficult because unity is not designed to export things to other programs, only to be able to import things.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by thornebrandt · Jun 03, 2016 at 10:18 PM

I found a solution in Photoshop

Layer>layer mask>from transparency. Then right click on the image to disable the mask.

I still don't understand : 1. Why these pngs would have masks. 2. How to recreate a png that would retain mask information... or why?

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

58 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

Related Questions

How can I add alpha channel to this shader and how can I make the object to be transparent ? 1 Answer

Create a .png file at runtime and export. 1 Answer

Download stuck in asset store 2 Answers

I cannot access my purchased Asset Bundles in Unity! 0 Answers

Asset Store Submission Question 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