It was at the castle entrance. There’s an area you need a floatbox to get out of, but if you drop your box and walk across the screen border, you lose your box.
Okay, for anyone reading this and is worried, don't. I saw that patches for bugfixes were allowed on the rules, so this softlock doesn't exist anymore. I just patched it.