Texture of GUI node invisible in runtime/build, but visible in editor

Worked on my pc. Windows:) :thinking:

1 Like

maybe something with your pc.
Reboot?
Also try to clear build folder and rebuild.
Is that happened when you do bundle or html build?

1 Like

Oh my :confused: I am on WIndows 10 64bit

Bundled zip is not working on my laptop either:
GUI_repro.zip (2.4 MB)

I will try reboot and clear now.

bundle also worked :thinking:

1 Like

Restart and clearing didn’t help in both my project and repro :frowning:

What if you build for HTML5?

1 Like

@britzl it is working fine on HTML5, so I guess, issue with my Windows?

It’s a driver issue or something similar. Which version of Defold are you using?

1.2.183
Editor: db55f3faa6347a66d60715dddd9663687d54ceed
Engine: f77b7f655a0ba68462f6c33604bed7000018735f

When did it stop working?

What if you use a sprite instead of a gui box node? Same thing?

Hmm, can’t say exactly, I noticed it this month, tried to figure out what’s going on on my own for a long before I created the post.

Sprites have no such problem with those atlases.

Could you open up a bundled win32 binary in renderdoc and step through the draw calls? It’s might be a bit tricky to find the exact sprite that’s broken but if you start by getting it up and running in RD we can take it from there

2 Likes

I will try to do this tomorrow :wink:

2 Likes

Ok, when launching application in RenderDoc it is… visible. But the same application executed in Windows has the problem. I am confused :confused:

I’m not yet familiar with RenderDoc to figure anything out, but here’s the captured frame:

Captured_1.zip (5.8 MB)
(I need to optimise usage of layers here :sweat_smile:)

If there is anything I can do in RD or so, please let me know :wink:

For now, the only workaround I could think of is removing problematic atlases.

When I am using only one atlas in gui, everything works fine.

Guys, today I noticed this is also happening with sprites… I know I should pack as much as I can in one atlas, but this is not convenient sometimes and is not helping with batch calls regardless, so I think it should work in both runtime and editor build on Windows.

I submitted the issue:

1 Like

Thank you. We will look into this.

1 Like

Thank you so much!

This is additionally really, really weird:
The sprite (that I noticed is not displayed) is now showing up after I change screen to some other gui!

1 Like

Could you pls turn-on this checkbox and show what “INFO:GRAPHICS” logs you have on the machine where you are able to reproduce the issue.

1 Like

Pls check this recommendation as well Engine building error?(SOLVED!) - #29 by AGulev

1 Like