Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Work on C# and .NET-adjacent mixed-reality solutions around HoloLens, MRTK, OpenXR, Azure services, and integration boundaries where .NET participates in the stack. USE FOR: building or integrating mixed-reality solutions with C#; working on HoloLens, MRTK, Azure mixed-reality services, or OpenXR-related code; reviewing how .NET services. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run
Use this skill ↓82% 86%+5 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
Our team is reviewing our mixed-reality project structure where C# scripts handle spatial anchors and eye tracking while communicating with ASP.NET Core microservices. Can you perform an architectural audit report of this system design, detailing the recommended separation of responsibilities and testing recommendations?
The response designates testing on target physical hardware or official device emulators as a mandatory sign-off gate over editor playback.
3 of 3 safety checks passed
Place holograms that persist across sessions using Azure Spatial Anchors:
public class PersistentHologramManager : MonoBehaviour
{
private CloudSpatialAnchorSession _anchorSession;
private readonly Dictionary<string, CloudSpatialAnchor> _anchors = new();
public async Task InitializeAsync(string accountId, string accountKey, string accountDomain)
{
_anchorSession = new CloudSpatialAnchorSession();
_anchorSession.Configuration.AccountId = accountId;
_anchorSession.Configuration.AccountKey = accountKey;
_anchorSession.Configuration.AccountDomain = accountDomain;
_anchorSession.AnchorLocated += OnAnchorLocated;
_anchorSession.LocateAnchorsCompleted += OnLocateAnchorsCompleted;
_anchorSession.Start();
}
public async Task<string> PlaceHologramAsync(GameObject hologram, Pose worldPose)
{
// Create native anchor
var nativeAnchor = hologram.AddComponent<WorldAnchor>();
// Create cloud anchor
var cloudAnchor = new CloudSpatialAnchor
{
LocalAnchor = nativeAnchor.GetNativeSpatialAnchorPtr()
};
// Wait for enough spatial data
while (!_anchorSession.IsReadyForCreate)
{
await Task.Delay(100);
Next to this one in the catalogue, plus more from the same author.