By capnj
on Wed, 06/20/2012 - 17:03
This one sure came out of left field, first the history...
- Been developing game for QCAR competition for last few weeks
- All as been well testing on a Droid2
- All of the sudden yesterday, when i navigate to my AR scene in my game. The app crashes instantly
- Tore the project apart, went to barebones ARcam and image target, updated QCAR (Already had beta2 but i reimported anyway), and found crashes only occur on loading a scene that uses the QCAR plugin.
- Fare enuf, when all of the sudden, after trying to run a build a few times, the scene starts working again. Yeae right? Well...
- This morning at the office, did another test build n' run. Broken again. Every QCAR scene crashes. Luckily i was at the office and tested on other devices (HTC) works flawlessly. So i'm gathering its a devices specific crash or something went wrong in the phone's OS.
- Currently, i had just factory reset my Droid2 to see if that corrects the issue, no dice.
Below is the Logcat's output from just after you hit the button on the main menu to play: (Sorry for the long post)
[CODE]Unloading 9 unused Assets to reduce memory usage. Loaded Objects now: 143.
01-14 18:25:08.325 2110 2117 D Unity : Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:25:08.364 2110 2117 D Unity : Platform assembly: /assets/bin/Data/Managed/Boo.Lang.dll (this message is harmless)
01-14 18:25:16.364 2110 2117 D Unity :
01-14 18:25:16.364 2110 2117 D Unity : Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 425.
01-14 18:25:16.364 2110 2117 D Unity : Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
01-14 18:25:16.817 2110 2117 D Unity : Registered Trackable 32lbsOfShotMarker with TrackerScript
01-14 18:25:16.817 2110 2117 D Unity : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.817 2110 2117 D Unity : UnityEngine.Debug:Log(Object)
01-14 18:25:16.817 2110 2117 D Unity : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.817 2110 2117 D Unity : TrackerScript:RegisterTrackable(TrackableScript)
01-14 18:25:16.817 2110 2117 D Unity : TrackableScript:Awake()
01-14 18:25:16.817 2110 2117 D Unity :
01-14 18:25:16.817 2110 2117 D Unity : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.817 2110 2117 D Unity :
01-14 18:25:16.840 2110 2117 D Unity : Trackable 32lbsOfShotMarker lost
01-14 18:25:16.840 2110 2117 D Unity : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.840 2110 2117 D Unity : UnityEngine.Debug:Log(Object)
01-14 18:25:16.840 2110 2117 D Unity : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.840 2110 2117 D Unity : TrackableScript:OnTrackingLost()
01-14 18:25:16.840 2110 2117 D Unity : TrackableScript:Awake()
01-14 18:25:16.840 2110 2117 D Unity :
01-14 18:25:16.840 2110 2117 D Unity : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.840 2110 2117 D Unity :
01-14 18:25:16.895 2110 2117 D Unity : Error: Failed to initialize QCAR.
01-14 18:25:16.895 2110 2117 D Unity : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:16.895 2110 2117 D Unity : UnityEngine.Debug:Log(Object)
01-14 18:25:16.895 2110 2117 D Unity : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:16.895 2110 2117 D Unity : TrackerScript:handleError(Int32)
01-14 18:25:16.895 2110 2117 D Unity : c__Iterator0:MoveNext()
01-14 18:25:16.895 2110 2117 D Unity :
01-14 18:25:16.895 2110 2117 D Unity : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:16.895 2110 2117 D Unity :
01-14 18:25:17.067 2110 2117 V Unity : time to quit..
01-14 18:25:17.067 2110 2110 V Unity : onPause
01-14 18:25:17.200 2110 2117 D Unity : OnDisable
01-14 18:25:17.200 2110 2117 D Unity : UnityEngine.Debug:Internal_Log(Int32, String, Object)
01-14 18:25:17.200 2110 2117 D Unity : UnityEngine.Debug:Log(Object)
01-14 18:25:17.200 2110 2117 D Unity : UnityEngine.MonoBehaviour:print(Object)
01-14 18:25:17.200 2110 2117 D Unity : TrackerScript:OnDisable()
01-14 18:25:17.200 2110 2117 D Unity :
01-14 18:25:17.200 2110 2117 D Unity : (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Runtime/Export/Generated/BaseClass.cpp Line: 2528)
01-14 18:25:17.200 2110 2117 D Unity :
01-14 18:25:17.981 2110 2110 V Unity : onDestroy[/CODE]
Other specs:
- QCAR beta2
- Unity3D 3.1.0f3
- Droid2 Android2.2
If i don't get this figured out i'm going to have to submit to the competition as is. Which is scary seeing i have no way to do any final tests here at home.
Any thoughts?:confused:
Yar,
CapnJ
Re: Device specific crashing...
Re: Device specific crashing...
Re: Device specific crashing...