SetUnityVersion Error

February 24, 2015 - 3:34am #1


We have upgraded the existing project to Vuforia beta version by following the Migration rules.All the issues are solved except the SetUnityVersion.  

How to solve this SetUnityVersion Error ? If i commnet out the line working perfect but in future is it creates any problem ? 

Please have a look at attached reference images.

Thank you,


SetUnityVersion Error

April 20, 2015 - 3:16pm #4

If you are using 3.x SDK, then you can keep it. If you are using 4.x SDK, then it is no longer available.

SetUnityVersion Error

April 17, 2015 - 12:31am #3

It serves no purpose in our app. But instead it came along with the Package download under SampleImport.cs

Please let us know if it's safe to delete it, or please give us a solution.

This is the code in that file:

Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Connected Experiences, Inc.
using System.IO;
using UnityEditor;
using UnityEngine;
using Vuforia;
public class SampleImport : AssetPostprocessor
    // This method is called by Unity whenever assets are updated (deleted,
    // moved or added)
    public static void OnPostprocessAllAssets(string[] importedAssets,
                                              string[] deletedAssets,
                                              string[] movedAssets,
                                              string[] movedFromAssetPaths)
        // Set the Unity version for internal use
        string path = Path.Combine(Application.dataPath, "StreamingAssets/QCAR");

SetUnityVersion Error

February 24, 2015 - 6:44pm #2

That method has been removed from the QCARUnity class in the Vuforia 4.0 Unity API. What purpose did that method serve in your app?

Log in or register to post comments