Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I am using Hololens II and have trying the previously new feature which is download experience.
I able to download experience and view the downloaded experience thanks to the nice documentation below.
However, for some projects it return "download experience failed" and I noticed that the failed download experience have more than 10MB file size. Just would like to know if there are limitations for experience download.
Log:
2021-07-16T14:45:39.417+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: Medium and text "Hey View"
2021-07-16T14:45:42.078+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: Medium and text "download experience"
2021-07-16T14:45:42.083+08:00 [Information] MainPage - Action: "downloadexperience", State: ""
2021-07-16T14:45:42.097+08:00 [Debug] offlinedownload - Begin DownloadExperienceOperation for "create baseUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/, entrypoint index.html?expId=1 and zipUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/"
2021-07-16T14:47:23.399+08:00 [Debug] offlinedownload - New zip downloaded for "https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/"
2021-07-16T14:47:23.399+08:00 [Debug] offlinedownload - Extracting zip file for "https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/"
2021-07-16T14:47:23.799+08:00 [Error] offlinedownload - Error in DownloadExperienceOperation for "create baseUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/, entrypoint index.html?expId=1 and zipUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Data\Users\shasikumar.dawarajan@gmail.com\AppData\Local\Packages\9CAFC431.ThingWorxViewforHololens_fvvfpfxfdh1zr\LocalState\oe\dp\c31e67f2-2b3e-4b3a-91ba-333dc2722a1e\app\resources\_generated_\mtg\a6fa4794-b68d-4b17-a909-cd5095a57f3c_a6fa4794-b68d-4b17-a909-cd5095a57f3c.png'.
at System.IO.FileSystem.OpenHandle(String, Boolean) + 0x140
at System.IO.FileSystem.SetLastWriteTime(String, DateTimeOffset, Boolean) + 0x20
at System.IO.File.SetLastWriteTime(String, DateTime) + 0x30
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry, String, Boolean) + 0xf4
at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive, String, Boolean) + 0x17c
at System.IO.Compression.ZipFile.ExtractToDirectory(String, String, Encoding, Boolean) + 0x50
at OfflineExperiencesLibrary.ZipDownloadHelper.ExtractZipFile() + 0x48
at OfflineExperiencesLibrary.DownloadExperienceOperation.ExtractZipFile() + 0x78
at OfflineExperiencesLibrary.DownloadExperienceOperation.<InternalPerformTask>d__18.MoveNext() + 0x144
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xac
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x58
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0x28
at OfflineExperiencesLibrary.DownloadExperienceOperation.<PerformTask>d__17.MoveNext() + 0x130
2021-07-16T14:47:23.909+08:00 [Error] ScanMode - SM: Downloaded failed for: "https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/" - "index.html?expId=1"
2021-07-16T14:47:23.909+08:00 [Warning] MainPage - Downloaded failed for: "https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/" - "index.html?expId=1"
2021-07-16T14:47:31.779+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: High and text "Hey View"
2021-07-16T14:47:35.064+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: Medium and text "scan mode"
2021-07-16T14:47:35.069+08:00 [Information] MainPage - Action: "scanMode", State: ""
2021-07-16T14:47:35.069+08:00 [Debug] vuforiaplugin - VuforiaPluginImpl::CancelTasksAndListeners()
2021-07-16T14:47:35.069+08:00 [Debug] VuforiaHandler - Setting camera high quality: true
2021-07-16T14:47:35.069+08:00 [Information] VuforiaHandler - Restarting AR for camera quality change: true
2021-07-16T14:47:35.069+08:00 [Debug] VuforiaHandler - Stopping trackers
2021-07-16T14:47:35.069+08:00 [Information] ScanMode - Starting scanning mode.
2021-07-16T14:47:35.069+08:00 [Error] MainPage - Navigating Starting for [null]
2021-07-16T14:47:35.069+08:00 [Error] MainPage - Clearing the ms-local-stream resolver.
2021-07-16T14:47:35.074+08:00 [Information] default - Reseting VuforiaPlugin
2021-07-16T14:47:35.074+08:00 [Debug] vuforiaplugin - VuforiaPluginImpl::CancelTasksAndListeners()
2021-07-16T14:47:35.074+08:00 [Information] vuforiaplugin - cleanUp requested
2021-07-16T14:47:35.074+08:00 [Debug] vuforiaplugin - VuforiaPluginImpl::CancelTasksAndListeners()
2021-07-16T14:47:35.079+08:00 [Debug] default - HoloView2Main::cleanUp()
2021-07-16T14:47:35.079+08:00 [Information] vuforiaplugin - synchronous portion of cleanup finished.
2021-07-16T14:47:35.079+08:00 [Information] SpeechEngine - Reseting speech engine.
2021-07-16T14:47:35.079+08:00 [Debug] vuforiaplugin - Disabling event propagation to JS until experience loading is complete
2021-07-16T14:47:35.084+08:00 [Debug] HoloUI - HoloUI::DismissObject tried to dismiss non-existant item: SettingAlert
2021-07-16T14:47:35.084+08:00 [Debug] HoloUI - HoloUI::DismissObject tried to dismiss non-existant item: TargetGuideAccessory
2021-07-16T14:47:35.084+08:00 [Debug] default - HoloView2Main::cleanUp() - creating new scene
2021-07-16T14:47:35.089+08:00 [Warning] scenegraph - ~Scene destructor called.
2021-07-16T14:47:35.089+08:00 [Warning] stepbystep - ~StepByStepManager()
2021-07-16T14:47:35.144+08:00 [Debug] VuforiaHandler - losing tracking for [a6fa4794-b68d-4b17-a909-cd5095a57f3c] due to resuming vuforia.
2021-07-16T14:47:35.144+08:00 [Information] vuforiaplugin - Event suppressed while loading: trackinglost
2021-07-16T14:47:35.144+08:00 [Debug] ExtendedTracking - Resetting extended tracking
2021-07-16T14:47:35.144+08:00 [Debug] VuforiaHandler - Stopping trackers
2021-07-16T14:47:35.154+08:00 [Debug] MainPage - WebView_NavigationCompleted for [null]
2021-07-16T14:47:35.159+08:00 [Information] MainPage - (indicator) WebView_NavigationCompleted: "(null)"
2021-07-16T14:47:35.159+08:00 [Information] MainPage - NavCompleted for scanmode
2021-07-16T14:47:35.162+08:00 [Information] default - Requested to swap to holoview
2021-07-16T14:47:35.162+08:00 [Warning] default - Ignoring ask to swap views -- we're already there.
2021-07-16T14:47:35.169+08:00 [Warning] ScanMode - Generating fake tracking event for already-tracked target: "a6fa4794-b68d-4b17-a909-cd5095a57f3c"
2021-07-16T14:47:35.174+08:00 [Information] ScanMode - "trackingacquired", "a6fa4794-b68d-4b17-a909-cd5095a57f3c", "twx-dt-view"
2021-07-16T14:47:35.174+08:00 [Debug] IdentityResolution - Sending IRS request to [https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/id-resolution/resolutions/?key=urn:vuforia:vumark:a6fa4794-b68d-4b17-a909-cd5095a57f3c&aspect=holographic&aspect=AR-tracking&aspect=spatial-tracking]
2021-07-16T14:47:35.183+08:00 [Information] VuforiaHandler - Reactivating thingmark dataset.
2021-07-16T14:47:35.183+08:00 [Debug] VuforiaHandler - Starting trackers
2021-07-16T14:47:35.183+08:00 [Debug] ExtendedTracking - Disabling anchor creation.
2021-07-16T14:47:35.183+08:00 [Debug] default - ResumeAR ignored resume
2021-07-16T14:47:35.183+08:00 [Debug] HoloUI - HoloUI::DismissObject tried to dismiss non-existant item: ScreenshotAccept
2021-07-16T14:47:35.183+08:00 [Debug] HoloUI - HoloUI::DismissObject tried to dismiss non-existant item: Experiences
2021-07-16T14:47:35.284+08:00 [Information] SpeechEngine - Deleting temporary grammar file "C:\Data\Users\shasikumar.dawarajan@gmail.com\AppData\Local\Packages\9CAFC431.ThingWorxViewforHololens_fvvfpfxfdh1zr\TempState\b2b6f9175b800121d14706ea639faee17871a1ecb9ebc17ac52ca78065321bcd"
2021-07-16T14:47:35.333+08:00 [Debug] SpeechEngine - About to create new speech recognizer.
2021-07-16T14:47:35.366+08:00 [Debug] SpeechEngine - SpeechRecognizer created.
2021-07-16T14:47:35.384+08:00 [Information] SpeechEngine - SpeechEngine reset complete
2021-07-16T14:47:35.384+08:00 [Information] vuforiaplugin - cleanUp complete
2021-07-16T14:47:35.499+08:00 [Information] ScanMode - Done with user interaction - ScanMode.
2021-07-16T14:47:35.954+08:00 [Debug] default - Pausing AR
2021-07-16T14:47:36.009+08:00 [Debug] ExtendedTracking - Resetting extended tracking
2021-07-16T14:47:36.009+08:00 [Debug] default - about to Vuforia::onResume
2021-07-16T14:47:36.854+08:00 [Debug] default - Resuming AR
2021-07-16T14:47:36.854+08:00 [Debug] VuforiaHandler - Starting Vuforia Cameras
2021-07-16T14:47:36.854+08:00 [Debug] VuforiaHandler - Starting camera in mode: High quality
2021-07-16T14:47:37.759+08:00 [Debug] VuforiaHandler - Camera started. Resolution: 1920,1080
2021-07-16T14:47:37.764+08:00 [Debug] VuforiaHandler - Starting trackers
2021-07-16T14:47:43.084+08:00 [Information] App - App_EnteredBackground RS4: True
2021-07-16T14:47:43.100+08:00 [Information] App - App_OnSuspending RS4: True
2021-07-16T14:47:43.100+08:00 [Information] App - Suspending subsystems
2021-07-16T14:47:43.100+08:00 [Information] default - app suspended - changing currentView to webView
2021-07-16T14:47:43.100+08:00 [Debug] SpeechEngine - SpeechEngine Uninitialize requested
2021-07-16T14:47:43.100+08:00 [Debug] SpeechEngine - SpeechEngine Uninitialize starting
2021-07-16T14:47:43.769+08:00 [Debug] SpeechEngine - SpeechEngine Uninitialize finished
2021-07-16T14:47:43.785+08:00 [Debug] VuforiaHandler - SuspendARIfNeeded calling PauseARAsync
2021-07-16T14:47:43.789+08:00 [Debug] VuforiaHandler - Stopping trackers
2021-07-16T14:47:44.409+08:00 [Debug] default - Pausing AR
2021-07-16T14:47:46.159+08:00 [Information] hololog - Copying log file VuforiaViewLog-20210713.txt to CameraRoll.
2021-07-16T14:47:46.159+08:00 [Information] hololog - Copying log file VuforiaViewLog-20210714.txt to CameraRoll.
2021-07-16T14:47:46.159+08:00 [Information] hololog - Copying log file VuforiaViewLog-20210716.txt to CameraRoll.
I saw a customer download more than 500Mb experience.
For your case, it seems that you are using a trial version and the below path does not exist anymore.
2021-07-16T14:47:23.799+08:00 [Error] offlinedownload - Error in DownloadExperienceOperation for "create baseUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/, entrypoint index.html?expId=1 and zipUri https://6bbeb72ff4aec16a.studio-trial.vuforia.io/ExperienceService/content/projects/incmodel/"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Data\Users\shasikumar.dawarajan@gmail.com\AppData\Local\Packages\9CAFC431.ThingWorxViewforHololens_fvvfpfxfdh1zr\LocalState\oe\dp\c31e67f2-2b3e-4b3a-91ba-333dc2722a1e\app\resources\_generated_\mtg\a6fa4794-b68d-4b17-a909-cd5095a57f3c_a6fa4794-b68d-4b17-a909-cd5095a57f3c.png'.
at System.IO.FileSystem.OpenHandle(String, Boolean) + 0x140
Hi @Jimwang ,
We just bought Vuforia Studio and tried offline viewing, but still if fail to download.
2021-09-16T19:05:51.039+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: High and text "Hey View"
2021-09-16T19:05:57.094+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: High and text "Hey View"
2021-09-16T19:06:00.909+08:00 [Debug] SpeechEngine - Speech recognition result generated with confidence: High and text "download experience"
2021-09-16T19:06:00.925+08:00 [Information] MainPage - Action: "downloadexperience", State: ""
2021-09-16T19:06:00.944+08:00 [Debug] offlinedownload - Begin DownloadExperienceOperation for "create baseUri https://.../ExperienceService/content/projects/section-4/, entrypoint index.html?expId=1 and zipUri https://.../ExperienceService/content/projects/section-4/"
2021-09-16T19:06:04.243+08:00 [Debug] offlinedownload - New zip downloaded for "https://.../ExperienceService/content/projects/section-4/"
2021-09-16T19:06:04.243+08:00 [Debug] offlinedownload - Extracting zip file for "https://.../ExperienceService/content/projects/section-4/"
2021-09-16T19:06:04.403+08:00 [Error] offlinedownload - Error in DownloadExperienceOperation for "create baseUri https://.../ExperienceService/content/projects/section-4/, entrypoint index.html?expId=1 and zipUri https://.../ExperienceService/content/projects/section-4/"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Data\Users\shasikumar.dawarajan@gmail.com\AppData\Local\Packages\9CAFC431.ThingWorxViewforHololens_fvvfpfxfdh1zr\LocalState\oe\dp\9ab8f78a-bcfc-4e9e-9b46-d3d822820859\app\resources\_generated_\mtg\a560841c-1f80-4caf-acea-6b6e3e66736f_a560841c-1f80-4caf-acea-6b6e3e66736f.png'.
at System.IO.FileSystem.OpenHandle(String, Boolean) + 0x140
at System.IO.FileSystem.SetLastWriteTime(String, DateTimeOffset, Boolean) + 0x20
at System.IO.File.SetLastWriteTime(String, DateTime) + 0x30
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry, String, Boolean) + 0xf4
at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive, String, Boolean) + 0x17c
at System.IO.Compression.ZipFile.ExtractToDirectory(String, String, Encoding, Boolean) + 0x50
at OfflineExperiencesLibrary.ZipDownloadHelper.ExtractZipFile() + 0x48
at OfflineExperiencesLibrary.DownloadExperienceOperation.ExtractZipFile() + 0x78
at OfflineExperiencesLibrary.DownloadExperienceOperation.<InternalPerformTask>d__18.MoveNext() + 0x144
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xac
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x58
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0x28
at OfflineExperiencesLibrary.DownloadExperienceOperation.<PerformTask>d__17.MoveNext() + 0x130
2021-09-16T19:06:04.443+08:00 [Error] ScanMode - SM: Downloaded failed for: "https://.../ExperienceService/content/projects/section-4/" - "index.html?expId=1"
2021-09-16T19:06:04.443+08:00 [Warning] MainPage - Downloaded failed for: "https://.../ExperienceService/content/projects/section-4/" - "index.html?expId=1"
Actually where is the path mentioned in the log? It keeps telling "Could not find a part of the path". And I can't find it anywhere.
Regards.
Hi @Jimwang ,
Yes. I'm using trial version. We're going to buy license very soon. Just trying it out to ensure if its really work. If that the case, then it should be okay after license purchase.
Thanks!