Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,004
    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).