google-ar / arcore-unity-extensions

Google ARCore Extensions and Geospatial Creator for Unity's AR Foundation
Other
351 stars 98 forks source link

DllNotFoundException: arcore_sdk_c when recording using ARRecordingManager. #84

Open shubhamguptak opened 2 years ago

shubhamguptak commented 2 years ago

Hi, When I am trying to record the AR Session using ARRecordingManger I get this error DllNotFoundException: arcore_sdk_c Even though I have properly setup the package.

VERSIONS USED Unity: 2020.3.38f1 ARCoreExtensions : 1.33.0 ARFoundation : 4.1.0 ARCore XR Plugin : 4.1.0

STEPS TO REPRODUCE THE ISSUE Use recording API as described in documentation.

Error : DllNotFoundException: arcore_sdk_c

Thanks!

//Code of Recording public ARRecordingManager recordingManager;

private void Awake()
{
    recordingManager = new ARRecordingManager();
}
public void Record()
{
    ARCoreRecordingConfig recordingConfig = ScriptableObject.CreateInstance<ARCoreRecordingConfig>();
    Uri datasetUri = new System.Uri("file:///uri/for/dataset.mp4");
    recordingConfig.Mp4DatasetUri = datasetUri;

    recordingManager.StartRecording(recordingConfig);
}

private void Update()
{
   // Debug.Log("Current Recording Status: " + recordingManager.RecordingStatus);
}

public void Stop() => recordingManager.StopRecording();
shubhamp41 commented 2 years ago

Hello please help me @devbridie