Log in or register to post comments

Vuforia gameobject menu is gone after update of Vuforia

August 8, 2018 - 6:03am #1

Vuforia SDK Version: 7.2.24 -

Description with steps to reproduce: I have tried upgrading Vuforia on both Unity 2017 and 2018 with the same result each time. I try to update Vuforia from the link under Vuforia configuration. After the update is run and I restart unity with a new project, select Vuforia under XR setting. The object menu is no longer visible in Unity after the update and cannot therefor add either ArCamera or anything else.. What could be the issue here? -

Development OS (Mac OS X, Windows, Linux): Windows 10 64 bit -

Mobile OS and Version: Android 7.1.1 -

Mobile Device Manufacturer and Model name: Google Nexus -

Do the Vuforia Sample Applications show the same behavior?: I wish I could ever run the sample app!

Vuforia gameobject menu is gone after update of Vuforia

April 17, 2019 - 6:15am #14

The Problem...

After installing Unity 2018.3.12f1 and updating to Vuforia 8.1.7 we ran into this issue, where as administrator, there was no problem with Unity or Vuforia.  As a non-admin user however, no Vuforia menus were visible.  At this stage, loading a project that already had Vuforia being used allowed the Vuforia features to work in the scenes from that project, but still no menu to create new Vuforia assets would come up.

 

The Solution...

It seems we had a corrupted ivy.xml file because we couldn't read the contents of the ivy.xml file.  When we deleted what was there, and replaced it with a copy of the same ivy.xml file from another machine that had successfully updated, our problem was solved.

 

MT

Vuforia gameobject menu is gone after update of Vuforia

November 21, 2018 - 8:27am #13

We were able to reproduce the permissions issue and will fix it for the next Vuforia release.

Thanks,

Vuforia Engine Support

Vuforia gameobject menu is gone after update of Vuforia

October 30, 2018 - 1:45am #12

So far from what I checked only ivy.xml has permissions problem. Changing it so that user or Users group has at least read rights to it, fixes the issue (either manually adding rights or enabling inheritance).

I havent checked Mac for this issue. I might do it later when I have some more spare time.

Vuforia gameobject menu is gone after update of Vuforia

October 30, 2018 - 1:40am #11

Thanks, this is super helpful!

Glad you were able to work around the problem.

I'll try to replicate your user/admin setup and see if I can reproduce this somehow to fix the issue going forward.

Did you only need to change the inheritance/access settings for the ivy.xml or for any other files as well?

Also, did you by any chance see similar issues on Mac or has this been a Windows-only problem so far?

Regarding the preselected Unity installation path:

Installers shipped by Unity are usually locked to a specific version, while the update installers for Vuforia are rolled out for a range of Unity versions.

Hence we cannot preselect your installation path - in many cases users will have multiple versions of Unity installed that they can upgrade to the latest Vuforia version.

Thanks,

Vuforia Engine Support

Vuforia gameobject menu is gone after update of Vuforia

October 30, 2018 - 1:39am #10

I have tried fresh install of Unity again (in Program Files folder) to see permissions for ivy.xml before upgrade and inheritance is enabled, so it gets Read&Execute and Read rights for Users group.

Installation in user folder (e.g.: user/Documents/Unity test) has no difference in rights or functionality before upgrade, except that files and folders inherited access rights from Documents folder (user has full rights). After all its installed with admin permission so basically its like admin has installed something into user folder.

After upgrade though its same story. ivy.xml has disabled inheritance so only SYSTEM, Admins group and admin account has access to it.

Vuforia gameobject menu is gone after update of Vuforia

October 30, 2018 - 1:16am #9

Hi,

thank you for reply. I have subscribed to this topic but for some reason I didnt get any notification.

Anyway.. here is ivy.xml of Unity 2018.2.13f1 and Vuforia 7.2.23 which comes with it

<?xml version="1.0" encoding="utf-8"?>
<ivy-module version="2.0">
  <info version="2018.2.13" organisation="Vuforia" module="UnityExtensions" e:packageType="UnityExtension" e:unityVersion="2018.2.13f1" xmlns:e="http://ant.apache.org/ivy/extra" />
  <publications xmlns:e="http://ant.apache.org/ivy/extra">
    <artifact name="Managed/Editor/Vuforia.UnityExtensions.Editor" type="dll" ext="dll" e:guid="2f02b8764d7e3d0478249c300d6b8b6f" />
    <artifact name="Managed/Runtime/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="8a9a760f95896c34689febc965510927" />
    <artifact name="Managed/Android/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="6a6b6bef66b30cf4da56a85e98aa9524" />
    <artifact name="Managed/iOS/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="bab6fa851cf5a1a4bba3cec5f191cb8e" />
    <artifact name="Managed/WindowsStoreApps/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="1e108ae5f2133934f948edded555f03e" />
  </publications>
</ivy-module>

 

here is ivy.xml of Unity 2018.2.13f1 and Vuforia 7.5.26

<?xml version="1.0" encoding="utf-8"?>
<ivy-module version="2.0">
  <info version="2018.1" organisation="Vuforia" module="UnityExtensions" e:packageType="UnityExtension" e:unityVersion="2018.2.13f1" xmlns:e="http://ant.apache.org/ivy/extra" />
  <publications xmlns:e="http://ant.apache.org/ivy/extra">
    <artifact name="Managed/Editor/Vuforia.UnityExtensions.Editor" type="dll" ext="dll" e:guid="2f02b8764d7e3d0478249c300d6b8b6f" />
    <artifact name="Managed/Runtime/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="8a9a760f95896c34689febc965510927" />
    <artifact name="Managed/Android/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="6a6b6bef66b30cf4da56a85e98aa9524" />
    <artifact name="Managed/iOS/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="bab6fa851cf5a1a4bba3cec5f191cb8e" />
    <artifact name="Managed/WindowsStoreApps/Vuforia.UnityExtensions" type="dll" ext="dll" e:guid="1e108ae5f2133934f948edded555f03e" />
  </publications>
</ivy-module>



I actually compared ivy.xml files during my testing process before and it is interesting that after vuforia is upgraded I cant open ivy.xml in notepad++. It gives generic error "Can not open file "$STRT_REPLACE". Classic win notepad gives error about permission. I also tried to edit it manually and replace after upgrade file with before upgrade file as only change is in "info - version", but nothing happened.

And obviously there is also error in Unity editor log, saying: "Error parsing module from C:\Program Files\Unity 2018.2.13f1\Editor\Data\PlaybackEngines\VuforiaSupport\ivy.xml. Access to the path "C:\Program Files\Unity 2018.2.13f1\Editor\Data\PlaybackEngines\VuforiaSupport\ivy.xml" is denied."

 

Previously I was checking only VuforiaSupport folder access rights and as I said before, there was nothing wrong with it. But now I checked also files since you mentioned logs and there is access issue for that xml file. Seems like files have Read&Execute and Read rights for the user (Users group) but xml file has no permissions for user or Users group at all. Only SYSTEM, Admins group and admin account have full access to it. Inheritance is disabled for that file but it is enabled for all other files. I have enabled it to get rights from parent folder (Program Files in this case) and it seems like now I can access file normally with notepad++ and notepad. Also Unity has access to Vuforia as before upgrade. So far things seems to be working correctly after I changed inheritance for ivy.xml. Probably just adding user or Users group for Read&Execute and Read would work as well. Let me know if you still need Unity Editor log file.

 

There is also one thing. When I install Unity without Vuforia support and then I try to install 7.2.23, I have preselected correct Unity folder (2018.2.13f1) in the installer. When I try to install 7.2.26 or upgrade to 7.2.26, Unity folder is not preselected and I always have to find it manually. Some registry thing perhaps?

Vuforia gameobject menu is gone after update of Vuforia

October 29, 2018 - 3:32am #8

Hi,

Can you please share the following to help us debug this issue:

  • The Unity Editor log after opening a Unity project with an updated Vuforia version under the user account
  • The ivy.xml found in your Unity installation folder /Editor/Data/PlaybackEngines/VuforiaSupport (again, after upgrading Unity).

Can you please also verify that installing Unity in a folder where the User account has full access rights (instead of using Program Files) works without that issue?

Thanks,

Vuforia Engine Support

 

Vuforia gameobject menu is gone after update of Vuforia

October 26, 2018 - 10:52am #7

Hello,

Thank you for all the detailed feedback and updated information. This is real head-scratcher as I can tell you that to-date, nobody in our office has ever run into a similar issue. And we've upgraded Vuforia hundreds of times and many, many machines.

Let me further socialize your issue to the larger team to see if there is any additional feedback. I'll respond here if I have any information that is actionable, or if there are additional questions for you.

Apologies for the inconvenience.

Thanks,

Vuforia Engine Support

Vuforia gameobject menu is gone after update of Vuforia

October 25, 2018 - 4:30am #6

UPDATE

I tried all kind of combinations or fresh install, upgrade, downgrade, run as admin, install as admin, etc, ..... . And no luck at all with "user" account. But I also logged in as admin (different win user account) and installed fresh Unity 2018.2.13f1 and then run upgrade of Vuforia to 7.5.26. Upgrade was successful and I could see Vuforia version 7.5.26 in Vuforia config in Inspector. Every time after install or upgrade, I created new Unity project.

Assuming that now everything works nicely I went back to "user" account and after enabling Vuforia in Project settings, nothing happens.

 

Meaning that

  1. Running "UnitySetup-Vuforia-blablab.exe" as admin (Run as Administrator) from context menu while being logged in as user is NOT exactly the same as being logged as admin and then running the upgrade file. Obviously something with file permissions.
  2. Vuforia runs perfectly OK while Unity is used under admin or user account (without Run as Administrator) before upgrade, but it doesnt run at all after upgrade if used under user account. Again obviously something with file permissions.

So this is probably not something what Vuforia can change but there should be at least some info for those who cant use admin account for various reasons.

 

Now.. what are the solutions? As I said earlier it seems that "VuforiaSupport" folder + all files of it, located in c:\Program Files\Unity 2018.2.13f1\Editor\Data\PlaybackEngines\ have same permissions before and after upgrade. So in theory there shouldnt be any difference before and after upgrade. Is there still some other folder/file which is updated during upgrade process? I have seen Vuforia references in several dll files (GetPlatformVuforiaEnabled, SetPlatformVuforiaEnabled, ...) but nothing I can do with those anyway.

Vuforia gameobject menu is gone after update of Vuforia

October 25, 2018 - 3:49am #5

This problem has been mentioned several times here or in Unity forums, yet every time the answer is "we couldnt replicate".

While I understand that its nearly impossible to debug something what doesnt happen on your side, its clear that there is some issue. I have had same problem with upgrades with other (older) versions of Unity and Vuforia and it was always with same result. Vuforia seems to be unavailable after upgrade. I never resolved it and just sticked to older version of Vuforia. But now I need to test something in newest one and I cant get it working.

 

I am trying it in Unity 2018.2.13 (f1) which comes with Vuforia 7.2.23. Then upgrade to Vuforia 7.5.26. So far what I have tried:

  • Fresh install of Unity then enable Vuforia + import assets then upgrade
  • Fresh install of Unity then upgrade
  • Fresh install of Unity without Vuforia then install 7.2.23 + import assets then upgrade
  • Fresh install of Unity without Vuforia then install 7.5.26
  • Remove VuforiaSupport folder from PlaybackEngines after fresh install, then upgrade

None of these worked at all and result is still the same.. as soon as 7.5.26 is added, Vuforia is not available.

I have looked into file permission, but there is no diff between permissions of 7.2.23 and 7.5.26 at all. Assuming that "c:\Program Files\Unity 2018.2.13f1\Editor\Data\PlaybackEngines\VuforiaSupport" is the only place where Vuforia places itself. If there is some other place, please let me know.

I tried to look into folder naming and tried with "Unity", "Unity_2018.2.13f1" and "Unity 2018.2.13f1". Every time I uninstalled Unity (that version) and installed if freshly to new location. Note that I have several Unity versions (5.6.1, 2017.1.*, 2017.2.*, 2018.1,*) placed in Program Files folder, each in separate folder and they all work just fine. However upgrade of Vuforia is always an issue, regardless of Unity or Vuforia version. I dont use Unity HUB. Projects are stored separately in respective Unity folders in User's documents. E.g.: "c:\Users\Someone\Documents\Unity\Unity 2018.2.13\Project A", "c:\Users\Someone\Documents\Unity\Unity 2017.3.0\Project B", "c:\Users\Someone\Documents\Unity\Unity 2017.1.1\Project C" and so on.

It is also interesting that when I install then upgrade and Vuforia doesnt work after it, I can just replace VuforiaSupport folder in "c:\Program Files\Unity 2018.2.13f1\Editor\Data\PlaybackEngines\" with older version of folder which I previously stored somewhere else and suddenly Vuforia works but obviously offers upgrade. As I said, files and folders permissions are ok as far as I know.

I am on Win10 machine, with user account who is not admin but I have admin password and everytime I install Unity of Vuforia it asks for admin password. "Admin(s)" have full access to all Unity and Vuforia files. "User(s)" have read and execute rights. Unity is not run as admin but normally and everything works until upgrade.

 

This issue really needs to be investigated as there are plenty of people with this problem and there is something (probably stupid) what is causing it. New version of files are there but not usable by Unity for some reason. Or maybe you need to finally make a decision about going as package instead of engine.

Vuforia gameobject menu is gone after update of Vuforia

August 9, 2018 - 10:38am #4

Hello,

I tried to replicate your issue but could not. I've upgraded Vuforia multiple times and in multiple versions of the Unity Editor and have never seen this issue.

Sorry I cannot be of more help. I will try and keep an eye out for it in the future.

-Vuforia Engine Support

Vuforia gameobject menu is gone after update of Vuforia

August 9, 2018 - 5:29am #3

The steps that you describe there, is exactly what I did in the first place and the reason why it is not working anymore. Oh, after the update I do not have a menu option for "Window->Vuforia Configuration" either in addition to all the options under GameObject->Vuforia" being gone.

Vuforia gameobject menu is gone after update of Vuforia

August 8, 2018 - 11:16am #2

Hello,

Being able to replicate this issue in the Vuforia samples is key to better understanding the possible causes. Seeing your comment "I wish I could ever run the sample app!" makes me think you are blocked from using them.

First, to upgrade the version of Vuforia embedded in the Unity Editor, please follow these steps:

  1. Open the Unity Editor
  2. Select Window->Vuforia Configuration
    • If there is an error message about Vuforia not being enabled, please follow the instructions and restart this process
  3. If your version of Unity is eligible for a Vuforia update, you'll see a message and link to download the installer
  4. Download and extract installer executable from downloaded ZIP file
  5. Run the installer executeable
    • For Windows, select the folder that corresponds to the installed version of the Unity Editor that is eligible for the Vuforia update. Ex: C:\Program Files\Unity_2018.1.4f1
    • For Mac, select the drive
      • Note that for Mac, the installer executable will default to /Applications/Unity. This is a limitation of the Unity installer scripts. If you have multiple Unity application directories in this path, rename the target Editor version temporarily to /Applications/Unity to complete the installation
  6. Restart the same version of the Unity Editor in Step #1
  7. Verify the update in the Unity Editor via Window->Vuforia Configuration

If you have any previously installed Vuforia samples, you'll also want to download the updated versions of those from the Asset Store. This last point is important as the samples change to remain compatible with the SDK.

Thanks,

Vuforia Engine Support

Log in or register to post comments