Search Unity

Bug Addressables not working on tvOS

Discussion in 'Scripting' started by Miramana, Jun 12, 2020.

  1. Miramana

    Miramana

    Joined:
    Oct 15, 2017
    Posts:
    8
    Hi, i'm getting an error on tvOS related to addressables.

    Code (CSharp):
    1. Addressables.LoadResourceLocationsAsync
    Error:UnauthorizedAccessException: Access to the path "/com.unity.addressables" is denied.
    Warning: Application.persistentDataPath has been stripped!

    Seems like addressables is trying to access the wrong folder. Only on tvOS.
    works on other platforms, Android & iOS & windows

    Tried setting Strip Engine Code = false

    target SDK = Device SDK
    Target minimum tvOS version= 10.0
    Api Compatibility Level = Doesn't matter, same error

    Please need help
     
  2. Miramana

    Miramana

    Joined:
    Oct 15, 2017
    Posts:
    8
    bump, need help please
     
  3. Miramana likes this.
  4. Miramana

    Miramana

    Joined:
    Oct 15, 2017
    Posts:
    8
  5. Miramana

    Miramana

    Joined:
    Oct 15, 2017
    Posts:
    8
    Lurking-Ninja likes this.
  6. Sam_Johns

    Sam_Johns

    Joined:
    Jul 15, 2015
    Posts:
    13
    Is there any update on this? I've had a look through the forums and not been able to spot anything that resolves this, or that just says Addressables aren't compatible with tvOS

    Thanks!
     
  7. HL-ChrisScott

    HL-ChrisScott

    Joined:
    Sep 10, 2019
    Posts:
    1
    Fixed in Addressasbles 1.20.3, just in case anyone finds this thread (as I did).