Search Unity

  1. Click here to receive a gift with your purchase of Unity Pro or Unity Enterprise.
    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

OnDemandResources not working?

Discussion in 'iOS and tvOS' started by hutch_jl, Apr 3, 2017.

  1. hutch_jl

    hutch_jl

    Joined:
    Jan 8, 2013
    Posts:
    40
    Hi,

    I'm unable to get ODR working either in our project or in the AssetBundleDemo sample project using Unity 5.5.2p1 and Xcode 8.3. ODR is enabled in player settings, and I've turned on "Embed Asset Packs in Product Bundle" in the build settings to be able to test locally. The code runs but any ODR requests come back with no error but no assets in them (ultimately crashing when the sample tries to access the resources). If I examine the generated project in Xcode, all the data sets in UnityData.xcassets are empty - they've been created but have no assets in them, which I assume is the problem and not using the embed option. Am I missing a setup step somewhere?

    Thanks!
     
  2. IES

    IES

    Joined:
    Jan 28, 2015
    Posts:
    26
    Were you able to figure it out?
     
  3. hutch_jl

    hutch_jl

    Joined:
    Jan 8, 2013
    Posts:
    40
    Hi, no but I haven't tried this in any of the more recent Unity versions after 5.5 so it may well be fixed by now - was a while ago!
     
unityunity