UE5 Enhanced Input Bug after open New Level ?

Hello, it seems to work using this solution for a similar problem attempting flushing pressed key: [Enhanced Input] Inconsistent Behavior when flushing pressed keys