Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How to hide the version and other information displayed in the console at startup

Discussion in 'Web' started by K_Kuriyama, Mar 13, 2023.

  1. K_Kuriyama

    K_Kuriyama

    Joined:
    Jul 4, 2020
    Posts:
    67
    With the default settings, I see the following logs when I launch the Unity app in the browser, can these be hidden?

    Loading player data from data.unity3d
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 Initialize engine version: 2022.2.2f1 (c93c5d3acf5b)
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 [Subsystems] Discovering subsystems at path UnitySubsystems
    WebGL.loader.js:1 Creating WebGL 2.0 context.
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 Renderer: WebKit WebGL
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 Vendor: WebKit
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 Version: OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium))
    4c06cf4b-d81e-40c6-bc43-cf5677b0eceb:10 GLES: 3
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,420
    Why? This isn‘t sensitive information.
     
  3. K_Kuriyama

    K_Kuriyama

    Joined:
    Jul 4, 2020
    Posts:
    67
    @CodeSmile
    We do not want it to be displayed if possible, as we believe that knowing the Unity version increases the risk for vulnerabilities.
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,420
    Okay in that case anyone interested in such vulnerabilities has to perform one or two extra clicks to get that information. You don‘t win anything from suppressing the console logs, that info is still in the build.