Closed GoogleCodeExporter closed 9 years ago
Tested with the current version of DoTween and with the last test version in
the Flash support issue, the same happens.
Original comment by fer...@gmail.com
on 23 Aug 2014 at 4:58
Thanks for the output, which is indeed quite messy. I'm leaving it to medium
priority because all these errors seem due to IL2CPP being a terrible mess
right now (which we knew would happen, at least initially), so I'll wait and
see how they develop it in the near future. Should it still be a terrible mess
when Unity 5 will be out, I'll start sending bug reports and working on
parallel :P
Original comment by daniele....@gmail.com
on 23 Aug 2014 at 6:02
[deleted comment]
Are you using Linq or another dependece that has extension methods? because I
was investigating a lot, and I managed to replicate the error, it seems that
the only non supported feature is extension methods. I've made 2 assets
compatible with webgl only changin extension methods to static methods and
replacing Linq.
I know you don't want to add Webgl support for the moment, so can you tell me
how to compile the dll of HOTween or what to read to lern that? maybe you know
a good tutorial, I've never compilled a DLL before. I want to release a non
oficial version with the support.
Original comment by fer...@gmail.com
on 25 Aug 2014 at 1:58
No Linq, both because I know it can cause compatibility issues and because it's
slow (for a tween engine at least, where I use every possible trick to achieve
a better performance).
Instead I use a lot of extension methods, both because without them there would
be no shortcuts and because they allow to keep the actual tween classes much
lighter.
If the problem is just extension methods that is actually good. Extension
methods are just syntactic sugar, and I'm sure Unity will implement them before
WebGL comes out of alpha (also because they directly show how to use them in
their tutorials:
http://unity3d.com/learn/tutorials/modules/intermediate/scripting/extension-meth
ods).
About compiling a DLL it's pretty easy. Just download the trunk (you only need
the DOTween folder and the "DOTween.sln" file) and open the solution file with
Visual Studio or MonoDevelop. Everything is already setup for a build, except
you'll probably A) want to change the Build Events (in the corresponding tab of
DOTween's project properties in VS - I don't think MonoDevelop has them so you
can just ignore them), B) change the UnityEngine reference to where your
UnityEngine.dll is to be found. After that you can just press build.
*About releasing a not official version* instead, *please don't do that*. You
can modify it for personal usage, but I have to ask you not to redistribute it.
Original comment by daniele....@gmail.com
on 25 Aug 2014 at 11:27
With the latest Unity 5 beta it finally works. Big kudos to #fermmm for pushing
Unity to fix all issues.
Original comment by daniele....@gmail.com
on 21 Nov 2014 at 5:35
Original issue reported on code.google.com by
fer...@gmail.com
on 23 Aug 2014 at 4:56