Closed Revonlieke closed 1 year ago
Hello, Thanks for the report! I'll be looking into that error. Regards
Hello @Revonlieke, Does this crash keeps happening? I've checked the Yak Milk item you mentioned, using the "Loot search" option on the context menu and it worked. Could you provide the log file where you got that unhandled exception you attached? That way I can check where in the code this error could have happened. Regards.
Crash occurs if you already have an imgui window open
the erroring function is from the ImGui.TableSetupScrollFreeze
at https://github.com/danielbrenom/MonsterLootHunter/blob/main/MonsterLootHunter/Windows/PluginUI.cs#L181
Yes it's the same as above^^ sorry for not responding sooner.
Thank you both so much for this report! I'll look into it right away.
Hello @Revonlieke and @Scrxtchy , Dalamud should deliver a new version of the plugin with a fix I've made. I'd like to ask you to test it when it's available and report if the issue was solved. I hope that it was. Regards.
I cloned the repo and built it myself from 37fc6b764dedcc1594f313bf0c7a445e79d1cab5, still facing the issue on the same line
These lines are different for me. Otherwise the same error still happening.
Thank you for reporting. The strange thing is that I wasn't able to reproduce this error. I've opened a different plugin window (and even MLH window) and did the loot search. As this seems to be happening cause of the table freeze, I'll remove it, the header being frozen is not that important.
I've submitted the hotfix removing the column freeze from the UI. I hope that this resolves the issue and stops prevents your game from crashing. Sorry for the inconvenience. I'd like to ask you again to test it when it's available and report if the issue was solved. Regards.
The hotfix is avaiable on the plugin installer. Will be waiting feedback if it was solved.
@danielbrenom this patch is working for me, nice job 🎉
For me it has not. (removed some of the personal info from the file & modules section.)
It COULD be some conflict with another mod maybe.
I'm starting to think that this could be a conflict with another mod, even though it shouldn't, as this is simply ImGui trying to render the table and failing to do so for some reason. It's even more troublesome that I wasn't able to reproduce this until this very moment. I've received some feedbacks about the plugin making the game crash, but none of the steps that were provided me got me to reproduce it :( I'm trying to understand what's happening but still am unable to do so. I'll keep trying to solve this issue completely.
After some insight from people at Dalamud server, I've did some modifications on the code. I hope that now this issue is gone for good. If the plugin rendering now fails, as it seems to be the case, then it'll suggest using the legacy rendering strategy which I scrapped in favor of the current one. I hope that this fallback is able to make it render without issues if the default one fails. As soon as the plugin is updated, @Revonlieke I'll be waiting for feedback if it indeed solved it. Regards.
Now it works, no issues. Good stuff! Thanks a lot for fixing it. :)
Seems to be crashing the game when searching from context menu. "Yak Milk" for example crashed the game.