Polygon Collider Editor error

Polygon Collider cannot be added to a given sprite 2d Obj … No collider area appeared when polygon Collider component added ,and without any help by reset…

You should perhaps post a little more information on what you’ve tried, what version etc.

Is this the only one that does this? I can only presume this happens to all your PolygonCollider2D? I also presume you’re seeing points listed in the “points” property? Are any other gizmos shown? Any other editor gizmos for 2D physics, 3D physics or others?

I am within Unity 2019.1.9f1 ,personal version. For my case ,I need to add polygon collider2d to some unregalur object as above. Is this problem caused by the other scripts in the project,cause I can correctly add Polygon collider in another Project.Anyway, I can not find any obvious proof that my scripts could ruin the funcationality of the Polygon Collider,if it really exists,how can I check for errors?

When I edit the polygon collider, a green line appears,but it seems helpless .,cause it is just a single line…

Green line, perhaps was the gizmo,but seems wrong…

The same thing happens in another project again…

I just create a 2d gameObject in 3d Scene ,and modify the layer tag of the object…