Search Unity

(Case 1127308) Installing Addressables in 2018.2 produces compile error because of another package

Discussion in 'Addressables' started by dri_richard, Feb 14, 2019.

  1. dri_richard

    dri_richard

    Joined:
    Mar 10, 2017
    Posts:
    153
    I'm trying to add Addressables to an existing project, but it causes a compile error:

    C:/Users/Richard/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.cacheserver.client@0.1.1-preview/Editor/Client.cs(384,35): error CS0433: The imported type `System.IO.InvalidDataException' is defined multiple times

    Installing Addressables in an empty project with the same version of Unity doesn't trigger the error.

    Has anybody seen this?
     
  2. dri_richard

    dri_richard

    Joined:
    Mar 10, 2017
    Posts:
    153
    I figured this out, and it's not directly a problem with Addressables (it was only triggered by installing Addressables). Upgrading to 2018.3 gave a more helpful error message, which highlighted the problem as this: https://github.com/aws/aws-sdk-net/issues/1140