TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly

Laugster
Contributor

TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly

Hello

Using Unity 2017.2

As we've imported ViveportSDK we had a lot of errors. We've fixed some, but this one is consistent: 

TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly 'ViveportSceneSdkLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.Reflection.MonoMethodInfo.GetMethodInfo (IntPtr handle) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:59)
System.Reflection.MonoMethodInfo.GetAttributes (IntPtr handle) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:75)
System.Reflection.MonoMethod.get_Attributes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:245)
System.Reflection.MethodBase.get_IsSpecialName () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:184)
UnityEditor.Build.BuildPipelineInterfaces.InitializeBuildCallbacks (BuildCallbacks findFlags) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:191)

Any idea what this comes from? 

Vive Staff

Re: TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly

@yakingkuo, can you please take a look at this? Thanks :) 

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

Vive Staff

Re: TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly

Hi Laugster: 

Currently, only Unity 5.5.2f1 is supported. For your information. 

Please try the older version of Unity and have a try. Thanks. 

Benjy1979
Visitor

Re: TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAnimations' from assembly

Hi is this still the case right now in June 2018? Just starting on Unity development and running Unity 2018 and having the same error. 

 

Edit: Ah yes I can see at the top of the scene SDK tutorial it says so. Sorry disregard this post.