The bug
The /structure load command places structures at the wrong location when run inside of an editor mode session. The command is supposed to place the negative-most corner of the structure at the provided coordinates. However, in editor mode, it places the center of the structure at the provided coordinates.
Since command blocks and behavior packs are active and running during editor sessions, this can completely break pack logic. I have had builds broken by this bug. Please note that placing structures with the editor mode interface is not relevant here; this bug is about the command behaving wrongly.
How to reproduce
Download and open the attached project in editor mode
Click the button next to the command block. It loads a structure
Now click “test world” to enter a “live” session
Click the button again
Expected results
Both times, the corner of the structure should be loaded above the command block.
Observed results
The first time, the center of the structure was loaded above the command block. Only in the test session did the command work correctly.