Overlay Texture no longer works(?)

Slate Forums Support Overlay Texture no longer works(?)

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2334
    gregori
    Participant

    Using Overlay Texture (on a dedicated Render track) on Unity 2021.1: the texture (png) shows up OK in playmode & editor, BUT fails to show up in the actual Windows build. What’s with that?

    #2335
    gregori
    Participant

    Issue reproduced again (and again) in builds with textures of varying sizes: nothing displays in a Windows build.

    Since overlay textures are such a staple in a game cutscene, this should be addressed.

    #2337
    Gavalakis
    Keymaster

    Hey. Hmm. That is weird. Just to rule out a few things, can you please test if the Rendering -> “Screen Fader” works for you in build (it pretty much uses the same code as the overlay image).

    Please let me know.

    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2341
    gregori
    Participant

    Yes, both Screen Fader and Overlay Text still work. Overlay Image behaves as should in editor playtime, but disappears in build…

    #2344
    gregori
    Participant

    Overlay Texture (png) also missing on Unity 2012.2.0f builds, so it’s not version-specific.

    Tried both default and Sprite/UI textures.

    #2346
    Gavalakis
    Keymaster

    Hello,

    Hmmm. Do you mean the png file is missing from the build and not included at all?

    If so it means that somehow Unity is not including it. Can you please try moving the png file in a “Resources” folder (which contents are always included in the build no matter of referencing them or not).

    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

    #2348
    gregori
    Participant

    Hello, I moved all png’s to Resources, but it still won’t show up in the build, so that doesn’t solve it…

    #2350
    Gavalakis
    Keymaster

    Hello again!

    I just tried a fresh project of Unity 2021.2 and a .png Image Overlay (not in resources just somewhere in assets folder) shows up fine in a Windows build. I honestly can not reproduce this issue but I haven’t explicitly tried in 2021.1 but rather 2021.2. Have you tried in any different Unity version other than the one you mentioned?

    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2351
    gregori
    Participant

    Thank you, I’m also using 2021.2, just updated to the latest subversion. Then it’s a local overlay issue on my rig. I’ll try to solve it somehow.

    Thanks again.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.