You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a runtime crash in my AR app that uses Sceneform. The crash occurs immediately after granting camera and AR permissions, and it seems related to the ARCore LightEstimate functionality, although my application does not explicitly use the LightEstimate.acquireEnvironmentalHdrCubeMap() method.
Error Message:
FATAL EXCEPTION: main
Process: com.example.draw, PID: 17087
java.lang.NoSuchMethodError: No virtual method acquireEnvironmentalHdrCubeMap()[Lcom/google/ar/core/ArImage; in class Lcom/google/ar/core/LightEstimate; or its super classes (declaration of 'com.google.ar.core.LightEstimate' appears in /data/app/~~HqDIVrudygaS9gw55gIagg==/com.example.draw-CJtrcjl5EEp1CNnlpVOyNA==/base.apk) at com.gorisse.thomas.sceneform.light.LightEstimationKt.environmentalHdrEnvironmentLights(LightEstimation.kt:394)
Steps to Reproduce:
Build and run the app on the device.
Grant camera and AR permissions as requested.
The app crashes immediately after permissions are granted.
Environment:
ARCore SDK version: [1.41.1]
Sceneform version: [1.23.0]
Android device and OS version: [Samsung Galaxy A14 5G, Android v13]
I've included all relevant code in a gist for review: Gist Link
Here's the screenshot of the run time error I am getting in logcat
Could you please help identify the cause of this issue or suggest a workaround?
Thank you for your support.
The text was updated successfully, but these errors were encountered:
Hello,
I'm encountering a runtime crash in my AR app that uses Sceneform. The crash occurs immediately after granting camera and AR permissions, and it seems related to the ARCore LightEstimate functionality, although my application does not explicitly use the
LightEstimate.acquireEnvironmentalHdrCubeMap()
method.Error Message:
FATAL EXCEPTION: main
Process: com.example.draw, PID: 17087
java.lang.NoSuchMethodError: No virtual method acquireEnvironmentalHdrCubeMap()[Lcom/google/ar/core/ArImage; in class Lcom/google/ar/core/LightEstimate; or its super classes (declaration of 'com.google.ar.core.LightEstimate' appears in /data/app/~~HqDIVrudygaS9gw55gIagg==/com.example.draw-CJtrcjl5EEp1CNnlpVOyNA==/base.apk) at com.gorisse.thomas.sceneform.light.LightEstimationKt.environmentalHdrEnvironmentLights(LightEstimation.kt:394)
Steps to Reproduce:
Environment:
I've included all relevant code in a gist for review: Gist Link
Here's the screenshot of the run time error I am getting in logcat
Could you please help identify the cause of this issue or suggest a workaround?
Thank you for your support.
The text was updated successfully, but these errors were encountered: