Weird behaviour in standalone but not in editor

Alright, so I’m having quite the annoying problem. My first person controller works perfectly in the editor, however, while running the standalone app some weird stuff is happening. I’ve tried it on two different PCs, one Mac and I’ve even tried the Web player. Everywhere I try it the camera jumps unexpectedly up and down. It appears to be playing the ‘land’ animation repeatedly, all though, I’m not entire sure that’s what’s happening.

It’s incredibly difficult to debug, since it doesn’t happen in the editor, nor do I get any errors while compiling.

Yeah, sorry about that, but I really don’t know what to say. Happily though, the problem has been solved! :slight_smile: Somehow…

Since I had to debug it in the standalone app, I decided to comment out the land animtion and just play a generic sound. That way, if it played that sound like a machinegun, I’d know where the problem lied. But it didn’t. Strangely, though, it was no longer bobbing either. So I added the animation back in, removed the sound, and recompiled. This time it worked flawlessly, not only in the editor, but also in the app!

I have no idea what caused this, and I probably never will.