SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
88 stars 18 forks source link

some strange glitch when inventory opened #2127

Closed baranmod closed 3 years ago

baranmod commented 3 years ago

https://medal.tv/clips/38017301/d1337pM2EXc2

SDGNelson commented 3 years ago

If I understand correctly from the video it looks like the inventory grid images are flashing solid white. Doing a quick test I am unable to reproduce this unfortunately. I wonder: if you relog does it still happen? (to narrow down whether it is something straightforward to reproduce)

baranmod commented 3 years ago

not sure, tested on 2 PCs, same glitch on both. Can it be hardware related? I mean those 2 PCs I tested are basically identical

WCPistolPete commented 3 years ago

That's part of the artifact I referred to in my email to you. Also happens when mousing over buttons in menus where the text from another button flashes as a stretch-to-fit image over all other buttons and map images.

SDGNelson commented 3 years ago

Okay I have a hunch: since those grid sprites are tiled, and they are the ones flashing, I wonder if there is a frame when Unity gives them a bad tiling value. This would be a bug in uGUI, but we can probably work around it by enabling the image component the frame after the game object is activated. Will investigate.

baranmod commented 3 years ago

actually it disappeared after game restart now, for another PC it didn't tho

SDGNelson commented 3 years ago

Closing because IMGUI support is restored for players experiencing flickering in tomorrow's update.