Search Unity

Bug Build has very high spike of lag when using LogToString

Discussion in 'Editor & General Support' started by castor76, Apr 29, 2021.

  1. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Our current build has extremely high unusual spike of lag when you do a simple Debug.Log command.
    When you use profiler, you are able to check simple Debug.Log causes LogToString with 100s of ms lag or more.

    This never happened before.. But starting to happen since 2021.1.4f1, the samething happens for 2021.1.5f1

    Any idea?
     
  2. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    This does not happen in Unity Editor, but only when you do actual build test. Development, or Released the same thing happens.