Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Standalone Build opens a TCP port for no apparent reason

Discussion in 'Windows' started by PhaneV, Jan 13, 2023.

  1. PhaneV

    PhaneV

    Joined:
    Aug 3, 2015
    Posts:
    9
    Hello.

    I'm working on a single player, full-offline game, using Unity 2021.3.11f1. We make use of no online features.

    On standalone builds (non-development, script debugging off), when I open the game I get a Windows Firewall prompt asking the user to allow the app to open a port.

    From netstat, it seems the application opens a random port (e.g. 0.0.0.0:9264)

    I would like to track down what opens that port and disable it, since it sends the wrong message to our player base and it's annoying.

    Any leads?
    Thanks!
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,162
    Hi,

    probably the easiest way to do it would be to attach a debugger and then set a breakpoint on the "bind" windows API to get the offending callstack.
     
  3. PhaneV

    PhaneV

    Joined:
    Aug 3, 2015
    Posts:
    9
    Thank you. Found out it was FMOD Live Update, for posterity.