I got hard locked and had to restart when walking through the gate just after double jump upgrade. Maybe add collision?