Hello Guest

Author Topic: sprite preview window problem  (Read 4906 times)

skom

  • Newbie
  • *
  • Posts: 4
    • View Profile
sprite preview window problem
« on: May 03, 2013, 11:30:46 am »
hello,

i using 2d toolkit 1.92 + patch 1 version.

when created sprite gameobject,

inspector -> tk2dsprite (scpript) -> preview sprite window is not correctly display. only purple color.

screenshot:
https://dl.dropboxusercontent.com/u/25360057/error1.png
https://dl.dropboxusercontent.com/u/25360057/error2.png

plz, help!

ps :
no problem In [scene window] and [game window].
therefore, i think, sprite collection is correctly created.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: sprite preview window problem
« Reply #1 on: May 03, 2013, 11:37:44 am »
That is a built in sprite collection - it should work properly. Can you test it in an empty project, please?
What computer are your running this on?

skom

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: sprite preview window problem
« Reply #2 on: May 06, 2013, 02:58:02 am »
sorry. I'm late.

i tried in test empty project.  it displayed correctly at first.

umm.... 1 hour? 2hour? after, this problem occur.

also, i tried again three times. but occur same problem.

 is "What computer" mean Computer Spec?

running Computer spec
CPU : intel i5 750
RAM : 6GB
GPU : NVIDIA geforce gtx 550
OS : Windows7 64bit
« Last Edit: May 06, 2013, 03:11:34 am by skom »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: sprite preview window problem
« Reply #3 on: May 06, 2013, 11:03:11 am »
1. Are you sharing the project on dropbox, svn, etc?
2. Do you have meta files turned on?
3. After restarting Unity does it work again?

The only reason I can think of the material breaking like this is the GUID is lost. (if it is permanently broken). The thing is, if it has permanently broken I would worry about the rest of the state of your project. Best get to the bottom of this.

skom

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: sprite preview window problem
« Reply #4 on: May 08, 2013, 04:09:25 am »
1. no
2. i' don't know.....;;;
3. yes, also, after unity reinstall, same problem occur.

however, i find "this problem occur only Android Build Setting"  :o :o :o

it correctly displayed in WebPlayer Setting and PC, Mac and linux Setting, very well.

When switch Flatform to Android : Purple

When switch Flatform to PC : correctly display

in same project.

i using unity pro & android pro

I don't know the reason why;;;;
« Last Edit: May 08, 2013, 04:12:14 am by skom »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: sprite preview window problem
« Reply #5 on: May 08, 2013, 09:33:11 am »
Do you have anything set up in the graphics emulation settings?
This will happen if you somehow turn off shader support in Unity. Eg. Edit > Graphics Emulation > Generic OpenGL ES 1.1 (4 textures).

skom

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: sprite preview window problem
« Reply #6 on: May 08, 2013, 10:22:47 am »
ahhhhhhhhhhhhhhhhhhhhhhhhhh!!

at last, solved ;D ;D ;D ;D ;D ;D ;D ;D

I've seen android build setting tutorials on anonymous website, this seems to be the problem.

At any rate, thanks for your help ;D ;D ;D ;D

Your explanation really helped me a lot.