Is there a way to setup Unity to not output print() or Debug.Log when in a build?
Debug.unityLogger.logEnabled = false;
Should work. You can automatically run it in a build with:
#if !UNITY_EDITOR
[RuntimeInitializeOnLoadMethod]
private static void TurnOffLoggerInBuild()
{
Debug.unityLogger.logEnabled = false;
}
#endif
Looks like that does the trick, thank you!