Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Does disabling log types in player settings actually strip the Debug.Log callsites out of the code?

Discussion in 'Scripting' started by eric_funktroniclabs, Jul 10, 2019.

  1. eric_funktroniclabs

    eric_funktroniclabs

    Joined:
    Oct 4, 2018
    Posts:
    19
    Does disabling log types in player settings actually strip the Debug.Log callsites out of the code?
    Sometimes there are strings and other heap-objects passed inb as parameters, which we do not always want in a build.