playMaker

Author Topic: OnCollisionStay2D False debug log on every update  (Read 2683 times)

Jonde

  • Playmaker Newbie
  • *
  • Posts: 3
OnCollisionStay2D False debug log on every update
« on: March 04, 2014, 06:50:42 PM »
Hey guys,
I suddenly started having this debug log message on every update:

OnCollisionStay2D False
UnityEngine.Debug:Log(Object, Object)
PlayMakerUnity2DProxy:OnCollisionStay2D(Collision2D) (at Assets/PlayMaker Unity 2D/Components/PlayMakerUnity2DProxy.cs:131)


I don't have any OnCollisionStay actions in my FSM's. The biggest problem with this is that it really kills the performance.

Anyone had the same problem? Any ideas what's causing it?

EDIT:
I tried it with normal colliders and it seems to work just fine: so it seems that the problem is with the proxy2D perhaps. Maybe.
« Last Edit: March 04, 2014, 07:46:27 PM by Jonde »

mphilips

  • Playmaker Newbie
  • *
  • Posts: 8
Re: OnCollisionStay2D False debug log on every update
« Reply #1 on: March 04, 2014, 07:55:18 PM »
I seem to have the same issue. I was wondering what was killing performance until I saw that. No idea what is causing it exactly.

I just switched to regular colliders for now.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: OnCollisionStay2D False debug log on every update
« Reply #2 on: March 05, 2014, 02:52:29 AM »
Hi,

 This is only triggering if you use an action on a gamobject that requires this collision detections. If you are 100% you don't, can you pm, because this is not what I experience here.

also, simply turn off the debug property of PlayMakerUnity2DProxy and it will stop putting logs in the console which is the source of the performance hit in Editor.

bye,

 Jean