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 - xenonii

Pages: [1]
1
NGUI 3 Support / Unity 4.6.7 UILabels errors
« on: July 13, 2015, 07:21:05 AM »
Hi,
I just updated to Unity 4.6.7 and it is giving me:
  1. Assets/NGUI/Scripts/UI/UILabel.cs(910,60): error CS0618: `UnityEngine.Font.textureRebuildCallback' is obsolete: `Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'

2
NGUI 3 Support / Re: Clipping with Additive Shader
« on: May 01, 2014, 03:42:15 AM »
Having an unlit additive shader which works with clipping would be nice.
I tried doing a modified shader but was still getting pink result when inside a clipping panel. But i'm not really into shaders.
Michael Lyashenko, can you provide a working additive shader which is supported inside a clipping panel?

3
Yes I encountered it too when trying to update a big atlas (bigger than 2048x2048)
"MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UIAtlasMaker.AddSprite (System.Collections.Generic.List`1 sprites, .SpriteEntry se) (at Assets/3rd Party/NGUI/Scripts/Editor/UIAtlasMaker.cs:285)
UIAtlasMaker.ReplaceSprites (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) (at Assets/3rd Party/NGUI/Scripts/Editor/UIAtlasMaker.cs:461)
UIAtlasMaker.UpdateAtlas (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) (at Assets/3rd Party/NGUI/Scripts/Editor/UIAtlasMaker.cs:637)
UIAtlasMaker.OnGUI () (at Assets/3rd Party/NGUI/Scripts/Editor/UIAtlasMaker.cs:971)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)"

Pages: [1]