Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuforia doesn't always initialize on page reload #83

Open
kimberlysiva opened this issue Jun 7, 2017 · 1 comment
Open

Vuforia doesn't always initialize on page reload #83

kimberlysiva opened this issue Jun 7, 2017 · 1 comment

Comments

@kimberlysiva
Copy link
Contributor

Able to reproduce on an iPhone 6. Run the Vuforia sample and repeatedly reload. About every other load Vuforia will not initialize with the target dataset. It seems that the ar.vuforia.init message is being missed or ignored.

@kimberlysiva
Copy link
Contributor Author

Logs with additional output, note that _handleInit is not called on the unsuccessful run.

CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:67:24: sessionService.connectEvent
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:212:20: _selectControllingSession
CONSOLE LOG file:///app/components/common/AppViewModel.js:132:24: Argon focus changed: https://samples-develop.argonjs.io/vuforia/index.html
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:372:20: _handleInit
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:212:20: _selectControllingSession
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:242:20: VuforiaService: Setting controlling session to https://samples-develop.argonjs.io/vuforia/index.html
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:260:20: Vuforia: Pausing session argon:manager...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:284:24: Vuforia: deinitializing...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:296:20: Vuforia: Resuming session https://samples-develop.argonjs.io/vuforia/index.html...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:311:24: Vuforia: initializing...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:313:28: Vuforia: Init Result: 100
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:327:28: Vuforia: initializing camera device...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:330:28: Vuforia: initialized camera device
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:343:28: Vuforia: started camera
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:347:32: Vuforia: loaded data sets
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:367:28: Vuforia: started objectTracker
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:705:28: Downloaded file https://samples-develop.argonjs.io/resources/datasets/ArgonTutorial.xml to /var/mobile/Containers/Data/Application/D9A40C1D-5E48-49F0-B9EC-D33407E830AD/Library/Caches/-1409410310/ArgonTutorial.xml
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:705:28: Downloaded file https://samples-develop.argonjs.io/resources/datasets/ArgonTutorial.dat to /var/mobile/Containers/Data/Application/D9A40C1D-5E48-49F0-B9EC-D33407E830AD/Library/Caches/-1409410310/ArgonTutorial.dat
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:423:24: Vuforia: Loading dataset (f01b80fa-6c54-46e5-8dda-4cc23f9d4234) from https://samples-develop.argonjs.io/resources/datasets/ArgonTutorial.xml...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:705:28: Downloaded file https://samples-develop.argonjs.io/resources/datasets/ArgonTutorial.xml to /var/mobile/Containers/Data/Application/D9A40C1D-5E48-49F0-B9EC-D33407E830AD/Library/Caches/-1409410310/ArgonTutorial.xml
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:705:28: Downloaded file https://samples-develop.argonjs.io/resources/datasets/ArgonTutorial.dat to /var/mobile/Containers/Data/Application/D9A40C1D-5E48-49F0-B9EC-D33407E830AD/Library/Caches/-1409410310/ArgonTutorial.dat
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:432:32: Vuforia loaded dataset file with trackables:
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:466:20: Vuforia activating dataset (f01b80fa-6c54-46e5-8dda-4cc23f9d4234)
<successful load>

CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:212:20: _selectControllingSession
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:242:20: VuforiaService: Setting controlling session to argon:manager
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:260:20: Vuforia: Pausing session https://samples-develop.argonjs.io/vuforia/index.html...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:497:20: Vuforia deactivating dataset (f01b80fa-6c54-46e5-8dda-4cc23f9d4234)
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:525:20: Vuforia: unloading dataset (permanent:true id:f01b80fa-6c54-46e5-8dda-4cc23f9d4234)...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:284:24: Vuforia: deinitializing...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:296:20: Vuforia: Resuming session argon:manager...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:311:24: Vuforia: initializing...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:313:28: Vuforia: Init Result: 100
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:327:28: Vuforia: initializing camera device...
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:330:28: Vuforia: initialized camera device
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:343:28: Vuforia: started camera
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:347:32: Vuforia: loaded data sets
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:367:28: Vuforia: started objectTracker
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:67:24: sessionService.connectEvent
CONSOLE LOG file:///app/components/common/argon-vuforia-provider.js:212:20: _selectControllingSession
CONSOLE LOG file:///app/components/common/AppViewModel.js:132:24: Argon focus changed: https://samples-develop.argonjs.io/vuforia/index.html
<unsuccessful load>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant