Search Unity

SpatialMappingCollider could not be found

Discussion in 'Windows Mixed Reality' started by BookMak, Dec 28, 2018.

  1. BookMak

    BookMak

    Joined:
    Sep 2, 2015
    Posts:
    5
    Hi all,

    I had just updated to the latest Unity 2018.3.0f2, and this error pops up, when I opened my project
    The type or namespace name 'SpatialMappingCollider' could not be found

    Is there any functions that replaces this for the new version?
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    557
    Can you open the package manager and double check that you have the windows mr package installed?
     
  3. BookMak

    BookMak

    Joined:
    Sep 2, 2015
    Posts:
    5
    Got it thank you its working already
     
  4. Abdul_M

    Abdul_M

    Joined:
    Feb 17, 2018
    Posts:
    11
    This is a "bug" in later versions of Unity 2018 and above when importing projects with an older version where those 2 classes are not automatically imported. Just go to XR Settings under Player settings and uncheck/check "Virtual Reality Supported". That will re-download the missing classes.
     
    Thorny365 and salfare1121 like this.
  5. unity_20hy8tc1LSZG4Q

    unity_20hy8tc1LSZG4Q

    Joined:
    May 13, 2019
    Posts:
    3
    This doesn't fix it for me. Are you supposed to select a certain Virtual Reality SDK from the dropdown box?
     
  6. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    349
    You should have Windows Mixed Reality in the SDK list in your build settings > XR Settings. Is your list blank or containing something else?