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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

"on demand resources" not work (Xcode instantly crashes)

Discussion in 'iOS and tvOS' started by DziDAI, Mar 3, 2016.

  1. DziDAI

    DziDAI

    Joined:
    Dec 6, 2012
    Posts:
    68
    Hello!

    I have a problem with On Demand Resources, Xcode project instantly crashes when I try open "Resource Tags". But if don't open that tab, compiling will Ok

    How fix it?

    Anyone have same problems?

    @JoshPeterson, @David Berger may be you can help me?

    P.S.:
    Xcode version 7.2.1 (7C1002)
    Unity: 5.3.3p1

    Ticket Number: 776489

    P.P.S:
    also if I try upload my app to TestFlight I got this error: http://take.ms/LCXIR How FIX IT?
     
    Last edited: Mar 4, 2016
  2. DziDAI

    DziDAI

    Joined:
    Dec 6, 2012
    Posts:
    68
    In Unity 5.3.3p2 bug still reproduce. After building for iOS platform with "on demand resources" flag enabled, open generated Xcode project and go to "Resource Tags", Xcode crash!

    Unity team (@povilas, @JoshPeterson , @David Berger ) help me Please!!!
     
    Last edited: Mar 4, 2016
  3. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    It is semi-known problem. We have submitted radar to Apple. Though it should not prevent from testing app on device or submitting to the app store (of course it needs avoiding of opening resource tags tab).
    Btw, did you try to follow instructions posted on ODR blogpost (http://blogs.unity3d.com/2015/11/26/mastering-on-demand-resources-for-apple-platforms/) ?
     
  4. DziDAI

    DziDAI

    Joined:
    Dec 6, 2012
    Posts:
    68
    Hi

    Yes I follow instruction. I run my app with "on demand resources" on device and test how it works, but when I wanted upload my app to test flight I have received that error http://take.ms/LCXIR

    And my next step, after unsuccessful uploading to test flight, is to see how Unity and Xcode is being constructed "on demand resources" in a "resource tags" tab.

    So, right now, I can't test my app with "on demand resources" from testflight.
     
  5. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It's possible to work around the issue by not using the slash character in ODR tag names.
     
  6. DziDAI

    DziDAI

    Joined:
    Dec 6, 2012
    Posts:
    68
    Hi

    I will try, and post result
     
  7. DziDAI

    DziDAI

    Joined:
    Dec 6, 2012
    Posts:
    68
    Hi @povilas

    When I removed slash character in ODR tag names, all works fine! Thanks!

    On Demand Resources work only with UncompressedAssetBundle?
     
  8. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Yes.
     
  9. amit1532

    amit1532

    Joined:
    Jul 19, 2010
    Posts:
    305
    A pro user and also frustrated. So many bugs, poor support.
    I actually find my self doing so many hacks instead of sending a ticket because I have had bad experience with support..
     
  10. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    In this case this is Xcode bug.
     
  11. amit1532

    amit1532

    Joined:
    Jul 19, 2010
    Posts:
    305