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"

UMG can't draw 2 images in packaged build.

When I package my game as a debug build ( 64 bit ) I notice that slate/umg has trouble rendering 2 images on top of each other that belong to the same widget.

So the setup is something like an overlay with 2 images as children.

All you see is an white image.

alt text

Product Version: Not Selected
more ▼

asked Aug 15 '14 at 04:02 AM in Bug Reports

avatar image

149 12 16 22

avatar image ryuikuya Sep 22 '14 at 05:52 AM

Can I know Which version engine are u using for UMG package

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

1 answer: sort voted first

The all white image indicates that it's missing from the package. Some how the cooker couldn't determine that it was needed. Anything special about it?

more ▼

answered Aug 15 '14 at 01:26 PM

avatar image

Nick Darnell ♦♦ STAFF
6k 77 37 151

avatar image Osman Aug 15 '14 at 01:32 PM

It got fixed when I deleted some UNUSED slate brushes. The one in particular that I suspect might have had wrong import settings( set to skybox for some reason ). But the odd thing was that it wasn't used in any of my widgets but it still messed up the other widgets.

avatar image Osman Aug 16 '14 at 04:29 PM

Ok after 2 days I can confirm that it seems pretty much random. Everytime I package some other widget turns white.

avatar image Nick Darnell ♦♦ STAFF Aug 18 '14 at 02:11 PM

Hmm, can you post/send the package/cooking logs? Maybe there's something in there.

avatar image Osman Aug 22 '14 at 04:31 AM

Hey nick, sorry for the late resoonse, here is the log. Let me know if this is what you were looking for :) http://gameartist.nl/wp-content/uploads/2014/08/cooklog.txt

avatar image Nick Darnell ♦♦ STAFF Aug 22 '14 at 11:21 AM

Thanks! Do you happen to know the name of the texture and the brush that didn't load from this particular cook? I'm going to try to build a test case to reproduce this, are your textures just in slate brushes/styles, nothing else special about them?

avatar image Osman Aug 22 '14 at 03:19 PM

Hey, here are the names of my textures: http://i.imgur.com/3RPZbum.jpg

And the names of the brushes: SBWindow SBWindowOuter SBDeathInfo SBInfoBox SBDarkGroup

The textures I've got from unrealengine folder( content/editor/slate )

And the weirdest thing is, that it seems totally random. Sometimes NONE of my widgets will look proper but then when I change/edit/delete anything in ANY widget, the others will start to work. Sometimes just 1 randomly breaks. Very odd. Thanks for helping out! I'll today if I can replicate the problem in a fresh project and send it to you.

avatar image Nick Darnell ♦♦ STAFF Aug 22 '14 at 03:21 PM

Cool will take a look. Yeah if you manage to replicate it that would be awesome.

avatar image Osman Aug 27 '14 at 02:19 PM

Hey Nick, I tried to recreate the issue but it really seems random at this point. Also, might be useful to know for you: it also happened with my crosshair texture( which is not using UMG, it just old-school canvas drawing ) so yeah, no idea what is going on :)

avatar image Crinity Oct 29 '14 at 03:26 PM

We're also seeing this issue with UMG. Random textures appear as white. Do UMG textures get packed into atlases? Are there hard limits on atlas size for UI items?

Interestingly, this happens on cooked builds on iOS but not on our direct-to-device builds for Android - all UMG textures appear correctly when we package a build to Android directly from the editor.

avatar image Nick Darnell ♦♦ STAFF Oct 29 '14 at 03:29 PM

They're not atlased currently, it's a performance issue we're going to need to tackle soon'ish. What you might be seeing is the textures failing to load because they are non-power of 2. You can work around it by making them uncompressed textures, TC_EditorIcon in the texture details panel on the I think compression property.

avatar image Candy_swift Aug 23 '15 at 08:04 PM

Thanks a lot!

(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