Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jonde on March 04, 2014, 06:50:42 PM

Title: OnCollisionStay2D False debug log on every update
Post by: Jonde 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.
Title: Re: OnCollisionStay2D False debug log on every update
Post by: mphilips 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.
Title: Re: OnCollisionStay2D False debug log on every update
Post by: jeanfabre 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