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

Bug LevelPlay crash on startup on ios for some adapters (unityads sdk for example)

Discussion in 'LevelPlay' started by rbitard, Mar 30, 2023.

  1. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    I did dozens of builds and lost countless hours to try to make Levelplay works (I strongly advise doing it imo it's not ready, documentation changes regularly and is missing crucial steps)

    I'm building Ironsource Levelplay sdk using unity, it works fine on Android but when I build and launch on iOS the app crash on startup. I tested many many things

    Including changing the build properties and adding framework manually but it still crashes.
    What is odd is that I can find the file in the IPA .

    Do you have any ideas ? I'm getting crazy over it


    Code (CSharp):
    1. Mar 30 14:33:48 Romains-iPhone crapette(CoreFoundation)[2115] <Notice>: Error loading /var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: u/rpath/libswiftCore.dylib
    2.  
    3. Referenced from: /private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework
    4.  
    5. Reason: tried: '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/App<\M-b\M^@\M-&>
    6.  
    7. Mar 30 14:33:48 Romains-iPhone crapette(CoreFoundation)[2115] <Notice>: Error loading /var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: u/rpath/libswiftCore.dylib
    8.  
    9. Referenced from: /private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/UnityFramework
    10.  
    11. Reason: tried: '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/UnityFramework.framework/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/Application/E116C413-1A81-49A3-A42A-03281F70C997/crapette.app/Frameworks/libswiftCore.dylib' (no such file), '/private/var/containers/Bundle/App<\M-b\M^@\M-&>
     

    Attached Files:

  2. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    (support doesn't answer me so don't tell me to contact ironsource)
     
  3. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    @jcGrenier do you know who can help me on that ? I believe it's something simple but what it is I can't tell.
    I tested with success admob, vungle, ironsource, applovin, but some are crashing (unity ads adapter for example)
     
  4. jcGrenier

    jcGrenier

    Unity Technologies

    Joined:
    Feb 23, 2021
    Posts:
    143
    Hi @rbitard ,
    My apologies but I am no longer part of the Mediation team, and therefore will be much less active in the Mediation forum.

    As for your question unfortunately I can't say off the top of my head. So unfortunately asking support is the best recommendation I could give, aside maybe from trying to google the error, or trying a different version of x-code.

    best of luck!
     
    rbitard likes this.
  5. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    Thanks, I managed to make most of levelplay work but with tremendous effort,
    and the reward seems negative now (less ecpm with more sources :()
     
  6. dioras

    dioras

    Joined:
    Dec 17, 2017
    Posts:
    14
    Hey @rbitard did you manage to integrate Meta/Facebook as well? I'm currently having issues with them, tried every support email in the world lol
     
  7. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    I managed to do it with tremendous efforts, and I don't even know what I did that allowed me to succeed.
    What I encourage you to do is doing this 1 step at a time, validating each step, and if something is wrong, read all the documentation around it and make a support.

    For now the ecpm is not worth it but I'll check again in 1 or 2 weeks if it's increasing, (I lost nearly half my revenue but I don't have a lot of users that have switched yet so that might explain)
     
  8. dioras

    dioras

    Joined:
    Dec 17, 2017
    Posts:
    14
    Got you. Do you have Facebook for both platforms iOS and Android?
     
  9. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    Yep I have meta ads. They barely win the bids and they are quite low already, around 2-3$ ecpm for interstitial french users. Really not good for now, I had way more with unity mediation and admob
     
  10. dioras

    dioras

    Joined:
    Dec 17, 2017
    Posts:
    14
    Got you. Maybe you would be willing to chat or help me out? I have managed to do make the Meta for android, however, for iOS I get "no fill" error. Let me know!
     
  11. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    Sorry I can't help you on this (I will probably switch because the ecpm is still very bad compared to unity mediation)
    No fill probably means that meta doesn't have any ads for you not that it doesn't work, (I get it a lot with admob since I use levelplay)
     
  12. AbhiTechGames

    AbhiTechGames

    Joined:
    Apr 15, 2020
    Posts:
    7
    Hi @rbitard,
    I can relate to much with your line, I also lost about 40-50% of my revenue by using Ironsource + Unity LevelPlay, I am also in search of another mediation partner to switch can you suggest some of them? also did your eCPM goes up after few days of using Ironsource? Please Let me know :)
     
  13. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    it did go up but it took several months and I'm not sure if it's up because it got back to what it was before or I simply got more users playing.

    I'm implementing google admob right now, I hope it'll work flawlessly, in test it appears to work fine (ads preload fine compared to ironsource that never preload anything oddly enough even when I ask it to)

    Admob adapter system is very odd though and difficult to know if it correctly works, we'll see
     
  14. AbhiTechGames

    AbhiTechGames

    Joined:
    Apr 15, 2020
    Posts:
    7
    Thanks for the reply, I also transitioned to Google Admob Mediation now, and now getting a very good eCPM than ironSource and Unity's favorite LevelPlay, on a day when I get up to 2500 downloads a day (& 4000 impressions) I earned about $1 from ironSource, and previously with these many downloads and impression no., I was getting around $ 20-25 (with unity mediation - it's gonna deprecate soon)

    Though I am happy I am getting the same eCPM (thanks to Google Admob Mediation) & the crash rate also decreases by 55%.
     
    rbitard likes this.
  15. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    I'm migrating my users to admob and it's day/night for the moment with a very big increase in ecpm. As I said earlier I'm 100% sure that ironsource prioritized their own traffic with very low ecpm. Before switching from unity mediation (which was awesome btw) to ironsource levelplay I had a lot of good traffic from admob. After the migration I had a lot of traffic from ironsource :D:D:D. My first numbers with admob are quite good I hope it stays that way when all my users are migrated
     
    AbhiTechGames likes this.
  16. CameronDWills

    CameronDWills

    Joined:
    Feb 26, 2021
    Posts:
    89
    Are you able to share what you did to get this working? Like others here, I've been able to get Android working but my iOS version crashes instantly on startup with no crash log reports. Works fine in the editor, builds fine, uploads to testflight fight fine. But on my device (iPhone 14 Pro) the app crashes instantly as soon as you open it.

    If anyone has any solutions please share!
     
  17. rbitard

    rbitard

    Joined:
    Jan 11, 2022
    Posts:
    190
    Sorry to disappoint you I left this solution now for google admob, it's not perfect but it's way better overall