1
NGUI 3 Support / NGUI 3.0 UIPanel Bug
« on: October 14, 2013, 11:03:43 PM »
(Sorry. I can't English. use English a little bit.)
I have null reference bug at NGUI 3.0.2
public void Refresh ()
{
mFullRebuild = true;
list[0].LateUpdate(); <-- bug
}
My Unity3D 4.2.1 Error Message :
NullReferenceException: Object reference not set to an instance of an object
UIPanel.Refresh () (at Assets/NGUI/Scripts/UI/UIPanel.cs:663)
UITexture.set_mainTexture (UnityEngine.Texture value) (at Assets/NGUI/Scripts/UI/UITexture.cs:164)
UITextureStrategy.ChangeTexture (System.String path) (at Assets/Contents/Scripts/10-BattleScene/UITextureStrategy.cs:60)
StrategyCardCenter.SetStrategyCard (Int32 index, System.String filename) (at Assets/Contents/Scripts/StrategyCardCenter.cs:25)
BattleController.Awake () (at Assets/Contents/Scripts/10-BattleScene/BattleController.cs:44)
I have null reference bug at NGUI 3.0.2
public void Refresh ()
{
mFullRebuild = true;
list[0].LateUpdate(); <-- bug
}
My Unity3D 4.2.1 Error Message :
NullReferenceException: Object reference not set to an instance of an object
UIPanel.Refresh () (at Assets/NGUI/Scripts/UI/UIPanel.cs:663)
UITexture.set_mainTexture (UnityEngine.Texture value) (at Assets/NGUI/Scripts/UI/UITexture.cs:164)
UITextureStrategy.ChangeTexture (System.String path) (at Assets/Contents/Scripts/10-BattleScene/UITextureStrategy.cs:60)
StrategyCardCenter.SetStrategyCard (Int32 index, System.String filename) (at Assets/Contents/Scripts/StrategyCardCenter.cs:25)
BattleController.Awake () (at Assets/Contents/Scripts/10-BattleScene/BattleController.cs:44)
