Hi, I did a simple test scene comprising of 9 cubes which, at random times a random cube will be selected, it will jump into the air, spin and then land back on the ground - then another cube is selected at random to perform the same. I used itween to spin the cubes but when I built and deployed it Unity threw out the following into it’s log on the device when I ran the scene:
Build from ‘’ branch, version is ‘4.2.0f4 (38efbd14869d)’ (Release build).
Physical memory: 898 MB, commited memory limit: 380 MB.
Direct3D:
Version: Direct3D 11.0 [level 9.3]
Renderer: Qualcomm Adreno 225 (WDDM v1.2) (ID=0x32303032)
Vendor: Qualcomm
VRAM: 96 MB
Initialize engine version: 4.2.0f4 (38efbd14869d)
Exception: Exception has been thrown by the target of an invocation.
InnerException: Specified cast is not valid.
AdditionalInfo:Invoking System.Collections.IEnumerator::MoveNext method with argument count: 0
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[ ] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[ ] parameters, Object[ ] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[ ] parameters, CultureInfo culture)
at WinRTBridge.MethodTools.InvokeMethod(Object instance, IScriptingMethodWrapper method, Object[ ] args)
(Filename: Line: 71)
Everything else works in the scene as designed, apart from the spin.
It was suggested to me to try the HOTween tweening system but it will not go through the build stage, giving the following message:
Error building Player: Exception: Error: type System.Reflection.Emit.AssemblyBuilder
doesn’t exist in target framework.
I am fairly new to Unity3d so may have done things wrong, but I should point out the same scenes work fine when deployed to an Android device. Is there another tweening system I can use which IS compatible with WP8?