Turn off Hardware Stat collection from Unity

Hey Guys,

I’ve now noted multiple times that from 5.5 onwards, Unity seems to be communicating with a stats server without my permission from a compiled game (not a web game, literally from the desktop build).

**
EDIT
**
Ryiah has corrected me and it is OPT-IN.

Debug build?

How long ago?

Nope, not a debug build.

It is definitely a stats server because it also resolves to stats.unity

I am using Unity 5.5.3f1 - I was on 5.3 that definitely didn’t connect out.

I caught the connection with little snitch on OSX.

How long ago did you email support?

And are you sure you don’t have Unity analytics turned on? :stuck_out_tongue:

I emailed support on Friday AM - They may still get back to me, let’s see.

Hi Unity,
I compiled a game and detected that the game was trying to contact: Connect to stats.unity3d.com on TCP port 443 (https).
Please can you explain what this is and where I can turn it off? Why is a compiled game trying to reach your server?
Thanks.

I am not using Unity analytics - I just confirmed it was not enabled - or even logged in.

Can anybody else monitor a build and let me know what your firewall etc does.

I see this:
http://hwstats.unity3d.com/index.html

UNITY HARDWARE STATISTICS 2017-03
So you’re making a game. How do you make it nice and perform well on your player’s device? What hardware do end-users have? We think these are very important questions. So here’s what we do:

When a game made with Unity is initially installed, the hardware and software profile of the end user device is submitted (see our privacy policy for what exactly gets sent). We aggregate and compute statistics of this information. This can be incredibly helpful for Unity game developers in helping them to make good content decisions and optimize performance of their games.

The hardware data comes from users who installed some sort of Unity game, so it represents combined statistics of all Unity game players. Your particular game might be targeted at different type of users with different hardware.

Why is this not OPT IN!?

1 Like

Because not a significant number of people opts into such things and correlations between the type of user who opts in and has a certain hardware type might make smaller sample sizes useless for stats.

I do get your frustration though, my firewall defaults to “though shall not pass” for outgoing connections as well and I always have to click through a million permissions to get stuff to even work.

I wonder about the legal side because Germany has very strict data privacy laws and I wouldn’t be surprised if you needed to release your game on Steam with a EULA that links Unity’s privacy agreement and forces the user to agree to that as well. I mean websites can’t even use cookies anymore without the user opting in actively.

I get why they are doing it, but as devs we should be able to control where our apps and games connect. Heck, even if it was ticked by default that would fine. In terms of the firewall, if you block stats. the next time you run it it just attempts to connect to a new server address. :frowning:

2 Likes

It is an opt-in. You can find it under the Player Settings entry of the Build Settings.

3044436--228196--analytics.png

1 Like

I stand corrected. Thanks Ryiah. I do appreciate the clarification.

huh? That shows (and, is , as far as I know) opt-out.

6 Likes

It’s actually opt out. Opt in means a user has to choose to enable a service, and it’s off by default. Opt out means a user has to choose to disable a service, and it’s on by default.

If you do nothing, Unity gets its analytic data.

2 Likes

You people knew what I meant. :stuck_out_tongue:

1 Like

It should be something we should be able to opt out of so that it does not run… let the player decide if they want to opt into statistic collection… that is how it should be, instead unity bypass the end users choice and lay it on the developers who also don’t even have a fucking choice if even if they did want it disabled by default… good job unity

…I have nothing in my game that needs to communicate with the outside world from a player computer not even my own servers, yet because the game is compiled with unity and it embeds this phonehome statistic crap it will indeed trigger any players firewall (fuk it triggers mine everytime I do a build with a different filename) at least if they have a decent one that notifies of detected outgoing connections. Funnily enough its only on windows that end users actually have access to decent firewall software, linux and osx equivalent software eco system for such things is fking shit… which honestly says alot about the average security/privacy of such os desktop setups imo.

Interestingly enough unity games are always flagged as untrustworthy by most the shitty antivirus companies, yet anyone installing a piece of shit data collecting antivirus suite will never have it triggered on all of the spyware, keyboard logging crap that is built in and infested to the very core of winshit10… weird that …not.

1 Like

You can… just get pro.

Virtually every marketplace collects anonymous stats. If you distribute via steam, itch.io, kongregate, app store, win store, google play, amazon, whatever… that data is being collected regardless of whether or not it was unity. It’s anonymous, aggregated stats, it is nothing to worry about.

This is literally in the EULA (they TELL you this happens on both dev and client sides). I don’t like being spied on any more than anyone else but Unity gives me so much satisfaction I truly could not care less. Facebook I might dump if that wasn’t my primary contact for all of my friends.

yeh i know

everyones doing it… i’ll do it tooooo yaaay

According with Privacy Policy Hub

  • unique device identifiers (e.g., IDFV for iOS devices and Android ID for Android devices) );
  • IP address;
  • country of install (mapped from IP address);
  • device manufacturer and model platform type (iOS, Android, Mac, Windows, etc.) and
  • the operating system and version running on your system or device;
  • language;
  • CPU information such as model,
  • the number of CPUs present, frequency, and instruction set support flags;
  • the graphics card type and vendor name; graphics card driver name and version (example: “nv4disp.dll 6.10.93.71”);
  • which graphics API is in use (example: “OpenGL 2.1” or “Direct3D 9.0c”);
  • amount of system and video RAM present;
  • current screen resolution;
  • version of the Unity Editor used to create the game;
  • sensor flags (e.g., device support for gyroscope, touch pressure or accelerometer);
  • application or bundle identification (“app ID”) of the game installed;
  • unique advertising identifiers provided for iOS and Android devices (e.g., IDFA or Android Ad ID);
  • and a checksum of all the data that gets sent to verify that it did transmit correctly.

Some Unity developers use Unity’s analytics and ad services which collect additional information. See FAQs on Unity Analytics and Unity Ads below.

So it’s not possible to create a GDPR-compliant game using Unity Free? What a farce.