Reputation: 21
Help me about this error please I searches a lot but found nothing.
/*====== Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Qualcomm Confidential and Proprietary =========*/
using System.IO;
using UnityEditor;
namespace Vuforia.EditorClasses {
/// <summary>
/// class wrapping a JS functionality to unzip a file, registers itself at the Unzipper Singleton to provide the functionality.
/// </summary>
[InitializeOnLoad]
public class SharpZipLibUnzipper : IUnzipper {
/// <summary>
/// register an instance of this class at the singleton immediately
/// </summary>
static SharpZipLibUnzipper() {
Unzipper.Instance = new SharpZipLibUnzipper();
}
public Stream UnzipFile(string path, string fileNameinZip) {
#if !EXCLUDE_JAVASCRIPT
return Unzip.Unzip(path, fileNameinZip);
#else return null;
#endif
}
}
}
Upvotes: 2
Views: 5846
Reputation: 85
Change line to reference newer version of Vuforia. THEY SHOULD HAVE CLEANED THIS UP THEMSELVES
#if !EXCLUDE_JAVASCRIPT
return Unzipper.Instance.UnzipFile(path, fileNameinZip);
#else
return null;
#endif
Upvotes: 8
Reputation: 2962
This happens when you build but get an error during the build. Vuforia tries to reimport the elements but do not find it. You can either correct the error and switch platform, and get back to the one you are building on, or relaunch the editor.
Upvotes: 0