Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Alexey Ozertsov on January 07, 2014, 06:54:06 AM

Title: UIPanel exception
Post by: Alexey Ozertsov 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
Title: Re: UIPanel exception
Post by: ArenMook 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.