herbix / hoi4modutilities

A VSCode extension that contains utilities for Heart of Iron IV mods developers
MIT License
74 stars 9 forks source link

version 0.11, Preview World Map freezes on State view mode after a few seconds #81

Closed BobbertCanuck closed 7 months ago

BobbertCanuck commented 7 months ago

As it says on the tin, I open the World Map Preview and I set the view mode to State. After I hover over a few different states it locks up. It's not VS Code since everything else works fine. It's just the World map Preview that locks up. Such a shame too, I was really hyped when my buddy told me that 0.11 added rivers to the map preview.

herbix commented 7 months ago

I can't repro this on my side. Are you viewing the map from original game, or from any mod? You can try close and reopen world map preview to see whether it works. If it still exists, can you please paste the console logs from developer tools when this happens? Developer tools window can be opened from help menu.

image

BobbertCanuck commented 7 months ago

Hello, thanks for the speedy response. It hadn't crossed my mind to check vanilla and sure enough it was working when I had vanilla's folder open. The issue was only operating when I was using state view with the mod I was working on.

After checking the dev console as you suggested I found a few things in the console which led me to figure out what was causing the freeze. I will still send the console logs to you regardless at the end of this post.

I was lacking general_stuff.gfx and resource_strip.dds After I added these files to their respective places it started to work as intended. We weren't planning on changing those files so we hadn't added them to our mod.

Strangely though, of the coders on the mod who've gotten a chance to try this, I was the only one who was having the freezing problem, The buddy I mentioned previously and I had a back-and-forth regarding the freeze and he said it was all working fine for him, so I find this just a bit strange still.

anyways, here's the console log stuff that popped up when the map freezes were happening: console_log_i console_log_ii console_log_iii console_log_iv

I'd be happy to close this but there's just something about the fact that my friend was having no issues where I was having issues that strikes me as odd.

herbix commented 7 months ago

Please keep this issue open. I'll fix it in next version.

Thank you!

herbix commented 7 months ago

Fixed in 0.11.1.