Code Monkey home page Code Monkey logo

Comments (15)

nathanmartz avatar nathanmartz commented on July 17, 2024

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

sorry, make a simple project is not convenient, but I can support a video error log first, pls check it. thx.

catch the error log through Android Studio:
10-12 04:16:54.377 4947-5060/? E/tango: filter_update_base.cc:87 Temporary visual feature update failed when computing its residual and Jacobian.

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

If you can't share the project, could you share the full logcat when running this or (even better) an APK that shows this issue?

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

Thanks for your reply. here is the apk's link, the file exceeds the upper limit allowed by the attachment, so I put it on google drive. please check it. if you need more information, please feel free to let me know

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

I was unable to reproduce the issue, however I noticed that your app has a lot of exceptions it logs during normal interaction:

ArgumentOutOfRangeException: Argument is out of range.
10-16 09:45:08.113 14297 14313 E Unity : Parameter name: index
10-16 09:45:08.113 14297 14313 E Unity : at System.Collections.Generic.List`1[System.String].get_Item (Int32 index) [0x00000] in :0
10-16 09:45:08.113 14297 14313 E Unity : at MeshController.AutoPlay () [0x00000] in :0

If an exception is thrown at a bad time during update, it could cause the update of the AR background to break. I suggest removing all these exceptional cases and seeing if you can still repro the issue.

from arcore-unity-sdk.

nathanmartz avatar nathanmartz commented on July 17, 2024

I'm going to close this as it's most likely unrelated to ARCore. Please reopen if the issue persists once exceptions are fixed.

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

@chaosemer your log shows didn't find the video. I think maybe you didn't put "urls_arcore.txt" or "model-2.nut" files into /sdcard/ directory. you can use these commands( "adb push urls_arcore.txt /sdcard/", "adb push model-2.nut /sdcard/" ), then open the app. and I catch the full logcat:
arcore_logcat.txt.
please ensure this things, thanks.

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

I pushed as well but am still getting errors:

Mesh 'Cube Instance': abnormal mesh bounds - most likely it has some invalid vertices (+/-inifinity or NANs) due to errors exporting.
Mesh bounds min=(-inf, -inf, nan), max=(nan, nan, inf). Please make sure the mesh is exported without any errors.

Tapping again appears to do something, but I never see a person appear. Can you create another build that doesn't dynamically load the .nut file?

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

sorry, Don't Dynamically load the .nut file is not very easy.
I know this error log, but I think it doesn't related about this problem. I update the apk .

After "Searching for surfaces" disappear, you can tap the screen, model will appear.
screenshot_20171018-000530

you can tap screen, 3D model will appear. you can try it again. And, this problem is not always appear, so, you can try more times.
we found sometimes the camera's preview data can't update when playing our 3D video with Unity's realtime shadow, but it always can update when playing 3D video without realtime shadow.  you can click LightControl Button to determine if Directional Light stay in the scene or not.

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

@chaosemer @nathanmartz have you reproduce the issue? the new apk have any problem?

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

I'm very sorry, but trying to run your new .apk file I am still unable to reproduce the person appearing. I now no longer see planes either.

I am running this on a Pixel XL on Android O, could you please verify that this is the same environment as you?

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

I feel very sorry. I have checked it again. The .nut file i have given you has some problem. I give you another .nut file. you also need put the .nut file into /sdcard directory(adb push model-2.nut /sdcard/).

Besides, the new .apk doesn't show planes again. After the snackbar ("Searching for surfaces ...") disappear, you can tap the screen.

if you have a result. pls let me know, thanks!

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

Thank you! I am able to reproduce this issue 100% now.

I noticed that when I place the person, I always get the camera preview not updating. However, if I press the button marked "LightControl" twice, the camera preview will start updating again.

I'm suspecting that you are potentially using multiple Camera objects in your scene, and toggling which Camera you are using based on app state. For the ARCore developer preview you must use only one Camera for your entire session. If you want to toggle behavior, instead you should put additional scripts on the camera in the prefab.

from arcore-unity-sdk.

feixiaku avatar feixiaku commented on July 17, 2024

Great! Thank you very much. In my scene, there is only one camera.
screen shot 2017-10-21 at 11 16 40 am

And, the button "LightControl" only do one thing switching on/off Directional Light. if Directional Light enabled in the scene, realtime shadow will be rendered which you can see in the scene. or, realtime shadow will disappear.
screen shot 2017-10-21 at 11 22 08 am

Besides, there is another situation. when camera's preview data blocked, if you turn your phone in other direction that you can not see the model, camera's preview data update again, but if you turn back, camera's preview data blocked again. I think maybe it is rendering process takes too much time that caused the failure of camera preview data update.

Due to the final image show on the phone is blend by Android camera's preview data and UnityEngine's rendered texture. Does something make the camera's preview data blocked?

from arcore-unity-sdk.

chaosemer avatar chaosemer commented on July 17, 2024

I tried to create a minimal repro case myself playing with directional lights and could not.

What I really need now is for you to create a minimal repro project and share it with me. You can find my email address on my profile so you can restrict sharing to just me.

from arcore-unity-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.