Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by zachwooding · May 04, 2020 at 09:55 AM · iosxcodeaugmented-reality

AR Scene crashes on start after loading the scene successfully multiple times.

Hello, first post so sorry in advance if I don't provide the correct info.

I am building an AR app in Unity 2019.2.12 with AR Kit XR Plugin 2.0.1

When the AR scene starts for the first time after the app is launched there is no problems. Ill mess around in the scene for a while then exit to the main menu. When I relaunch the AR scene sometimes the app works fine but other times it will crash. If I repeat, eventually the app will crash. I am using the GenerateImageAnchor script that is built in to the AR Kit Plugin, and just before the crash the concole log looks like this:

 At Main Menu
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
 
 Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 2099.
 Total: 2.218375 ms (FindLiveObjects: 0.413500 ms CreateObjectMapping: 0.051458 ms MarkObjects: 1.736500 ms  DeleteObjects: 0.016208 ms)
 
 Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
 UnloadTime: 4.050333 ms
 
 Unloading 14 unused Assets to reduce memory usage. Loaded Objects now: 1490.
 Total: 2.310542 ms (FindLiveObjects: 0.606792 ms CreateObjectMapping: 0.116208 ms MarkObjects: 1.438542 ms  DeleteObjects: 0.147875 ms)
 
 Unloading 1 Unused Serialized files (Serialized files now loaded: 0)
 UnloadTime: 1.055167 ms
 
 Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 3764.
 Total: 2.345167 ms (FindLiveObjects: 0.656542 ms CreateObjectMapping: 0.130583 ms MarkObjects: 1.493292 ms  DeleteObjects: 0.063917 ms)
 
 Here
 UnityARCameraManager:Start()
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
 
 Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 3768.
 Total: 394.957833 ms (FindLiveObjects: 1.407583 ms CreateObjectMapping: 0.270208 ms MarkObjects: 393.252292 ms  DeleteObjects: 0.026958 ms)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 image anchor removed[304879A4-ED35-3BB2-124A-A65E3A23B0CF] : tracked => True
 GenerateImageAnchor:RemoveImageAnchor(ARImageAnchor)
 UnityEngine.XR.iOS.ARImageAnchorRemoved:Invoke(ARImageAnchor)
 UnityEngine.XR.iOS.UnityARSessionNativeInterface:_image_anchor_removed(UnityARImageAnchorData)
  
 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
 libc++abi.dylib: terminating with uncaught exception of type Il2CppExceptionWrapper
 (lldb) 

Seems like the GenerateImageAnchor Script is trying to remove an image anchor even though I just loaded the scene and there shouldn't be any active.

Been stuck on this for a few days and would love any help. Thanks.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by joeysipos · Jun 25, 2020 at 08:53 PM

I have been running into the same issue with the app sporadically crashing. Did you figure anything out?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

245 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity iOS - Wont compile in Xcode 2 Answers

expected unqualified id on libiconv.2.tbd 0 Answers

How to add shadows for multiple 3D models in native arkit ios 0 Answers

Crazy high RAM usage on IOS 0 Answers

Plugin dependencies and compiler flags 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges