Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2019.0.1f1 Non-existent Assembly 'unityengine.spatialtracking' Moved To Assembly Definition.

Discussion in '2019.1 Beta' started by jan_bajana, Apr 16, 2019.

  1. jan_bajana

    jan_bajana

    Joined:
    Sep 15, 2015
    Posts:
    22
    SpatialTracking was part of core Unity Engine in 2018 version but has moved to assembly definition in 2019.
    This makes our SDK incompatible between those Unity versions.

    We have our own assembly definition in our Unity package which now has to link against UnityEngine.SpatialTracking in Unity 2019.

    What is the best way here to keep compatibility between 2018.3.x and all new 2019 Unity versions?
    So we do not have to release 2 independent packages for 2018 and 2019 versions.

    Thank you.
     
    Last edited: Apr 16, 2019
  2. jan_bajana

    jan_bajana

    Joined:
    Sep 15, 2015
    Posts:
    22
    Any updates here how could we keep compatibility across 2018.3 and 2019 versions without generating 2 packages? I guess this may break compatibility for more developers?
     
    Last edited: Apr 16, 2019
  3. samuelb_unity

    samuelb_unity

    Unity Technologies

    Joined:
    Nov 13, 2017
    Posts:
    151
    Hi @jan_bajana,

    Just to let you know, we are discussing this internally because it will be a recurring problem as more pieces of UnityEditor and UnityEngine are moved into packages. We want to make sure we come up with the best solution. I will get back to you soon. Thanks for your patience!

    Regards,
    Sam