Jump to content

Compile error 'Event' does not contain a defnition for 'current'


jboss

Recommended Posts

Hi,

I just changed my non-VR project into a VR project to be able to use it on my Vive. I did the following steps:

Enable Virtual Reality Supported in Player settng (am using Unity 2019.4.18f1)
Installed the packge OpenXR Desktop
Selected the OpenVr SDK in Player Settings
Imported SteamVR from the Asset Store
Imported Vive Input Utility from the Asset Store

And then I got 11 compile errors, all saying 'Event' does not contain a definition for 'current' in various files, such as 
Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\ControllerTooltip\Editor\TooltipRenderDataAssetBaseEditor.cs(121,19)
Assets\HTC.UnityPlugin\Utility\Attribute\Editor\FlagsFromEnumAttributeDrawer.cs(128,35)

I figured I might need to restart Unity to reload dlls, but that did not help.

What is going wrong?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...