Announcement

Collapse
No announcement yet.

How To Disable Hardware and Usage Data collection by the Engine?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How To Disable Hardware and Usage Data collection by the Engine?

    In Section 13 of the UE 4 EULA (https://www.unrealengine.com/eula) it states that it is possible to disable the Engine's Hardware and Usage Data reporting feature.

    Where in the source code can I find that feature to be able to disable it?

    Thanks!

    #2
    Sure, this is easy. You can open EngineAnalytics.cpp, search for 'bShouldInitAnalytics', then set the variable to false and compile the editor. Alternatively, you can delete the UE4-AnalyticsET.dll file from disk before you run. You have access to all of the editor's analytics code, so you are fully able to inspect the events that are sent. This data is actually really helpful to us.


    --Mike

    Comment


      #3
      Thanks for the quick reply. It's super helpful.

      Normally I wouldn't have any issue with the analytics, but my studio is working on a children's game and there's some concern about COPPA laws and data gathering. I just wanted to ask about it so that if we have to, we can disable it.

      Comment


        #4
        Originally posted by Mike Fricker View Post
        Sure, this is easy. You can open EngineAnalytics.cpp, search for 'bShouldInitAnalytics', then set the variable to false and compile the editor. Alternatively, you can delete the UE4-AnalyticsET.dll file from disk before you run. You have access to all of the editor's analytics code, so you are fully able to inspect the events that are sent. This data is actually really helpful to us.


        --Mike
        Where is that data/what is the file i sent and how see/open that ?

        In the versions before the 4.7-4.8 this give me a crash after change the bool but now looks like works fine.
        Hevedy - Instance Tools: https://hevedy.itch.io/hevedyinstances
        Hevedy - Image Tools: https://hevedy.itch.io/imagetools

        Comment


          #5
          There should be a way to disable this in the .ini files so we don't have to recompile the editor.

          Comment


            #6
            For packaged games I think you can disable it in packaging settings -> End user settings? I may be wrong on this.

            Comment


              #7
              Tracing through all the UE 4.25.3 source code the default for this flag is only enabled in the editor and can can be disabled by Editor Settings> Privacy - Usage Data> "Don't Send"








              Comment


                #8
                Originally posted by c4augustus View Post
                Tracing through all the UE 4.25.3 source code the default for this flag is only enabled in the editor and can can be disabled by Editor Settings> Privacy - Usage Data> "Don't Send"
                Any crash of the Editor will often cause those to reset back to defaults which IS to send...
                The only way to prevent this properly is to rename or delete the analytics DLLs explicitly.

                Comment

                Working...
                X