It was the web build. I belive it was the very last puzzle, right before the section filled with enemies. You had to push a crate with a torch to light up some leaves and push a lever. That made some extra crates fall, creating a path over the spikes.
Restarting fixed the bug and I could complete the game with no issue. I can't really tell what triggered it.