Search code examples
performanceunity-game-enginebuildeditorframe-rate

Unity - Build runs slow while editor runs fine


In the Unity editor my game runs fine at a near constant 60fps. However, when I build my game and run it as a standalone it runs incredibly slow at around 5-10fps. I have looked up this issue and so far the only solution I could find was to disable the Player Log from within Edit>ProjectSettings>Player. Since doing this the frame rate has increased a tiny amount however the game is still unplayable. I don't think it has anything to do with my code or graphics as, like I said, the game runs fine in the editor.

If anybody knows how I can fix this problem, in any way, it would be much appreciated if you could give a reply.

Kind Regards,

Tommy Eaves


Solution

  • There was an issue with my quality settings. I had set v-sync to its highest setting which was lagging the when built as a standalone but wasn't active while in the editor. I set my quality settings to the default settings and it all works now.