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

Laugster
Contributor

TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjectAni...

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.PlayObjec...

@yakingkuo, can you please take a look at this? Thanks Smiley Happy 


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.PlayObjec...

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
New Arrival

Re: TypeLoadException: Could not load type 'Htc.Viveport.SDK.PlayObjec...

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.