question

Me avatar image
Me asked

Unity 3D with ETC2, and Graphics Level ES 3.0 Don't Work

Unity does work with ES 3.0 but the sprites don't: http://forum.unity3d.com/threads/210577-Sprites-not-rendering-on-Android-devices Sprites are rendered in all white. The rest of the game worked, and looked good, but the sprites (Menu, and HUD) are solid white.
fire tv
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Me avatar image
Me answered
If you care to perform a sprite test here is an APK: http://1drv.ms/1fpJgaX The APK name on the Fire TV will be SETTINGS-RESET Or you can download the Unity (4.3.4f1) project: http://1drv.ms/1fpHzdD
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jhample avatar image
jhample answered
My sprites work perfect in ES 2.0, but have the same white issue in 3.0. Do you need 3.0 for something specific?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Me avatar image
Me answered
Yes, with 2.0 the sprites and scene does render but not nearly as good with 3.0. At this point it's a matter of getting the sprites working or converting back to textured quads. We initially started with textured quads but converted everything to sprites. . .looking ahead at another game under development. The sprites not working, something we should be able to code around, along with the media buttons issue is concerning. I was hoping to finish this up quickly and get the game out there.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
It seems like an issue in unity not the issue in Fire TV application framework.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Me avatar image
Me answered
We finally got the Sprites working on the Fire TV using ES 3.0 and ETC2 by adding a script to each sprite that set the mainTexture: [CODE] public class SpriteShaderSetup : MonoBehaviour { void Awake() { SpriteRenderer spriteRenderer = GetComponent (); if (spriteRenderer != null) spriteRenderer.material.mainTexture = spriteRenderer.sprite.texture; } } [/CODE]
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.