Hi Supercheese,
In the latest updates of Krastorio 2 (0.9.22 on Factorio 0.18.31), changing the vanilla electring mining drill bounding box, that in K2 have an upgradable version, my users got this error:
https://mods.factorio.com/mod/Krastorio2/discussion/5ee36cf30fb1bc000b7acfb3
As u can see in Krastorio 2\compatibility-scripts\data\Squeak_Through.lua, I have already sign some entities to be excluded from ur modification with the interface that u made for other modders, but I prefer not adjust this directly, because in this case we have a conflict of bounding boxes, that in Factorio must be the same for all entities that are in the same fast_replaceable_group.
Can u add, after ur algorithm have finished to modify the bounding boxes, to check from the previous to the latest entity in the same fast_replaceable_group that they have the same bounding boxes? This will solve all possible problems when a mod use squeak_behaviour = false on an entity in a fast_replaceable_group.
Thank u for ur time.