Community Announcements

Welcome, Vive developers!


If you wish to register as a developer, visit developer.viveport.com. After registration, you will be able to post here. If you have any issues, send a PM to Rockjaw to get access.

"DllNotFoundException: viveport_api"

SOLVED
Highlighted
Contributor

"DllNotFoundException: viveport_api"

I'm very new to this Viveport development, so I apologize if this is an elementary question, but I keep getting a "DllNotFoundException: viveport_api" error inside Unity when runtime starts. I imported the Viveport Unity package and thought I had set up all the necessary calls, but I seem to be overlooking something. Anyone care to guess what I might be doing wrong?

See more topics labeled with:

1 ACCEPTED SOLUTION

Accepted Solutions
Vive Staff

Re: "DllNotFoundException: viveport_api"

hi boxmyth,

 

Are you on a 32 or 64 bit platform? Windows 10?

 

When you imported the unitypackage (you can simply double click on the .unitypackage file when you have unity open to your project) did it have both folder selected? Plugins and Viveport?

 

To test add the ViveportDemo script to one of the gameobjects (or an empty one) in your scene.

 

-Dario

 

 

4 REPLIES
Vive Staff

Re: "DllNotFoundException: viveport_api"

Hi @boxmyth, we're attempting to recreate the error now. I'll PM you if we need more info. 


- David R

Technical Specialist; San Francisco, CA

Contributor

Re: "DllNotFoundException: viveport_api"

I'm using Unity 5.4.5f1 if that matters.

Vive Staff

Re: "DllNotFoundException: viveport_api"

hi boxmyth,

 

Are you on a 32 or 64 bit platform? Windows 10?

 

When you imported the unitypackage (you can simply double click on the .unitypackage file when you have unity open to your project) did it have both folder selected? Plugins and Viveport?

 

To test add the ViveportDemo script to one of the gameobjects (or an empty one) in your scene.

 

-Dario

 

 

Contributor

Re: "DllNotFoundException: viveport_api"

Ha, yes, this was the issue. I have a (maybe bad) habit of importing new packages to new projects, then only carrying over what I think I need into my actual Unity project. I simply missed the Plugins folder in this case. Sorry about that. All good now.