Author Topic: UIPanel exception  (Read 1234 times)

Alexey Ozertsov

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
UIPanel exception
« on: January 07, 2014, 06:54:06 AM »
Hello,

I'm porting unity3d with NGUI on windows phone 8 and sometimes I see an AccessViolationException in
UIPanel.cs:
protected override void OnInit ()
{
...
rb = gameObject.AddComponent<Rigidbody>();
...
}

Can you please tell what could be the reason of this?

Thank you in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPanel exception
« Reply #1 on: January 07, 2014, 09:22:33 AM »
I've never seen that, but then again I don't have a Win8 phone to build for, so that's not surprising. Unity's support of Win8 devices is quite new. I suggest providing more information than this to go on. Call stack, what you're doing, what else happens, etc.