Search Unity

Unity Unity Data Privacy Plug-in Available Now in the Asset Store

Discussion in 'Unity IAP' started by ap-unity, May 21, 2018.

  1. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,203
    Unity Data Privacy Plug-in
    https://assetstore.unity.com/packages/add-ons/services/unity-data-privacy-plug-in-118922
    The Unity Manual has been updated with some additional GDPR information, including documentation about the plug-in:
    https://docs.unity3d.com/Manual/UnityAnalyticsDataPrivacy.html

    As mentioned on the plug-in page, if you use both Unity Ads and Analytics, the opt-out mechanism provided by Unity Ads applies to both services.

    If you do not use Unity Ads, but do use other Unity Developer Services, such as Unity Analytics, IAP, Multiplayer, or Performance Reporting, then you must use the Unity Data Privacy plugin to provide the opt-out choice to your players. The plugin provides a button you can add to your game that opens a Unity web page where players can manage their privacy settings.

    The plugin is available for Unity versions: 4.7 - 2018.1+.

    If you have any questions, please refer to the FAQ in our GDPR statement. We will continue to update this page with more information.
    https://unity3d.com/legal/gdpr

    If you have any specific questions about GDPR and Analytics, please contact: DPO@unity3d.com

    If you have any technical issues with the plug-in, please let us know.
     
  2. fremsk

    fremsk

    Joined:
    Aug 24, 2013
    Posts:
    1
    Hi, what is the best way to use the Unity Data Privacy plugin in VR enviroment? Thanks.
     
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,203
    In the case of VR, I would not use the automatically generated Data Privacy button, since that is made on a normal canvas. I would create a button that fits in with your scene (probably using a world space canvas; sorry, I don't have much VR development experience.). You can then attach the Data Privacy component to your button. The component will make sure the onClick callback is registered to the correct URL.

    By design, the Data Privacy button will open a web page to display the privacy details. I know that isn't the best user experience in VR, but it's necessary to set the setting on our backend, so we can make sure all past data from that user is removed and/or anonymized and any future data is not stored.
     
  4. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,085
    Could you provide a template of the content of that Web page and the necessary callbacks via some Webservice? Part of GDPR is that handling all things related to privacy must be easy for users, so in most cases, the UI needs to be properly integrated with the VR UI. If you have a Unity UI component that can display your Webpage, that's also fine. But going from VR out of the experience, into a browser doesn't seem like it would pass the "keeping it simple for the player / user" test.
     
    TobiWoVR and no1cares like this.
  5. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,085
    So ... at least for SteamVR / OpenVR, the best solution is probably to use the SteamVR Web overlay - this keeps the player in VR, in a browser that works well with VR. Except the Website has rendering problems in that Webviewer: It's all black. Here's what it looks like with some of the text selected:

    UnityPrivacy-in-SteamWebViewer.PNG

    The page renders fine in Google Chrome ... but all other pages I have tried so far render fine in the SteamVR Web overlay, so I think this is something that needs to be fixed on your end.
     
    fremsk likes this.
  6. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,203
    @jashan

    Thanks for pointing that out. I've made our devs aware of this issue. Since this is on the web side, it shouldn't require any updates to the plug-in.
     
    fremsk and jashan like this.
  7. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,085
    @ap-unity You're welcome - it gets worse: The Application.OpenURL(...) approach may trigger Virus scanners. Here's what one of my players got when he clicked Privacy (it basically says that the game is considered a "threat" and the exe was moved into the quarantine folder, in other words, clicking the privacy button breaks the game until the player fixes this in Avast):

    UnityAvastWarning.PNG

    EDIT: It's possible that this will not happen when I use the integrated Steam browser (that currently renders black). In fact, most likely it won't happen ... but that's not something one can rely on because it's obviously only available for games on Steam.
     
  8. TobiWoVR

    TobiWoVR

    Joined:
    Mar 1, 2018
    Posts:
    3
    Thanks for providing the plugin. But Yes, we really need some sort of API as well! In mobile VR we don't even have the option to display a (steam) webview so for GearVR for example this would require the user to take the smartphone out of the headset and browse the webpage and afterwards restart the app and put it back into the headset. This is not convenient and definetely not compliant with GDPR. So please give us access to the privacy settings via API so that we can design our own VR-compatible UI.
     
  9. thikli

    thikli

    Joined:
    Apr 25, 2017
    Posts:
    3
    Hi all, Maybe a weird Question, but as I understand the privacy Settings are related to app and device. Is there a way to test or play around with DataPrivacy.FetchOptOutStatus without losing apps and devices regarding "do not want a personalized game experience: ... I understand that this action cannot be undone."
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,944
    @thikli You should be able to test using multiple test accounts for this purpose.
     
  11. thikli

    thikli

    Joined:
    Apr 25, 2017
    Posts:
    3
    @JeffDUnity3D Thank you for this hint (I suppose you talk about Windows and/or OS X Accounts). I did not thinking so far, because I am working on a mobile app and I tried to test on my mobile devices.
     
  12. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,944
    @thikli No, I meant multiple mobile device accounts (where the game will be running).
     
    thikli and JoMaHo like this.
  13. Olivier-Tache

    Olivier-Tache

    Joined:
    Feb 27, 2015
    Posts:
    15
    Hi @JeffDUnity3D @ap-unity
    Can you confirm that, on Android, the plugin relies on Google services being enabled ? I'm currently testing an app on a Android device with all Google services (including Google Play) disabled, and trying to get the data privacy url returns "Failed to get data privacy url: Unknown Error".
    If I'm correct, does that mean that Unity Analytics does not work on such a device ?
     
  14. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,944
    So it works as expected when Google Play is enabled? It should not be necessary as far as I know.
     
  15. Olivier-Tache

    Olivier-Tache

    Joined:
    Feb 27, 2015
    Posts:
    15
    Forget about it, my device was just not connected to the Internet when I dit the test... :rolleyes:
    It works as expected now.
     
    Last edited: Jan 11, 2019
  16. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    1,876
    Is there some kind of technical difficulties with the plugin atm?
    We're getting "cannot resolve host" in any previously published games (version under 2018.3).

    The one that comes with the Analytics (with v.2018.3) still works though.
    Is this plugin not supported anymore?
     
  17. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,944
    If you can reproduce on a device, can you run Charles Proxy to confirm? https://support.unity3d.com/hc/en-us/articles/115002917683-Using-Charles-Proxy-with-Unity
     
  18. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    1,876
    thikli likes this.
  19. thikli

    thikli

    Joined:
    Apr 25, 2017
    Posts:
    3
    I can confirm, my published app has the same issue. :-(
     
  20. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,944