Search Unity

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:
    15
    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.