Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 drHogan · Jan 26, 2017 at 11:38 AM · 2dspriteswindows 10spritesheetcorrupted

Could building on Windows 10 corrupt sprites?

Hello guys,

I recently changed my working laptop and moved from Windows 7 to Windows 10 pro. I also moved from Unity 5.4.1 to Unity 5.5.1.

I am experiencing quite some problems in the build. Our game is all sprite based (we have quite some large spritesheets, and lots of UI sprites), all of them kept in POT format, but some as large as 4k and 8k.

On the old laptop i had no problem, in the new one instead (I also tried to roll back on the new one with the 5.4.1 version to make sure it was not a version issue, i get several sprites looking corrupted in the build (in the editor they have no problem). You see below that some of them disappear, create some weird issues with colors (i noticed some even having some pieces of other sprites superposed, as the image attached, where instead of the tower shadow out of the right spritesheet, i get the right sprite shape, but showing some different scales out of the dogs animation sheet)alt text

Any Idea on what might be the cause? I tried with a single sprite, copying it from the game folder, cancelling it from the project, and reimporting it, and it worked, but doing that for all the non working ones (specially the animation sheets) is a killer that i would try to avoid as it would take days to locate then and change them. Specially because in the editor everything works fine.

Cheers, H

alt text

sampleerror.png (370.7 kB)
sampleerror2.png (292.1 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 tanoshimi · Jan 26, 2017 at 11:52 AM

I doubt it's related to Windows 10; it sounds much more like a result of the upgrade to Unity 5.5.

Specifically, from your description of the editor/playmode difference, and the wrong textures being used on sprites, I'd say this relates to your sprite atlases needing to be recreated. We experienced a somewhat similar issue - it seems that the atlas packing policy is not entirely deterministic between different Unity versions, and it's easy for the sprite metadata to become desynchronised with the atlas texture itself when upgrading.

Have you tried removing and rebuilding the AtlasCache library folder?

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 drHogan · Jan 26, 2017 at 12:30 PM 0
Share

Hi @tanoshimi ,yep, I tried to completely clean the library folder, and let it recreate it in the project completely, but nothing changed. What made me thing it might be related to Windows 10 is that i took the original folder from the old laptop and Unity 5.4.1 on this computer, installed Unity 5.4.1 and then built, and I had exactly the same issue, that I don't get ins$$anonymous$$d on the old laptop.

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

Scale down spritesheets without breaking anything else 0 Answers

Can Normal maps be used to create a 2D sprites lighting system? 2 Answers

Fast Sprites Extraction from Sprite Sheet 0 Answers

How can I key out (remove) a color from a spritesheet (2D)? 1 Answer

Is there any benefit to slicing in power of two dimensions inside a sprite sheet? 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