Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

366
Vistas
Azure Spatial Anchor: ¿cómo obtener suficientes datos del entorno?

Estoy tratando de crear una aplicación AR para Android con Unity 2019.4.19f1 y Azure Spatial Anchor para guardar los anclajes en la nube.

Estoy usando la clase SpatialAnchorManager proporcionada en la demostración . Una vez que se crea e inicia la sesión, intento guardar un Prefab en la nube con el siguiente método, pero CloudManager.SessionStatus.RecommendedForCreateProgress nunca supera 0.

 protected virtual async Task SaveCurrentObjectAnchorToCloudAsync(GameObject spawnedObject) { CloudNativeAnchor cna = spawnedObject.GetComponent<CloudNativeAnchor>(); // If the cloud portion of the anchor hasn't been created yet, create it if (cna.CloudAnchor == null) { cna.NativeToCloud(); } // Get the cloud portion of the anchor CloudSpatialAnchor cloudAnchor = cna.CloudAnchor; while (!CloudManager.IsReadyForCreate) { await Task.Delay(330); float createProgress = CloudManager.SessionStatus.RecommendedForCreateProgress; feedBack.text = $"Move your device to capture more environment data: {createProgress}"; } bool success = false; feedBack.text = "Saving..."; try { await CloudManager.CreateAnchorAsync(cloudAnchor); var currentCloudAnchor = cloudAnchor; success = currentCloudAnchor != null; if (success && !isErrorActive) { await OnSaveCloudAnchorSuccessfulAsync(); } else { OnSaveCloudAnchorFailed(new Exception("Failed to save, but no exception was thrown.")); } } catch (Exception ex) { OnSaveCloudAnchorFailed(ex); } }
over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda