Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Options
SpatialMappingRenderer does not contain a definintion for RenderSetting
I encounter this while following the instructions for the "Origami" tutorial, upon trying to press "Play".Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs(44,86): error CS0117: 'UnityEngine.VR.WSA.SpatialMappingRenderer' does not contain a definition for 'RenderSetting'
I'm fairly experienced with C# but completely new to Unity. How do I fix this?
I'm using Unity 5.5.0b6.
0
Best Answer
-
Options
...My Google-fu must've been weak. I haven't verified it yet (still installing) but I think it's because I have the wrong beta of Unity (the latest latest beta, instead of the latest HoloLens-specific beta).
... Yep. That was it. Ignore me...I'm new.
5
Answers
...My Google-fu must've been weak. I haven't verified it yet (still installing) but I think it's because I have the wrong beta of Unity (the latest latest beta, instead of the latest HoloLens-specific beta).
... Yep. That was it. Ignore me...I'm new.
Same issue here. I updated Unity to 5.5.0b9 beta version and I can't Build the "Holograms 101E" solution that is on Hololens tutorials.
Hello
I have the same problem unity5.5 gives out these errors.
Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs(44,86): error CS0117:
UnityEngine.VR.WSA.SpatialMappingRenderer' does not contain a definition for
RenderSetting'Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs(44,40): error CS1061: Type
UnityEngine.VR.WSA.SpatialMappingRenderer' does not contain a definition for
currentRenderSetting' and no extension methodcurrentRenderSetting' of type
UnityEngine.VR.WSA.SpatialMappingRenderer' could be found. Are you missing an assembly reference?Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs(45,40): error CS1061: Type
UnityEngine.VR.WSA.SpatialMappingRenderer' does not contain a definition for
customMaterial' and no extension methodcustomMaterial' of type
UnityEngine.VR.WSA.SpatialMappingRenderer' could be found. Are you missing an assembly reference?I thought I was import the script in correct and missing some rendersetting files hope you guys found an answer.
Same problem here. Did you find a solution?
I changed the script "SpatialMapping.cs" with the new version: https://github.com/Microsoft/HolographicAcademy/blob/Holograms-101/Origami/Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs and it works