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

Pages: [1]
1
NGUI 3 Support / Re: UILabels breaking
« on: September 22, 2015, 08:13:43 PM »
Add another early exit to UpdateMaterials() function in UIDrawCall.cs, line 364:
  1.         void UpdateMaterials ()
  2.         {
  3.                 if (panel == null) return; // <-- here
  4.  
  5.                 // If clipping should be used, we need to find a replacement shader
  6. ...

Ran into the same issue. All your posts on this thread fixed it for me. Thank you!

2
NGUI 3 Support / Possible bug 3.9.2
« on: September 06, 2015, 10:59:42 PM »
Hello,

Wanted to share this and what I did to fix it for me.

kept getting an error in UIDrawCall.cs at line 260 where panel was null.

This would happen whenever I would select a new object inside the hierarchy. (Did not matter what I was clicking)

This could be caused by something I am doing wrong, so here is my current Hierarchy setup

UI Root>Camera>Panel>Sprite & Labels

I decided to just throw a tag on the panel and added the following before line 260

if (panel == null) panel = GameObject.FindGameObjectWithTag("Panel").GetComponent<UIPanel>();

Hope this ends up being helpful.

Thanks =)

Pages: [1]