Open patrickdemooij9 opened 5 years ago
I am facing the same issue when i try to do it in editor, but it works well after building to an android device
Just tried to make this work again, but it seems like it isn't an Instant Preview only problem. I debugged the whole code while on the android mobile and it doesn't return anything from "nativeSession.AugmentedImageDatabaseApi.AddImageAtRuntime". It just gets stops in that function.
The image part of ARCore needs some attention...
Any update on this?
Did you got the soluiton for this problem ?
SPECIFIC ISSUE ENCOUNTERED
Currently I can't add augmented images to the augmented images database. I currently wait until the session is tracking and then try to add the image so the augmented database located in the session config the following way:
session.SessionConfig.AugmentedImageDatabase.AddImage("TestImage", testTexture);
testTexture is a Texture2D that is the same as image 001 from the example. The texture has read/write enabled and uses RGB 24 bit for formatting.
I have tried the following things:
None of the above work for me. I also made a new project, thinking that maybe I messed with some configurations, but I am able to recreate the problem.
Error:![image](https://user-images.githubusercontent.com/11466511/53747295-3584d580-3ea3-11e9-97f7-ae6ede3511da.png)
VERSIONS USED
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use:adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
: samsung/dreamltexx/dreamlte:8.0.0/R16NW/G950FXXS4CRLC:user/release-keysSTEPS TO REPRODUCE THE ISSUE
private bool addedNewDatabase; [SerializeField] private Texture2D testTexture;
WORKAROUNDS (IF ANY)
ADDITIONAL COMMENTS