Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    Dismiss Notice

Why my game is running 10 times faster on linux?

Discussion in 'Editor & General Support' started by johnietop, Sep 14, 2017.

  1. johnietop

    johnietop

    Joined:
    Jan 17, 2017
    Posts:
    2
    I've builded the game for linux, and everything is going many times faster as it should, on other platforms like windows or android everything is ok.
    Does anyone know the reason?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    408
    What specifically is this "everything" that is going "many times faster"? Is Time.time and Time.deltaTime going 10x faster?
     
  3. johnietop

    johnietop

    Joined:
    Jan 17, 2017
    Posts:
    2
    not everything, i also found that other parts of thew game are also not working properly like it seeems that linux build can't read some parts of the code like for example:
    coreGame.SetState(CoreGame.InGameState.PRE_GOAL);
    the game works like this line of code never existed and xml nodes are tottaly not working.
    Why everything works on other platforms?
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    163
    Perhaps you have code in #ifdefs ? Are you able to debug/print relevant output?