Spatial Mapping of Hololens2 won't activate on UE4 4.27

Chaos 60 Reputation points
2023-06-14T05:51:33.7566667+00:00

Hello, I am a student and I am developing a HoloLens application for academic development on UE. In the course of spatial mapping, I followed your steps step by step. When binding the ToggleSpatialMesh button event, I compose the ToggleARSession event in your way. But when I run it, there is no response after clicking the scan world button button. Then, I downloaded the official project link you provided, I ran the project, and it was ok to click the scan world button, no problem. But a strange thing came, when I migrated the core content of the official project to a new project (UE4 4.72), it couldn’t work again, as if it was ok only in the project you provided. Does official have any extra operations after finishing the spatial mapping tutorial? Why did I follow what you taught step by step but it didn’t work in the end? Looking forward to anyone reply, help me ,thank you.1

2

HoloLens | Development
0 comments No comments
{count} votes

Accepted answer
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft External Staff
    2023-06-15T03:14:38.1766667+00:00

    Hello, Welcome to Microsoft Q&A,

    From the video link and screenshots you provided, it seems you didn’t enable Spatial Mapping by Toggle ARCapture. Please refer to Spatial Mapping in Unreal - Mixed Reality | Microsoft Learn to check your blueprint.

    If you are a beginner, it is recommended that you also refer to this tutorial - 1. Getting started - Mixed Reality | Microsoft Learn, which contains some basic settings for the HoloLens project on Unreal.

    If you have any other questions, please feel free to let us know.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.