2D Toolkit Forum
2D Toolkit => Support => Topic started by: Zama Games on July 26, 2013, 03:06:09 pm
-
Hi, on one of my projects after some time the sprite picker stopped showing sprite thumbnails. When you select a sprite in the scene, tap on the sprite thumbnail, this popup opens, allowing you to select another sprite for this game object. Atm this popup shows empty rects with checkers-style bg.
The reason might be that I am using a huge sprite collection with 400+ sprites which is also multi-atlas and stores all stuff in 21 textures, 1024x1024. However, even if I select sprites from different sprite collections, but in the same project, the thumbnails still don't show.
This problem slows down my work now significantly, since it was so much easier to find sprites by looking at the pictures, not just reading names..
I am using the 2.0 version, just re-imported 2dToolkit and the problem is still there.
-
What platform have you selected? Do you have any graphics emulation mode set?
-
Target platform was Mac, now I switched to Android and the thumbnails still don't show. I am on a Windows machine.
What is graphic emulation mode? Where does one set it?
-
Edit > Graphics Emulation
-
Ok, found the reason: if the option "Use Direct3D 11" for Standalone builds, the thumbnails aren't shown.
The graphics emulation was OpenGL ES 2.0
I turned off "Use Direct3D 11", and it now shows fine. Strangely enough, this problem happens even if the target is Android.
-
I'll take a quick look at this. Unity 4.2?
-
Yes. Also, just checked, I have DirectX 11 installed. In the window title of Unity, while "Use Direct3D 11" was checked, it showed
"DX11 on DX9 GPU"
Actually, I have Unity 4.15f1. Just checked for 4.2, nope, it says I have the latest Unity version.
-
Oh. Could be a bug with DX11 running on DX9 hardware? What gfx card are you using?
-
It's AMD Radeon HD 7670M
-
What does it actually draw on your computer? Nothign at all? Pink boxes? Does it draw pink boxes if you set emulation mode to directx7 (it should)?
-
Indeed, with DirectX 7 emulation it draws Pink boxes. But in that case of mine it was just empty, i mean checkerboard white/gray and no sprite over it.
-
How bizarre. I've not seen this issue on any config so far. Do you have access to any other computers? If you do, can you please try your project on another install - I'm hoping something got corrupted in your install...
-
I have a MacBook as well, and haven't seen the issue there. Anyway, I'll let you know if I get any other info. May be just some issue with my graphic card or the drivers for it.