Search Unity

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:
    7
    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:
    11,847
    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:
    7
    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

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