Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 Dreadflame · Oct 15, 2016 at 04:34 PM · texture atlas

What's causing bad textures in build (but not in Editor)

I have a fairly large project, and I'm running into a serious problem with textures in Unity builds. These problems never occur in the Editor.

Some textures used on character meshes come in scrambled, as if they're coming from atlasses that are bad. Also, some textures loaded from the resource directory piecemeal are also scrambled. Other icons and textures using the same shaders are perfectly fine.alt text

The problem is completely deterministic: the same models and resource icons are scrambled each time, from build to build, and are even the same on a different machine with the same project built from scratch.

This problem originally appeared in Unity 5.3. I upgraded to 5.4.1, but it did not fix the problem. Rebuilding the library, restarting the computer, etc. have no effect (again, this problem appears independently on two different computers, one running Windows 7 and one running Windows 10).

Help!

texture-problem-on-m3d-2.jpg (372.2 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Dreadflame · Apr 02, 2019 at 05:42 PM

Two and a half years later I have the answer! With a large game, I had a lot of assets being loaded from the Resources directory. In the old Unity there was a hidden 2GB limit on assets in the resources, and this problem will persist even in Unity 2018 (at time of writing, April 2, 2019).

The solution is to move your various avatars and heavy textures, etc., into asset bundles and load them from there, instead of the Resources database. This will fix the problem.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Using TexturePacker for Texture2ds 0 Answers

1 x 8192x8192px texture atlas VS 32 x 1024x1024px individual textures 2 Answers

Can you use a texture atlas as a colorpicker? 1 Answer

Texture Atlasing only beneficial with Batching? 0 Answers

More materials smaller texture size vs less materials bigger texture size 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