viro
viro copied to clipboard
App crashes when .arobject tracking target detects the object
- [x] Review the documentation: https://docs.viromedia.com/
- [x] Search for existing issues: https://github.com/viromedia/viro
- [x] Use the latest ViroReact release: https://docs.viromedia.com/docs/releases
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: ios14.5, ios13.7
- Version: @viro-community/[email protected], [email protected]
- Device(s): iPhone7+, iPhone X, iPhone XS, iPhone 12 pro max
Description
We used .arobject file as a ViroARTrackingTargets and ViroARObjectMarker. We only added a ViroBox inside. If we pointed the camera somewhere else, the app kept running without problems. But as soon as we pointed the camera to the object, the app just crashed. No specific error showed. The crash log and console showed nothing helpful. Xcode just showed EXC_BAD_ACCESS (code=1, address=0x20).
Reproducible Demo
Just clone the starter-kit and follow this documentation
I've got something a little different happening with the latest version of ViroReact (2.22.0). I'm not seeing a crash, but I followed the documentation and created a sample repo. See that here
The behavior I'm seeing is the ARObject doesn't show up at all, rather than crash. Can you reproduce what I'm seeing with the latest version?
Hello guys, I've got same problem.
closing due to no answer.