Greetings,
I am having difficulties with attachment offsets and setting them during gameplay, specifically when it comes to a moving character.
Currently, I have a bridge system that checks a NPC when it enters a tile. The system checks if the NPC's height is equal to the "bridge" and sets the NPC's height via modifying the attachment's offset. The check works fine, and it seems that the attachment offset works at first, however, almost immediately after the attachment offset is set, it will immediately revert back to the original value (at least, that's what seems to be the case).
 
For example, the NPC will appear to be on the bridge for a split second, and then immediately will clip through the bridge. This will also occur if they are crossing multiple tiles of bridge, every time they encounter the next bridge tile, they will appear to be on it for a split second and then clip through the bridge again.
I'm not certain if this is a bug within the engine or if I am making a mistake somewhere. It is possible that a engine update changed the way attachment offsets work with moving characters, as my script seemed to have worked in the past. (I reviewed some footage I had from that time.) To my knowledge, nothing else in my scripts changes the offsets while moving.
TLDR: Was there an update to the engine that changed the way attachment offsets work with moving characters and should I attempt to work around it? Or was no change made and I made an error during further development?