Comments (27)
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.
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.
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.
Good luck with your bug then ;)
Original comment by [email protected]
on 8 Jan 2013 at 7:30
from hotween.
Original comment by [email protected]
on 8 Jan 2013 at 7:31
- Changed state: Invalid
from hotween.
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.
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.
Sure.
Original comment by [email protected]
on 8 Feb 2014 at 12:20
from hotween.
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.
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.
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.
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.
That's really appreciated Daniele !
Original comment by [email protected]
on 26 Feb 2014 at 6:10
from hotween.
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.
Original comment by [email protected]
on 6 Mar 2014 at 1:03
- Changed state: DataNeeded
from hotween.
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.
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.
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.
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.
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.
Solved by using HOTweenMicro
Original comment by [email protected]
on 7 Mar 2014 at 2:16
- Changed state: Fixed
from hotween.
What's HOTweenMicro?
Original comment by [email protected]
on 7 Mar 2014 at 2:34
from hotween.
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.
Ok I see it, thanks !
Original comment by [email protected]
on 7 Mar 2014 at 2:44
from hotween.
Worked perfectly for me. Thank you, fantastic support!
Original comment by [email protected]
on 7 Mar 2014 at 4:15
from hotween.
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.
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)
- Hotween micro non linear ease type with curved path HOT 2
- Add loop delay for simple Tweeners
- Fails Supported API test for Windows Store HOT 1
- Visual Editor: wrong DLL referenced with HOTweenMicro and Windows 8 Store HOT 3
- Please add "_TintColor" to material color tweening HOT 4
- Null Reference Exception HOT 2
- PlugVector3Path OrientToPath2D HOT 12
- ABSTweenPlugin is allocating 20B each frame (base on Unity Profiler). Maybe, I have a way to avoid this. HOT 4
- Tween inside sequence have wrong from value HOT 1
- Building for Windows Store 8.1 with Micro produces many errors HOT 39
- HOTween OnComplete after the object is destroyed HOT 3
- Bug identified as #75 closed today has been closed but not fixed. HOT 1
- Does not show Visual Editor HOT 3
- Fail when running on Windows Store App HOT 30
- HoTween not moving objects after reloading the scene from another scene. HOT 2
- SpeedBased tween has innacurate timing HOT 5
- SetValue cause garbage allocation every frame HOT 4
- HOTween.TimeScaleIndependentUpdate is allocating 9B every frame HOT 1
- A bug about HOTween Reverse HOT 8
- Tweens playing automatically, even when 'Auto' turned off HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotween.