Problem when running an APK using ExploreAR + FacebookSDK

Home Forums Motive Issues Problem when running an APK using ExploreAR + FacebookSDK

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #5015

    ryan
    Participant

    Hi Fernando,

    I’m really sorry, but I haven’t been able to debug this. I’m having trouble even getting a build with Facebook to succeed (currently complaining about Open SSL, although it’s installed and the path is set up…). It does appear that there is a conflict between Mapbox and Facebook. I found this thread where the problem is discussed, but I’m not sure what the ultimate resolution was:

    https://github.com/mapbox/mapbox-unity-sdk/issues/570

    Unfortunately we haven’t been able to get the latest Mapbox SDK integrated because the code changed quite a bit.

    You may be able to remove the Mapbox SDK and use our native Mapbox implementation. The map doesn’t look quite as good since we only render image tiles (and not vector tiles), but it will hopefully allow you to avoid the conflicts.

    1. Remove the “2D Mapbox” prefab from the scene and replace it with “2D Map” (in Motive/Apps/Common/Prefabs/Map).
    2. Make sure to configure your Access Token in the “Map Box Source” component on 2D Map -> Map Texture.

    Let me know if this works!

    #5016

    fernando-2161
    Participant

    when i dont import or delete Mapbox, i got erros in the code inside #if MOTIVE_MAPBOX directive. I dont understand very well how preprocessor directives work so i commented the namespaces inside that directives but then get errors because i’m not importing the namespaces.

    #5017

    fernando-2161
    Participant

    Ups, my bad. It works after all. I just realized that some directives are actually covering more than just namespaces.

    Thanks for all the help 😉

    #5030

    fernando-2161
    Participant

    Hi again. I just realized i cant see the markers in the native Mapbox implmentation. They are created in the 2DMapbox/MapView but i cant show them. Any ideias?

    Screenshot at https://ibb.co/fsFwzd

    • This reply was modified 1 year, 3 months ago by  fernando-2161.
    • This reply was modified 1 year, 3 months ago by  fernando-2161.
Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.