Author Topic: Weird yellow error  (Read 5830 times)

Rick74

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Weird yellow error
« on: September 13, 2014, 12:46:13 PM »
So I did some asking around and the opinion is that this error might be NGUI related.

"Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.
UnityEditor.HostView:OnGUI()"

I get this when building for an Iphone.  Does anyone else have any experience with this error?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Weird yellow error
« Reply #1 on: September 14, 2014, 03:28:08 AM »
NGUI doesn't use OnMouse anywhere. Search your project for OnMouse* such as OnMouseOver, OnMouseDown, etc. Consult Unity's docs for more info.

Rick74

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Re: Weird yellow error
« Reply #2 on: September 21, 2014, 11:24:26 AM »
Thanks for the heads up Aren, I'll look elsewhere.