Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Data Privacy Plugin disabled

Discussion in 'Unity Analytics' started by KreizLand, Oct 25, 2018.

  1. KreizLand

    KreizLand

    Joined:
    Jul 12, 2017
    Posts:
    43
    After updating Unity to 2018.3.06b i got error: The Data Privacy Plugin is included in the Analytics Library Package and is not longer needed. Please remove this plugin.
    But how can i let user to opt-out form personalization ads?
    I used to create GDPR panal that was showed to user fisrt he enter the game and any ads couldn`t be shown before he close it or go to Data Privacy Page (this button was in Data Privacy Plugin), but now i dont know how to replace this button.
     
  2. Benvictus

    Benvictus

    Joined:
    Sep 12, 2013
    Posts:
    87
    @Night_Ninju

    The Data Privacy Asset Store plug-in was not designed to work with 2018.3, so you may run into errors when you import it.

    Instead, it will be embedded in the next version of the Analytics package, which will be available via Package Manager. We are looking to get this out soon.
     
  3. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    149
    Is it already available?
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,387
    @wagenheimer, @Night_Ninju

    Yes, the Data Privacy plugin is now integrated into the Analytics package in Package Manager.

    If you are using 2018.3, you will need to open Package Manager, select the Analytics package and make sure you are upgrade to at least version 3.1.1. (As of posting this, the latest version is 3.2.2).

    If you are using any previous version of Unity, you will still need the Data Privacy plug-in from the Asset Store.
     
  5. dandepeched

    dandepeched

    Joined:
    Feb 22, 2016
    Posts:
    31
    @ap-unity I have installed latest 2018.3 beta build, but proposed Analytics package is 3.0.9 and Data Privacy part is not available in there.
    Do you know how to fix this?
     
  6. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,387
    @dandepeched

    You should be able to click on the version number and select the updated version of the package. analytics-package.png
     
    KreizLand and dandepeched like this.
  7. Mazabek

    Mazabek

    Joined:
    May 6, 2018
    Posts:
    2
    Hello, when I load prefab from Analytics Library, game doesn't want to load. When I look into DataPrivacyButton (Button) script, it shows "The associated script cannot be loaded. Please fix all compile errors and assign a valid script.". When I look into all scripts, I see "No MonoBehaviour scripts in the file, or their names do not match the file name". I didn't change anything in scripts.

    I'm using Unity Personal, 2018.3.0f2 64-bit on Windows 10 Home 1809 update laptop.
    Thanks for any help.
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,608
    @Mazabek We are not able to reproduce here, does it also happen on a new/empty project?
     
  9. TimothyGates

    TimothyGates

    Joined:
    Jan 31, 2019
    Posts:
    19
    Does this mean I no longer have to drag and drop the privacy button prefab onto my project
     

    Attached Files:

    • data.PNG
      data.PNG
      File size:
      86.6 KB
      Views:
      214
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,608
    Does it work on a new/empty project? Yes, you drag the prefab as usual.
     
  11. TimothyGates

    TimothyGates

    Joined:
    Jan 31, 2019
    Posts:
    19
    no, I can select it but I cant drag and drop, I recorded it but it wont let me add the video to the forum

    update: I found if I open two column view it lets me drag the prefab now
     

    Attached Files:

  12. sadstorygr

    sadstorygr

    Joined:
    Jul 22, 2014
    Posts:
    6
    If anyone is still getting this by importing the GDPR plugin from asset store just copy paste "com.unity.analytics@3.2.2" folder in a safe location. Close unity, delete com.unity.analytics@3.2.2 folder in Documents\YourProject\Library\PackageCache\com.unity.analytics@3.2.2. When reopening Unity it will reimport the analitics package and the error will disapear
     
  13. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,608
    These steps are not necessary.
     
unityunity