Author Topic: Oddly Corrupted UISprites  (Read 3209 times)

DrLoomis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Oddly Corrupted UISprites
« on: December 14, 2013, 06:12:50 PM »
One of the players of my game (www.thenovelistgame.com) is getting a very odd corruption issue with UISprites. In the game, the player can look at drawings that are displayed by putting a simple UISprite in the middle of the screen. The sprites are all in one shared atlas, and it works fine for everyone on earth except this one player.

When this player displays drawings, he gets bizarrely garbled image, which is attached to this post. This occurs on all of the sprites, not just a single one.

The weird thing is that it's showing stuff from completely different places. The two images in the top half of the image (the gray paper texture and the loading screen) are from a different NGUI atlas.

But just under that are inverted file names in the format you get when you take a screenshot by pressing Cmd+Shift+3 in OSX, which is totally weird b/c that's not even from inside the game. And below that, I have no idea what's showing. The color of the textures makes me think it's displaying a garbled version of some lightmaps, which is totally weird.

Anyway, I'm completely stumped by this. No other player has reported it, and this very simple setup of UISprites on screen has been stable and working for probably a year now.

By the way, this is a game running Unity 3.5.7 running NGUI 2.7.0. I don't know which version of OS X the player is using, but I've sent him an email to find out. The randomness of the images makes me think it's almost some sort of weird graphics card overheating issue or something bizarre like that, though it only seems to affect NGUI, not the rest of the game.

If anyone has any thoughts on what would be causing this, I'd greatly appreciate your help.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Oddly Corrupted UISprites
« Reply #1 on: December 14, 2013, 07:24:25 PM »
Stuff like that is always due to a hardware issue. Most common case -- low level explanation -- is the wrong texture gets bound and used. Why this happens for him? No idea. But it would be something internal to how Unity interacts with his hardware, and nothing to do with NGUI itself. All you can tell that guy is to upgrade his videocard drivers.