BadOptimizations

BadOptimizations

18M Downloads

Crash

Closed this issue ยท 9 comments

commented

I found a crash when i pair BadOptimizations with Lazyyyyy related to the entity type caching option, if i disable this two options it doesn't crash.

enable_entity_renderer_caching: false
enable_block_entity_renderer_caching: false

Here is the log and crash report in case they are necessary.

crash-2025-04-25_20.45.11-client.txt
latest.log
https://mclo.gs/zOWzFa4

commented
commented

Tysm! it works without crashing now.

commented

published as 2.2.2

commented

Thx!

commented
commented

Oh gosh, I didn't realize people actually used this as an API. If this becomes before common I may add system properties to make it less cursed.

Anyhow, I believe it has something to do with priorities - what comes first in the log, BadOptimizations loading config or the disabling message?

commented

Not quite sure. I've delayed the compat code from onLoad to apply xddd.

I have two mixin config using this mixin plugin. So, twice log

Image

commented

Hm odd. Maybe the mixin plugin is being evaluated before yours disable it? Could try rebuilding BO with print statements in the mixin plugin when a config option is actually being used