x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Why Tappy Chicken textures appear black in certain devices while Epic Citadel run perfectly?

These are screenshot from Andy (android emulator), where Epic Citadel run perfectly while Tappy Chicken textures fails. I remember seeing this black textures also in a Samsung SII.

These bring me concerns about my current project I'm trying to make a 2D game for Android, I can't find good guide about texture format. What I should choose and how I tell the engine to use certain texture format like ETC1 or so.. I feel a little lost.

alt text alt text

Product Version: Not Selected
Tags:
more ▼

asked Dec 16 '14 at 11:18 PM in Bug Reports

avatar image

piXelicidio
695 32 37 150

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Not sure what could be causing the black textures.

Depending on what engine version you are on, the Launch On menu in the editor may or may not let you choose a texture format (recently we made it auto-select the best for the device).

You can always use the File | Package Project option to force a texture format while cooking. In there, you can choose ETC1. Then, in the directory you choose during packaging, will be a .bat file you can run to install it on your devices.

Josh

more ▼

answered Dec 17 '14 at 03:38 PM

avatar image

joshbadams STAFF
1.3k 19 7 46

avatar image piXelicidio Dec 17 '14 at 03:59 PM

Hi, thanks for your reply! (working with 4.6.1 binary)

I'm just now playing with texture properties and found that checking "Compress Without alpha" makes the texture visible (while it lose its translucency of course). Maybe this bring some light.

About packaging a project for android, I will try that, but I confess still don't know how to copy manually the files to my device and run it ;) Currently I'm using "launch" from the editor and it detect Andy Emulator as a device connected. (That's cool :D)

avatar image piXelicidio Dec 17 '14 at 04:01 PM

oh... you mean I run the .bat from Windows and it will detect and install the game to my device?

avatar image joshbadams STAFF Dec 17 '14 at 04:52 PM

Yep, just double click on the .bat file :)

avatar image piXelicidio Dec 18 '14 at 02:04 AM

Great! It get installed! But textures keep showing black, tested with every format... While Epic Citadel keeps doing well.

What texture format should I use to reach most devices? Where I find info? Thanks.

avatar image [Epic] Gribbs ♦♦ STAFF Dec 18 '14 at 04:01 PM

Howdy piXelicidio,

Just had a couple more questions about the issue that you have been running into. Is the Screenshot with the black textures Tappy Chicken or is that your project made with a 2D template?

Thanks!

avatar image piXelicidio Dec 18 '14 at 04:49 PM

Hi Sean, The screenshot with black textures is official Tappy Chicken from Google Play. Also notice this is not a "real" device, is Andy emulator (http://www.andyroid.net/). When I test my project using Paper2D have same black textures or full black screen, showing only PrintString texts.

I saw the same problem with an old Samsung Galaxy SII SGH-i777, but I don't have it at hand now.

I'm personally interested into finding a fix to this, if possible, to know that my simple 2D projects will run everywhere. :)

Regards.

avatar image piXelicidio Dec 18 '14 at 04:52 PM

... or at least know why Epic Citadel runs perfectly while Tappy Chicken fails. Maybe something changed form UE3 to UE4 in detriment of 2D graphics.

avatar image joshbadams STAFF Dec 18 '14 at 04:57 PM

(Answering a few questions with this post)

  • ETC1 will work on all Android devices that support UE4.

  • We haven't done any work in particular to support emulators, so I really don't have much to say about how well they will work

  • We expect Tappy to run on pretty much anything, there is no lighting, render target switching, etc etc.

  • Textures with alpha will be uncompressed when you cook for ETC1 format (so nothing should ever go wrong there).

  • I'd be interested to know your results with ETC1 on that Galaxy device

  • UE3 and UE4 are so completely different when it comes to rendering, that there's no real point in comparing them. Not a single line of shader code is the same.

Josh

avatar image piXelicidio Dec 18 '14 at 05:15 PM

Of course there is no sense into spending energy into supporting emulators ;) I just had the idea that changing a small setting it could be fixed.

Your answers made me feel better since I have 0 experience developing for mobile and knowing ETC1 is the way to go is good.

If have the opportunity to replicate again this issue in a physical device I'll let you know.

avatar image [Epic] Gribbs ♦♦ STAFF Dec 26 '14 at 04:41 PM

Howdy piXelicidio,

Just wanted to check in with you and see if you had a chance to test this issue on a physical device. If the issue still persists, please be sure to let me know so that i may be able to further test this issue.

Thanks and have a great day!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question