How to suppress BoxCollider warning

Hi, I’m getting the warning we’ve seen reported in other threads:

BoxColliders does not support negative scale or size.
The effective box size has been forced positive and is likely to give unexpected collision geometry.
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path “TileMap Render Data/Main/Chunk 2 11/MyPrefab 1”

I’ve researched this and understand why this happens. However, we are using a 3rd party tool which negates the scale of the parent object (BoxCollider is child), and we have no control over this from our side. We are completely comfortable and know the risks, and simply want to suppress the above warning, as it spams our logs even though everything is working fine. Is there any way to suppress this warning? Thanks!

Check my answer on the same subject of matter on

http://answers.unity3d.com/questions/1228083/box-colliders-and-negative-scales.html?childToView=1394197#answer-1394197

Best of luck

Warnings in Unity usually come with an ID.

For example:

Declaring the variable - float foo - but never using it results in the following warning:

Assets/myScript.cs(8,16): warning CS0168: The variable ‘foo’ is declared but never used

You can suppress this warning by adding this line of code at the top of your script:

using UnityEngine;
using System.Collections;

#pragma warning disable 0168 // <<<< that one

public class MyScript : MonoBehaviour {
    void Start()
    {
        float foo;
    }
}

Maybe this helps. Good luck (: