Hello, k1lly0u
I am trying to find the bug 'Kinematic body only supports Speculative Continuous collision detection' that many server admins are also trying to narrow down;
@WhiteThunder suggested the following actions;
<snip>
For next steps, see if you can reproduce the warning appearing in the logs when using the features of those plugins. If you can, you can ask the developer to set the Rigidbody collision detection mode to speculative continuous before setting isKinematic to true. This is only necessary if the plugin is setting isKinematic to true for rigidbody objects that currently have a different collision detection mode (which you can't easily guess, so might as well just do it every time).
https://docs.unity3d.com/ScriptReference/Rigidbody-collisionDetectionMode.html
[docs.unity3d.com]
Alternatively, you could try editing the code of all those plugins yourself to see if you can make the warning go away, as a test to see which plugins are contributing. Could also try adding a check to each plugin which logs a more traceable message stating that the collision detection mode was the wrong type.
</snip>
To try and narrow down which plugin is causing this, I have compiled a list of MY plugins using the "isKinematic" which could lead to the errors filling our server logs every day.
<snip>
From my list of plugins I have found the following plugins with 'isKinematic' used within their code;
Armored Train (by Adem) plugin
Convoy (by Adem) plugin
JetEvent (by Razor) plugin
SkinBox(k1lly0u from chaoscode) plugin
Sputnik (by Adem) plugin
XDQuest (by DezLife) plugin
*** ZoneManager (by k1lly0u) plugin
</snip>
** The plugin(s) of yours can you please add checking to your code for that error, something like this to help me track down the misbehaving code... at the moment only an error that is given.. gives no clue to which plugin causing it.
if (rigidbody.collisionDetectionMode != CollisionDetectionMode.ContinuousSpeculative)
{
Puts($"Setting ridigbody to kinematic with {rigidbody.collisionDetectionMode}" collision detection mode which will generate a warning");
}
rigidbody.isKinematic = true;
Many Thanks.