Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mishaps

Pages: [1] 2 3 ... 5
1
NGUI 3 Support / Re: dynamic fonts disappearing in editor NGUI 3.9
« on: June 14, 2015, 01:18:48 AM »
Looks like Unity being Unity again.

When you hit save, it wipes the contents of the dynamic font's texture. There is no callback of any kind that occurs as far as I can tell. It just decides that it's not used, and wipes it. It's a Unity bug and should be reported to them as it works fine in Unity 4.

It's unfortunate nobody is able to find a work-around, unity bug or not. It's very difficult to work with and TBH really gets me thinking about switching to UGUI faster. Best products are the ones dev help us all work-around unity's shortcomings. Kinda the original spirit of NGUI, I felt anyways.

2
NGUI 3 Support / dynamic fonts disappearing in editor NGUI 3.9
« on: June 08, 2015, 03:22:06 AM »
Since Unity 5, everytime I save or alt-tab into unity all the UILabels with dynamic fonts disappear. This is cumbersome and frustrating to work with.

I understand from other forum posts and the changelog that this is suppose to be fixed. However, this bug still seems to be present in NGUI 3.9 with Unity 5.0.2p3.

Perhaps I'm missing some tick box or something?

3
NGUI 3 Support / Re: NullReferenceException after running
« on: November 03, 2014, 04:34:07 AM »
yea I've experienced this issue too in unity 4.5.5p3. Downgrading back to unity 4.5.5p1 makes it go away for now.

4
NGUI 3 Support / Re: change UI2DSprite's sprite at runtime broken?
« on: September 16, 2014, 06:23:19 PM »
Great, thanks for the repro aren.  8)

UI2DSprite is fine. UIButton's auto-assigned sprite was overriding it. I just assign my new sprite to UIButton.normalSprite2D instead and everything's good. Cheers.

5
NGUI 3 Support / Re: change UI2DSprite's sprite at runtime broken?
« on: September 16, 2014, 01:12:00 AM »
thanks for the quick reply Aren, you assume right!  ;D here's the code I'm using:

  1. public class assignSpriteTest : MonoBehaviour {
  2.  
  3.         public UI2DSprite my2DSprite;
  4.         public UnityEngine.Sprite newSprite;
  5.  
  6.  
  7.         public void OnClick ()
  8.         {
  9.                 Debug.Log ("my2DSprite.sprite2D.name= " + my2DSprite.sprite2D.name);
  10.                 my2DSprite.sprite2D = newSprite;
  11.                 Debug.Log ("my2DSprite.sprite2D.name= " + my2DSprite.sprite2D.name);
  12.         }
  13. }

when I click the button this script is assigned to, the console outputs:
my2DSprite.sprite2D.name= (original sprite's name)
my2DSprite.sprite2D.name= (newSprite's name)


Which seems to me like everything works fine except the original-sprite is still visible, not the new one. Help!

6
NGUI 3 Support / change UI2DSprite's sprite at runtime broken?
« on: September 15, 2014, 02:23:13 AM »
I'm trying to change a sprite at runtime but it doesn't work. I set my2DSprite.2DSprite to a unityengine.sprite but it never seems to appear on the screen?

7
NGUI 3 Support / trouble configuring multiple UICamera's
« on: September 05, 2014, 08:30:38 PM »
I want to to have a second UI with "Allow Multitouch" disabled but all the controls are hidden and it says "All other settings are inherited from the First Camera". Anyone else had any luck doing this?

8
NGUI 3 Support / NGUI vector-graphics and benzier-curves
« on: June 24, 2014, 03:41:00 AM »
Best is itween splines and parenting widgets to it.

Had more luck yourself?

9
NGUI 3 Support / Re: ease-in / ease-out missing from tweens?
« on: June 21, 2014, 01:05:54 AM »
update: The tween component's anim-curve resets to default every time I call it to play... I found I can add a curve variable to my script and override the tween's anim-curve each time I play.  :o

public AnimationCurve myCurve;
TweenPosition.Begin (gameObject, time, targetPos);
GetComponent<TweenPosition>().animationCurve = myCurve;

10
NGUI 3 Support / ease-in / ease-out missing from tweens?
« on: June 21, 2014, 12:36:13 AM »
TweenPosition.Begin (...) animates flat without ease-in/ease-out. Why is it so useless? Do ppl just use iTween or something? It seems to have HEAPS of easing options.

11
yea looks like font maker is broken

12
ok. thanks for the info.

Does the Generate Bitmap option in Font Maker work on mac? It said error FreeType.dylib is missing so I clicked the button and located it inside the NGUI folder in my project but nothing happened, it still says error.

13
art direction is text with black outline and black shadow. Seems UILabel can only do one or the other.

14
NGUI 3 Support / Re: Inspector Look "Unified" bugs Anchors
« on: June 06, 2014, 09:02:54 PM »
I have a similar bug when setting the inspector look to "Unified". I am unable to change the aspect-ratio of a UISprite (it is stuck on "free"). If I switch back to traditional then I can change the aspect-ratio-setting.

15
I too am experiencing this issue. Everytime I drag a scrollveiw it initially jumps back to the x-pos it started at. Creates a jarring affect for the user and I need a fix before I can publish.

EDIT: I am also now having trouble with UISlider. The thumb is stuck in place - dragging it no longer works. I can tap different places on the slider to make the thumb jump there but cannot drag the thumb itself.
I have since reverted to a backup before I switched everything to 2D-colliders and both of these bugs are no longer there. Unity 4.5.0 and NGUI 3.6.1c. Hope this helps.

Pages: [1] 2 3 ... 5