Playmaker Forum
Archived Boards => Windows Phone 8 Help => Topic started by: mrgrey on August 24, 2013, 08:28:50 AM
-
Hi, I have set up a simple sample scene to test iTween on my phone. I have a plane and a cube. At 2 second intervals the cube will bounce up into the air (add force to Y) and then, through physics it will bounce softly to settle back on the plane. This works fine on both PC and my WP8 device. I then added iTween Rotate Add to the cube so while it is in the air it spins somewhat, lands, waits a little and then repeats. This works fine on my PC but when I build and deploy it to my Lumia 920 it bounces up once (and settles back) and then nothing. It doesn't add the iTween Rotate to the cube and does not repeat. Is there a problem with using iTween on the WP8 platform?
I am new to developing so I may have done something totally stupid :P
-
Hi,
I am soon going to be able to test on Lumia 920, meanwhile, do you see anything in the unity logs when you play it on the device?
Have you tried hotween? It has playmaker support:
http://hutonggames.com/playmakerforum/index.php?topic=2299.msg10104#msg10104
bye,
Jean
-
Thanks for the quick reply Jean
As I said I am fairly new to Unity and Playmaker so I don't know how to see unity logs on the device when I play it. Ignore me, just found how to do this: I get the following -
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)
Hotween looks like an interesting alternative...I'm just not sure how to add it to Playmaker and how to use it
I also have an Android tablet on which to test, so I rebuilt the scene for my Tablet, deployed it and it works as intended, so I'm assuming it is the Lumia not playing nicely >:(
-
Hi,
I think you are facing what we are trying to fix with iTween. Let me get back to you on this.
As for hotween. simply get hotween and the playmaker custom actions. Hotween works differently then iTween, but it has a visual editor, so basically, you can visually configure the tweening properties.
But first, wait for me to get back to you, I may have what you need.
Bye,
Jean
-
Thanks again Jean. I must say I am so pleased I invested in Playmaker, its a fantastic tool which has gotten me up to speed so much quicker than trying to learn to code from scratch and as you have shown the support here is second to none.
-
Thanks again Jean. I must say I am so pleased I invested in Playmaker, its a fantastic tool which has gotten me up to speed so much quicker than trying to learn to code from scratch and as you have shown the support here is second to none.
Thanks mrgrey! If you felt like posting a review on the asset store that would be great ;)
There are still some quirks in Unity support for Windows Phone 8. I did some tests with iTween and it seemed to run okay, but it might need some tweaks to run properly. We're helping the author make a version of iTween for Windows 8 Store. Maybe that will run better on Windows Phone 8... I'll do some more tests...
-
Hi Alex, thanks again for Playmaker...having such a blast with it.
I would love to leave a review on the Asset store but I bought it directly from your site - for some reason the asset store crashes my Unity so I try not to use it.
Looking forward to any iTween updates
-
Hi,
I am soon going to be able to test on Lumia 920, meanwhile, do you see anything in the unity logs when you play it on the device?
Have you tried hotween? It has playmaker support:
http://hutonggames.com/playmakerforum/index.php?topic=2299.msg10104#msg10104
bye,
Jean
Hey Jean, finally figured out how to get HOtween working with my Unity3d. Tried a quick test and it also does not work with WP8. I get this error:
Error building Player: Exception: Error: type `System.Reflection.Emit.AssemblyBuilder` doesn't exist in target framework.
Again, it works fine with Android :-(
-
Hi,
uhm... I'll have a look. Sounds like a lot of framework will have trouble reaching W8..
Bye,
Jean
-
I don't think Unity is quite ready for wp8. Looking at the alternatives I don't see much of a market on Android, too much app piracy to be worth the time to develop for. My other option is iOS and, as such, I have bought a second hand iMac from eBay tonight. Hopefully I can design and develop on my current pc, then transfer the project to the mac for deployment, and put the wp8 development on the back burner until both it and unity are a more mature match.
-
Just wondering if there's any update on getting iTween/Playmaker working in WP8? I just picked up both Playmaker and the WP8 Add-on today, and of course, the first thing I do is implement iTween and realize it doesn't work on WP8 :/ Would love to see this working!
Thanks, and keep up the good work!
-
Hi,
WP8 is indeed in its beginning.
As for iTween support, we are very actively looking for the proper way to provide playmaker user with a working system. So stay tune, it's coming real soon.
bye,
Jean
-
Hi,
Just stumbled upon this thread. I have a working package for iTween support on windows, so if you need this before a release, pm me.
bye,
Jean
-
I'm getting loads of errors running my Playmaker/W8 addon game in the Visual Studio emulator. Do you think it's iTween messing around? Can I have the fix too please :D
Looks like this:
-
Hi,
yes, simply pm me with your email address, I'll send you the packages.
bye,
Jean
-
Hi,
yes, simply pm me with your email address, I'll send you the packages.
bye,
Jean
Worked great, thanks Jean.
-
I seem to be having the same issue 4ppleseed was having. I'm getting the same exact errors that appear in his screenshot. Any chance I can also get this update? I sent you a PM with my email address.
Thanks!
-
I seem to be having the same issue 4ppleseed was having. I'm getting the same exact errors that appear in his screenshot. Any chance I can also get this update? I sent you a PM with my email address.
Thanks!
If Jean is away for Xmas - PM me and I'll email it to you instead :)
-
Hi,
Did not get any pm from you. Can you resend?
bye,
Jean
-
I apologize for not responding sooner, between work and the holidays, it's been chaos. I saw that I did receive an email the other day, it ended up in my junk folder and I caught while cleaning up. I should be able to give a go later tonight.
Thanks again!
-
Has there been a status update on the iTween issues.
I just bought Playmaker and the WP8 addon with the intent of using iTween in my project.
Does it work yet?
-
Hi,
I think it does yes, Unity and windows worked together to bring back the missing api for unity projects to be truly portable, I do think that iTween is now back on track on windows platforms. The last tests I did were ok.
bye,
Jean
-
Hi guys i have problem with iTween and Playmaker on Windows Phone 8. I'm just wondering what could be causing this.
Error:
An exception of type 'System.MissingMethodException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary
The thread 0x47c has exited with code 259 (0x103).
An exception of type 'System.MissingMethodException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary
Exception: Method 'iTweenFSMEvents.iTweenOnStart' not found.
Type: System.MissingMethodException
Module: mscorlib
InnerException: <No Data>
AdditionalInfo:Invoking UnityEngine.SetupCoroutine::InvokeMember method with argument count: 3
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at UnityEngine.SetupCoroutine.InvokeMember(Object behaviour, String name, Object variable)
at WinRTBridge.MethodTools.InvokeMethod(Object instance, Int32 methodIndex, Object[] args)
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Scripting/WinRTUtility.cpp Line: 65)
Using:
Windows 8.1 64-bit
Unity 4.3.2f1
Visual studio express 2012 for Windows Phone
And newest version of the playmaker and the playmaker windows phone addon from unity assetstore.
-
To use iTween with Windows Phone 8 you have to build with at least Unity 4.3.3.
However there's this bug in Unity:
http://forum.unity3d.com/threads/223065-Unity-4-3-3-Type-GetMembers%28BindingFlags%29-crash
Which is why I imagine you're using 4.3.2.
So to use iTween you'll need to try the workarounds described on that thread, or wait for the next Unity update. I have to say it's a little annoying that Unity didn't hotfix this bug!
EDIT: You could also try the iTween patch with Unity 4.3.2:
https://hutonggames.fogbugz.com/default.asp?W1178
-
Hey! Same problem here! Can someone give me access to download that iTween patch? I got some "permission" problems. I have tried to download it a few times now, Thanks.
-
Hi,
It's odd cause you seem to be logged in to this forum since you can reply. I tried and it works. Can you try on a different computer?
bye,
Jean
-
Nope i can't download iTweenPatch.unitypackage. I need permissions first. Can you give some? :)
-
Hi,
I am really not sure what is the problem on your end, you don't need any permission really, can you see the links on that webpage?
https://hutonggames.fogbugz.com/default.asp?W1178
bye,
Jean
-
When I first uploaded the files they were pointing to files on the beta site, so would have needed permissions to download. I fixed that problem, so they should download fine now...