Log in or register to post comments

Updated Vuforia

October 8, 2018 - 2:03pm #1

So I updated Vuforia 7-5-20

Now I cant reference my scripts because my singletons and monobehaviours both scream in the console that "The name `SomeManager' does not exist in the current context. When it previously did and works everywhere else. Just not in the DefaultTrackableEventHandler.cs script. I am doing some custom stuff to only show the Renderer if something in one of those scripts is set to something. I have no set name spaces at all. Even if I do something like below it tells me I need a reference.

public SomeManager someManager; <--- says the namespace doesn't exist and its a monobehaviour with that name.

Does anyone know why this is happening since updating Vuforia?

 

I've seen the note above about known issues but I am on the latest version and it is still doing it.

Updated Vuforia

November 11, 2019 - 8:22pm #8

I have just encountered the exact same issue. I don't understand why do we have to roll back Vuforia??

I am using Unity 2019.2.10f1 and Vuforia 8.5.9

Why haven't this been fixed? What prohibits the developer team from fixing this?

In general, I have found that Vuforia / Unity are very sensitive in terms of which versions are being used together.

I would like to know, @Medabit , how do we in fact map the SDK version to the Unity version? Is there a list of which versions are most compatible?

 

Edit: same issue with Vuforia 8.5.8; 8.3.9; 8.1.12 in Unity 2019.2.10f1;

same with Vuforia 8.5.9 in Unity 2019.3.0b10; Vuforia 8.3.9 in Unity 2019.1.14f1

What's going on? What if I don't want to / cannot downgrade my Unity version?

Updated Vuforia

February 4, 2019 - 9:01am #7

I also try to modify OnTrackingFound of defaultTrackableEventHandler.cs (Assets/Vuforia/Scripts) using my own classes implemented in Assets and I get :

CS0103, does not exist in the current context.

How can I make my own class visible ?

I have created a namespace for my class but the namespace is not visible in defaultTrackableEventHandler.cs using "using myNamespace;"

I hae the same problem using the latest official versions of Vuforia and Unity, and even beta versions of Unity.

 

Updated Vuforia

October 16, 2018 - 7:56am #6

I had to downgrade as well. Kind of silly this was rolled out this way.

Updated Vuforia

October 9, 2018 - 6:33pm #5

thank you, i just reinstall only the vuforia component in the same folder that the new version, and this not resolve the problem, but when i turned back into an old version of my project (i try to generate a backup always than i apply some critical changes) and it's works fine now,

thank you again

kind regards, and i hope thats work for who's opened this support case

 

(and sorry for my bad english, im from Argentina, i hope you understand me)

Updated Vuforia

October 9, 2018 - 1:48pm #4

Hello,

You can downgrade Vuforia by reinstalling the previous version of Unity and not accepting the upgrade notice. If you need help mapping the SDK version to the Unity version you'd like to revert back to, let me know.

Thanks,

Vuforia Engine Support

Updated Vuforia

October 9, 2018 - 8:27am #3

mrekuc wrote:

Anyone? This is rediculous. Updated Unity to see if it fixed the problem but I keep getting The name "scriptname" does not exist in the current context when using it in the DefaultTrackableEventHandler script

 

i have the same error, before update vuforia i can access a pubic static class inside the OnTrackingFound() function. 

 

I created the class like this:

----------------------------------------------------------------------

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.UI;

 

public class GameAdmin : MonoBehaviour {

public static GameAdmin instance;

void Awake () {

  instance = this;

}

-----------------------------------------------------------------------

 

I access the class like this:

-----------------------------------------------------------------------

protected virtual void OnTrackingFound()

{

GameAdmin.instance.someVariable=someValue;

GameAdmin.instance.doSomething();

}

-----------------------------------------------------------------------

 

Today i update Vuforia on 7.5.20 Version and now the script doesnt work.

 

Please give us a solution or tell me how i can to downgrade the vuforia version

 

 

Updated Vuforia

October 9, 2018 - 6:37am #2

Anyone? This is rediculous. Updated Unity to see if it fixed the problem but I keep getting The name "scriptname" does not exist in the current context when using it in the DefaultTrackableEventHandler script

Log in or register to post comments