Unity 5.1.1f1
Windows Store export Phone 8.1
Visual Studio Community Edition 2013 Update 5 RC
Exception thrown in both debug and master mode.
Works fine in editor but throws exception in OnCollisionEnter(Collision collision) function when accessing the tag of the collider i.e. if (collision.gameObject.tag.StartsWith(“Obstacle”))
at UnityEngineProxy.InternalCalls.GameObject_Get_Custom_PropTag(Object self)
at UnityEngine.GameObject.get_tag()
at PlayerController.OnCollisionEnter(Collision col)
at PlayerController.$Invoke7(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)