Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Symbol not found: _UnitySendMessage with iOS simulator

Discussion in 'iOS and tvOS' started by ccavieres, Jan 14, 2019.

  1. ccavieres

    ccavieres

    Joined:
    Aug 21, 2018
    Posts:
    1
    Hello,

    We recently moved our project from Unity 2017.2.1 to 2018.3, but ever since we upgraded, we're getting crashes every time a native plugin tries to call UnitySendMessage from the iOS simulator, with the following error.

    dyld: lazy symbol binding failed: Symbol not found: _UnitySendMessage
    Referenced from: <path to app>
    Expected in: flat namespace

    I know using the simulator isn't recommended, but we do use it sometimes and builds made with the older Unity version work perfectly fine. Anyone know if there were any changes that we might have missed?

    Thanks!
     
    flyingbanana, nedled, yagodar and 2 others like this.
  2. NesCroft

    NesCroft

    Joined:
    Apr 10, 2015
    Posts:
    3
    i'm getting this same error using unity and facebook
     
    lawsonh likes this.
  3. Bestlis

    Bestlis

    Joined:
    Jan 15, 2014
    Posts:
    27
    So do I!
    Broke on this line

    [FBUnityUtility sendMessageToUnity:FBUnityMessageName_OnInitComplete userData:userData requestId:0];
     
  4. ms4ms

    ms4ms

    Joined:
    Jul 23, 2018
    Posts:
    1
    I'm getting the same error when I can FB.init() function from within the unity.

    dyld: Symbol not found: _UnitySendMessage
     
  5. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
    me the same this F***ing issues! anyone know how to solve?
     
  6. yagodar

    yagodar

    Joined:
    Oct 10, 2016
    Posts:
    6
    Exact same issue! Up.
     
  7. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    53
    Same here, it's a complete showstopper because in order to complete our facebook app review, we need to submit a working simulator build.

    Has anyone tried upgrading to Facebook SDK 7.15.1 and can confirm if this fixes it?
     
  8. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    53
    Crap, I just upgraded to Facebook's Unity SDK 7.15.1 and the same thing happens. UNITY PLEASE FIX
     
  9. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
    I already reported this bug to Facebook Team and they told me the bug lies in Unity 2018.3 and this bug still happen in Unity 2019.1b I have tested, anyone report this bug to Unity?
     
  10. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
    I did the workaround facebook team give me by checking symlink libraries Unity but the issues still stay. anyone pls report this bug to Unity as soon as possible
     
  11. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
    any1 test with real device?
     
  12. andyTHPSYourDailyFill

    andyTHPSYourDailyFill

    Joined:
    May 2, 2016
    Posts:
    1
    I'm also getting this error with Unity 2018.3.4 and xcode simulator.
     
    Last edited: Feb 11, 2019
  13. sinarezaei1991

    sinarezaei1991

    Joined:
    May 2, 2017
    Posts:
    1
    I'm facing the same issue and didn't manage to solve it
     
  14. nedled

    nedled

    Joined:
    May 12, 2014
    Posts:
    2
    Same issue here :/ unity pls help
     
  15. yagodar

    yagodar

    Joined:
    Oct 10, 2016
    Posts:
    6
    Unity! Please help! Our Facebook App review BLOCKED because of this!
     
    fzhangunity and andersemil like this.
  16. nedled

    nedled

    Joined:
    May 12, 2014
    Posts:
    2
    If anyone has a solution, please tell us! Our Facebook review is also blocked because of this..
     
  17. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
    should i call to ceo of unity?
     
  18. Mmarcus

    Mmarcus

    Joined:
    Jun 24, 2014
    Posts:
    2
    same issue here (2018.3.2f1), any solution?
     
    Last edited: Mar 14, 2019
  19. nguyenanhtupro93

    nguyenanhtupro93

    Joined:
    Aug 6, 2016
    Posts:
    6
  20. charlie_sbg

    charlie_sbg

    Joined:
    Dec 18, 2016
    Posts:
    9
    plus 1. trying to build in simulator to do a Facebook App Review!!
     
  21. siamon

    siamon

    Joined:
    Apr 14, 2015
    Posts:
    7
    same issue here, needless to say everything works on actual device....
    can't pass facebook review, awesome stuff :D

    unity 2018.3.8f1 , facebook sdk: 7.15.1

    anyone has any solution how to bypass this, or perhaps any version where it might be working
    according to https://issuetracker.unity3d.com/is...simulator-when-trying-to-login-to-facebooksdk 2019.2.0a9 (latest 2019 version) doesn't fix it... even though it is marked as fixed in 2019.2 - anyone can confirm this?
     
  22. mahsouto

    mahsouto

    Joined:
    Jun 24, 2017
    Posts:
    1
    Same issue, I do not use FB, but if it happens with Onesignal, although I do not think it has to be done because I deleted it from the project to try and the error still occurs but instead of the plugin it happens to me in the main.

    I think it's related to using any type of internet connection.

    Unity 2018.3.9f1
     
  23. PavelLU

    PavelLU

    Unity Technologies

    Joined:
    Feb 23, 2017
    Posts:
    23
    This is known issue and fix is on the way:
    (edited)
    2018.3.* fix available, look for 2018.3.13f1
    2019.1.* fixed, not yet released, expecting after 2019.1.0b10
    2019.2.* fixed, not yet released, expecting after 2019.2.0a11
     
    Last edited: Apr 19, 2019
    siamon likes this.
  24. siamon

    siamon

    Joined:
    Apr 14, 2015
    Posts:
    7
    awesome news, will test it today and report back - THANKS for addressing this for us!
     
  25. michael_looply

    michael_looply

    Joined:
    Mar 26, 2018
    Posts:
    1
    I just tested in 2018.3.12f1 and it still appears to be broken. Same issue: dyld: Symbol not found: _UnitySendMessage.
     
  26. PavelLU

    PavelLU

    Unity Technologies

    Joined:
    Feb 23, 2017
    Posts:
    23
    my bad, updated to correct versions, for 2018.3.* please wait for 2018.3.13f1
     
  27. dongquan666

    dongquan666

    Joined:
    Jan 14, 2019
    Posts:
    1
    When will the new version be released?
    i testd in 2019.2.0a11, and still be broken.
    please help me
     
  28. AvalonXT

    AvalonXT

    Joined:
    Jun 22, 2015
    Posts:
    3
    Unity 2019.1.0f2 out and bug is still there
     
  29. AvalonXT

    AvalonXT

    Joined:
    Jun 22, 2015
    Posts:
    3
    Unity 2018.3.13 - everything works as it should! Thank you for this fix.
     
  30. Kien-Vuong

    Kien-Vuong

    Joined:
    Nov 27, 2014
    Posts:
    5
    This bug is still on Unity 2019.1.0f2
     
  31. wayneglows

    wayneglows

    Joined:
    Mar 12, 2013
    Posts:
    14
  32. plaid_kota

    plaid_kota

    Joined:
    Mar 15, 2019
    Posts:
    3
    Its fixed on Unity 2019.1.1f1.
    Thanks Unity team!