Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Invalid path in RawDataProvider

Discussion in 'Addressables' started by chanon81, Jan 14, 2019.

  1. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    48
    After seeing this exception in device builds, I am now using Packed Play Mode to test.

    Currently, whenever I do a Build/Build Player Content and then run the game in Packed Play Mode, the first time I run it, I always get an exception like this.

    Code (CSharp):
    1. Exception: Invalid path in RawDataProvider: 'C:/Users/MyUserName/AppData/LocalLow/MyCompanyName/MyGameName/com.unity.addressables/catalog_2019.01.14.11.44.41.hash'.
    2. UnityEngine.ResourceManagement.DelayedActionManager:LateUpdate() (at ?)
    If I stop the game and run in Packed Play Mode again, it doesn't happen (as the file has been created and exists).

    How to fix this? It looks like it is trying to read the catalog file too soon? Maybe I'm doing something wrong?
     
    MNNoxMortem likes this.
  2. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    356
    Happens for us as well.
     
    chanon81 likes this.
  3. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    48
    Aha, good to see I'm not alone.

    I thought I was going crazy at first when I had to run it multiple times for it to work.
     
    MNNoxMortem likes this.
  4. ajon542

    ajon542

    Joined:
    Oct 22, 2013
    Posts:
    6
    This is also happening for me on Unity 2018.3.1f1 with 0.5.3-preview version of the package.
     
    MNNoxMortem likes this.
  5. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    440
    we've seen this bug in a few places. It's on the list to fix.
     
    HereIAmItsMe, Mazak, ajon542 and 2 others like this.
  6. Mazak

    Mazak

    Joined:
    Mar 24, 2013
    Posts:
    205
    Is there a work around? I am getting very close to get all this to work.
     
  7. HereIAmItsMe

    HereIAmItsMe

    Joined:
    Jul 16, 2012
    Posts:
    7
    We're also running into this issue in Editor and then also device builds the first time they run (iOS and Android). This is using 0.5.3-preview and Unity 2018.3.4f1
     
  8. Caio_Lib

    Caio_Lib

    Joined:
    Mar 4, 2014
    Posts:
    79
    My Console's logs ( bit different but I believe it's the same problem )

    Errors:
    Warning: