Select to view content in your preferred language

ArcGIS Maps SDK for Unity 2.3.0 camera assignment throws “Exception: Unknown error”

49
0
yesterday
mikeko
by
New Member

# ArcGIS Maps SDK for Unity 2.3.0: ArcGISCameraComponent PushPosition Unknown error after SetPositionAndRotation

We are preparing a support request for an iOS Unity application using a real ArcGIS basemap and foreground device location.

Versions:

- Unity Editor/runtime build version: 6000.5.3f1
- ArcGIS Maps SDK for Unity: 2.3.0
- Build backend: IL2CPP
- Platform: physical iOS device

A supported Unity 6000.4 reproduction is not yet available. A Unity 6000.4.12f1 supported-line editor is installed locally, but the project has not been opened with that editor because the current package graph requires a multi-package migration before this can be tested as a controlled supported-stack reproduction.

Reproduction summary:

1. Launch the application.
2. Select the normal map experience.
3. Wait for real ArcGIS basemap, attribution and foreground device location success.
4. Clear both available consoles.
5. Press the action that begins the local geographic Hunt exactly once.
6. The application obtains one fresh foreground location.
7. The application applies the accepted player coordinate without an intermediate camera move.
8. The application stages one nadir overview pose using ArcGISLocationComponent.SetPositionAndRotation.
9. Wait up to ten seconds without any other interaction.

Actual result:

Pose staging returns without reporting failure, so application state is currently committed. A later ArcGISCameraComponent.Update calls PushPosition, and the ArcGISView camera assignment reports Unknown error.

Sanitized stack:

```text
Exception: Unknown error.
  at Esri.Unity.ArcGISErrorManager.CheckError(System.IntPtr)
  at Esri.ArcGISMapsSDK.Components.ArcGISCameraComponent.PushPosition()
```

Lifecycle finding:

Project code does not explicitly call PushPosition. It stages position and rotation through ArcGISLocationComponent.SetPositionAndRotation. The installed SDK source shows ArcGISCameraComponent.Update later calls PushViewportProperties and PushPosition. PushPosition performs the actual ArcGISView.Camera assignment. The source and samples inspected did not identify a deterministic operation-specific completion/failure callback tied to this staged camera operation. DrawStatusChanged and ViewStateChanged appear to be general view lifecycle signals, not terminal callbacks for one camera update.

Questions:

1. When ArcGISCameraComponent owns the active camera, what is the documented supported way to apply one geographic position/rotation update and ensure that the component and ArcGISView remain synchronized?

2. Which ArcGIS Maps SDK for Unity 2.3.0 API, event or callback provides a deterministic terminal success/failure result for that specific camera update before application state is committed?

3. Is an Unknown error from ArcGISCameraComponent.Update/PushPosition after ArcGISLocationComponent.SetPositionAndRotation a known issue or unsupported sequence, and what diagnostic category or supported correction should an application use?

Requested response:

Please provide the supported ownership sequence, the operation-specific completion/failure boundary, any known bug/reference number, any version-specific guidance, and a minimal supported code pattern or official sample reference.

0 Kudos
0 Replies