Author Topic: Possible bug 3.9.2  (Read 1320 times)


  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Possible bug 3.9.2
« on: September 06, 2015, 10:59:42 PM »

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 =)