Better Statistics Screen

Better Statistics Screen

21M Downloads

[v2.9.3+fabric-1.19.2] [AOF6] Entity rendering

KindofStraange opened this issue · 5 comments

commented

I opened statistics for the first time and immediately upon closing the view screen, all entities were unloaded, including player character, 1st person hand model, everything. Playing AOF6 with heavy modifications but the timing was too accurate and i had never opened the statistics screen prior to this event. its MC 1.19.2. I can imagine it has something to do with using entities under the "monsters hunted tab"? Obviously I'm not providing much information to go on but am hoping this is something experienced and addressed prior to me posting. Thanks for any offered assistance/insight.

commented

Hello, and thank you for the bug report. I will try to look into it.
The mobs tab generally shouldn't interact with real entities in the world, as the mod creates separate entity instances, that then get handled independently and rendered on the screen.
So my best assumption for now is that there could be some other mod interfering with this mod's behavior, or perhaps it's a genuine independent bug in this mod that went un-noticed.
Either way, thanks again and have a great day!

commented

After a test, I came to the conclusion that for some reason all entities visually stop being rendered (edit: aka get unloaded like you said) even though they are actually present (server-side) (which makes sense given the client-side nature of this mod). I am unsure as to what could be causing this, and given the size of the AOF modpack and the amount of mods it has, this would be extremely difficult to debug. The issue also appears to persist after reloading the world, which complicates things further. Hopefully this issue is not a thing in latest versions of this mod.

commented
commented
commented

I believe I have a theory for what could potentially be causing this. I just did another more detailed test, and I believe it somewhat confirms my theory.

Whenever I'd open the mobs section in on BSS screen, and of course, check the "show empty stats" checkbox, there's this like "hissing" sound that would play. Furthermore, then closing the statistics screen would result in a txt explosion sound to play for some reason. I also noticed that nothing bad happens when closing the screen quickly enough. However, when leaving this hissing to go on for long enough (aka about a few seconds), then the bug takes place and all world entities somehow unload (and I believe the hissing stops there too if I remember correctly). The hissing and the explosion sounds never happen again after that (until relaunching the game that is).

So my speculation now is that there's an entity behaving unusually and breaking the game when attempting to render it on the screen (you know, the usual, cuz it's not the first time I got a bug report regarding crashes/visual_bugs/glitches and other weird stuff happening when trying to handle certain modded entities on the GUI). Additionally, I noticed many mod developers also assume their entities will only be handled in "specific contexts", and such mobs sometimes end up breaking and being incompatible, because I mean.. no mod developer expects that someone (aka me) is gonna be like "oh yeah, i'm gonna take that mob and render it on the screen" if you know what I mean.

Also, another thing I wanna mention is, since I have moved on from 1.18.x and 1.19.x long ago, and do not plan to backport or port the mod to other mod loaders (because that would take like a huuuge amount of time and effort for me (months)), and given there's this random visual-game-breaking bug in AOF 1.19 with this mod, it may be a good idea to remove this mod from the mod pack just in case, so nobody else has to deal with that weird bug. In the meantime, it may still be worth it for me to look into it further, so I can see if this mod conflict could be prevented in the latest versions of this mod (if such conflict even exists in v3.x). Also I checked my own logs too, they logged nothing (other than me pausing the game to go to the BSS screen).