Search Unity

Unity Reflect - Android Metadata Image Target not found

Discussion in 'Unity Reflect' started by deets_inthepocket, Dec 17, 2020.

  1. deets_inthepocket

    deets_inthepocket

    Joined:
    Apr 26, 2019
    Posts:
    5
    Hi,

    I'm building an application that shows BIM data from revit in AR on top of a real building to show possible issue's happening with the buildings infrastructure.
    To create this we've stripped some of the reflect code that was bound to UI to add it to our custom UI. So far so good.

    Everything is working on iOS! Yay!
    But on Android we have an issue with retrieving the Image Targets place in revit.
    We have image targets in Unity with the same name as the image target in revit.
    When scanning the Image Target it recognizes the name and uses the revit image target to localize and position the BIM model.

    Like I said this works perfect on iOS, but for some reason there is a nullreference and nothing seems to be retrieved in the metadata manager for android.


    So I'm kind of stuck and not really sure how to continue debugging.

    Can anyone help me out? Or does anyone have a suggestion what is going wrong?
     
  2. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    161
    Hi,

    do you use the new Viewer project from Github?
    Can you share your source?

    Cheers,
     
  3. deets_inthepocket

    deets_inthepocket

    Joined:
    Apr 26, 2019
    Posts:
    5
    Hi @FredMoreau,

    I've send you a private message, but not sure if you received it. So replying on this message aswell.

    Kind Regards,
    Dieter