- Home /
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.
$$anonymous$$aybe this "land" animation is set to Play automatically but it´s strange because it would happen in the editor too.
With this little information about your project, we cannot really help you. Give us something to eat!
Answer by TheBlitheringIdiot · Jan 14, 2012 at 05:29 PM
Yeah, sorry about that, but I really don't know what to say. Happily though, the problem has been solved! :) 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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613062939im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Work in Editor but not in Built 0 Answers
Low FPS in editor, but normal FPS in standalone 0 Answers
Works in the editor, but not when I publish it.. what's wrong..? 0 Answers
Working in the editor but not standalone? 2 Answers
Different behavior between editor and standalone changing time step 0 Answers