yairm210 / Unciv

Open-source Android/Desktop remake of Civ V
Mozilla Public License 2.0
8.39k stars 1.56k forks source link

Icons missing in research and production #10375

Closed TheKingOfLight closed 2 months ago

TheKingOfLight commented 11 months ago

Platform Linux Mint 21.2, 4.8.14, 64bit.

Version From Flathub, Build 924

Describe the bug Sometimes some icons of units and buildings may be missing. The icons are missing in research and production. If they are missing, they are always the same icons. The icons of the units are displayed correctly on the map.

This can be fixed by often rejoining the game (Exit and reload save).

To Reproduce Steps to reproduce the behavior:

  1. Start a game
  2. Icons can be missing (in about 4/5 cases?) or
  3. Leave a game (with missing or existing icons)
  4. Start the game again
  5. Icons can be missing (in about 4/5 cases?)

Expected behavior The icons should not be empty

Screenshots grafik grafik grafik grafik grafik

Additional context Happens in single and multiplayer Happens in all the languages I have tried (English, German) Some friends have also missing Icons

Missing icons: Shrine, Composite Bowman, Terracotta Army, Amphitheatre, Petra, Grear Mosque of Djenne, Grand Temple, Galleass, Alhambra, Leaning Tower of Pisa, Privateer, Gatling Gun, Great War Infantry, Triplane, Great War Bomber, Neuschwanstein, Machine Gun, Landship, Marine, Recycling Center, Bomb Shelter, CN Tower, Hubble Space Telescope.

SomeTroglodyte commented 11 months ago

Same thing I told you about Guilds: Where is the pattern? How could I reliably reproduce? As it is, I've seen something similar, but only for mod icons, never for built-in stuff. Is it maybe a flatpak/accessing jar-packaged resources thing? Can you run Unciv without the flat-kludge? For that matter, can you somehow run Unciv with console logging? I do not touch flatpaks with a 10-foot pole, so I have no idea whether one is allowed to pass arguments to a java command line...

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.

Anon177013 commented 3 months ago

I'm having this issue right now. It appeared after loading a manual save from 200 turns before (turn 347 back to turn 147). I'm not sure what exactly triggered it though.

Basically some units and buildings icons are missing everywhere they should be (tech tree, city screen, overview, civilopedia etc), some luxuries have a white background (instead of yellow), and some civilizations and natural wonders icons are missing in the civilopedia. It seems it's only the ones from G&K though, not the Vanilla ones (and I think all of them, not sure though).

Also, if I reload the same save, the issue is still there. If I go back to the main menu, then load it again, it's still there. But if I go back to the main menu, go to start a new game, go back, then load the save, the icons are back. Then if I go back to start a new game, change rulesets from default G&K to Vanilla, then load the save, they're missing again. Actually the behavior can be reproduced with these steps : Start a new game with G&K rulesets. Save manually. Go back to menu. Click start a new game. Change rulesets to Vanilla. Go back. Load saved game.

It's on Android, version 4.12.6-patch1, no mods, G&K rulesets, on a map created and slightly modified with the editor.

EDIT : Screenshots below. Also, I was already having this issue around version 4.8.11, probably even before that.

Also I haven't closed the game for now, not sure if the issue would still be there if I close and reopen. Is there anything else I should test first ?

Screenshots ![Screenshot_20240701-235317](https://github.com/yairm210/Unciv/assets/146986415/d0180899-83f7-4442-ae61-137b050cf262) ![Screenshot_20240701-235325](https://github.com/yairm210/Unciv/assets/146986415/08bb77d4-eb9b-4147-a62a-003f2f32f616) ![Screenshot_20240701-235449](https://github.com/yairm210/Unciv/assets/146986415/fe33a769-087e-404a-b6d2-517d8ec4684a) ![Screenshot_20240701-235523](https://github.com/yairm210/Unciv/assets/146986415/03a345af-86cd-49b9-9174-137090e272b6) ![Screenshot_20240701-235549](https://github.com/yairm210/Unciv/assets/146986415/a9440593-4c0b-4be1-8310-6ab73496a3d2) ![Screenshot_20240701-235615](https://github.com/yairm210/Unciv/assets/146986415/59239d91-5513-4c86-8e8f-916fa37e907e) ![Screenshot_20240701-235623](https://github.com/yairm210/Unciv/assets/146986415/07abbe56-2ee8-4757-8341-83c08d52b475) ![Screenshot_20240701-235633](https://github.com/yairm210/Unciv/assets/146986415/f028f197-c040-4336-b36d-c5e46c1fc4c2) ![Screenshot_20240701-235643](https://github.com/yairm210/Unciv/assets/146986415/f664d79e-1a4c-45a3-b4aa-5b33a7c8d038) ![Screenshot_20240701-235724](https://github.com/yairm210/Unciv/assets/146986415/c5a9faf5-c592-4265-bbd0-24e32dc0a196) ![Screenshot_20240701-235746](https://github.com/yairm210/Unciv/assets/146986415/640a23d0-1cc7-4c55-a1ba-1a941114138e)