Giter VIP home page Giter VIP logo

Comments (27)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Hi bjordan.

That's weird: I just finished developing a game with Unity 4 and a lot of 
HOTween inside, and the webplayer works perfectly. Could you write me an 
example line of code that generates this error? And also on what platform 
you're running the player from?

Original comment by [email protected] on 8 Jan 2013 at 7:00

  • Changed state: DataNeeded

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Yes, I'll try to reproduce it in a sample project.

Original comment by [email protected] on 8 Jan 2013 at 7:07

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Unfortunately for me, HOTween works fine in my sample project. This must be 
specific to our code, not yours.

Sorry for the bug!

Original comment by [email protected] on 8 Jan 2013 at 7:16

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Good luck with your bug then ;)

Original comment by [email protected] on 8 Jan 2013 at 7:30

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024

Original comment by [email protected] on 8 Jan 2013 at 7:31

  • Changed state: Invalid

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
I have the same issue for my webplayer. It seems that an HOTween that access to 
basics properties from Unity (transform.position for example) is working, but 
every time I'm trying to access to properties from my scripts, it causes this 
error.

Original comment by [email protected] on 6 Feb 2014 at 6:47

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Can you create a sample project that replicates this issue, so I can play with 
it and see what's happening?

Original comment by [email protected] on 8 Feb 2014 at 12:19

  • Changed state: DataNeeded

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Sure.

Original comment by [email protected] on 8 Feb 2014 at 12:20

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
I'm getting this too. Only in the web player, and only when I try to tween the 
properties of an NGUI sprite, eg "alpha". Works fine on iOS and Android 
platforms (all with Unity 4.3.1f1).

Here's a snippet that fails:

UISprite popupScreen = GameObjects.Find("PopupScreen").GetComponent<UISprite>();
popupScreen.gameObject.SetActive(true);
popupScreen.alpha = 0;
HOTween.To(popupScreen, 0.25f, new TweenParms()
           .Prop("alpha", 0.5f)
           .Delay(0.1f)
           .Ease(EaseType.EaseInOutCubic)
           );

Looking through NGUI's code (which is licensed, so I don't think I can post it 
up here), UISprite inherits it's alpha property from UIWidget:
public override float alpha { /* standard looking getter/setter here */ }

That definition overrides this alpha property from UIRect:
public abstract float alpha { get; set; }

Original comment by [email protected] on 26 Feb 2014 at 4:14

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Found a simple enough workaround, although I don't know if it's really a fix or 
not as the workaround isn't needed on iOS/Android: If I mark the property in 
question as "sealed" then it runs and tweens without raising an exception:

public sealed override float alpha { /* Getter/setter removed */ }

Original comment by [email protected] on 26 Feb 2014 at 4:22

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Thanks for bumping up this thread, I tried to recreate the issue, but I wasn't 
able to reproduce it with an empty project, even if in my real project I don't 
have any big code using HOTween.
I'm gonna try "sealed", after reading some documentation about this keyword.

Oh btw, it was a bug with NGUI too (tweening alpha property).
The only problem I see here is that I need to change the NGUI code, which is 
not a good idea in general.

Anyway, thanks again !

Original comment by [email protected] on 26 Feb 2014 at 4:27

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Thanks for the additional information deeperbeige. I'll try to create a similar 
property structure as the NGUI one (since I don't have NGUI) and see if I can 
replicate and possibly solve this error on HOTween's side.

Original comment by [email protected] on 26 Feb 2014 at 4:55

  • Changed title: VerificationException in Web Player (NGUI related)
  • Changed state: Accepted

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
That's really appreciated Daniele ! 

Original comment by [email protected] on 26 Feb 2014 at 6:10

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Hey, I can't seem to replicate this issue. Could you try to build a small 
sample project that replicates it, using the free/trial edition of NGUI?

Original comment by [email protected] on 6 Mar 2014 at 1:03

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024

Original comment by [email protected] on 6 Mar 2014 at 1:03

  • Changed state: DataNeeded

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Sure, I'll see what I can do... I know how hard it is to investigate a problem 
you can't see for yourself.

Original comment by [email protected] on 6 Mar 2014 at 3:07

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
The problem is that we need to share with you at least some NGUI code parts. I 
don't know about licences...
Maybe we should contact the guy behind NGUI.

Original comment by [email protected] on 6 Mar 2014 at 3:12

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
I'm doing a bit of investigative trimming to see if I can narrow down what it 
is about that specific property that causes the trouble. Let's see where this 
leads...

Original comment by [email protected] on 6 Mar 2014 at 3:38

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
I've just sent an example project over. Let me know if it doesn't arrive for 
any reason.

Original comment by [email protected] on 6 Mar 2014 at 4:12

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Got it thanks. Will check it out later

Original comment by [email protected] on 6 Mar 2014 at 4:38

  • Changed state: Accepted

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Solved by using HOTweenMicro

Original comment by [email protected] on 7 Mar 2014 at 2:16

  • Changed state: Fixed

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
What's HOTweenMicro?

Original comment by [email protected] on 7 Mar 2014 at 2:34

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Check it out on HOTween's website (comes with an explanation text): 
http://www.holoville.com/hotween/download.html

Original comment by [email protected] on 7 Mar 2014 at 2:39

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Ok I see it, thanks !

Original comment by [email protected] on 7 Mar 2014 at 2:44

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Worked perfectly for me. Thank you, fantastic support!

Original comment by [email protected] on 7 Mar 2014 at 4:15

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Hello,
I got this exactly same bug on the PSM version (= Vita version) :
- Exception when tweening the alpha property of a NGUI object (sprite)
- Fixed if I mark the property as "sealed"

Unfortunatly, I have tried the HOTweenMicro and it does not fix anything.

Do you think there could be any other way to fix this without changing the NGUI 
code ?


Original comment by [email protected] on 20 Aug 2014 at 12:42

from hotween.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Supersorry for the superlate reply: August was hell and I totally lost this 
post. I might have an idea on how to fix this without touching NGUI, but I 
don't have NGUI so I can't replicate it. Can you manage to replicate it with 
the free version of NGUI so you can send it to me? Or is it a specific PSM 
issue which doesn't happen in the editor?

Original comment by [email protected] on 5 Sep 2014 at 11:41

from hotween.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.