What does this error means?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Help me please

Hi!
While using tilemaps I often get this in my debugger. Can anyone tell what does it means.
servers/visual/visual_server_canvas.cpp:763 - Condition "pointcount < 3" is true


For more information, my scene tree is as below:-

Node2D
->TileMap
->Area2D
->>CollisionPolygon2D

:bust_in_silhouette: Reply From: klaas

Hi,
this happens in “canvas_item_add_polygon” when a polygon with less than 3 points should be created, wich obviously is invalid.
Maybe you got an invalid collision polygon in your tileset build by accident!?

Probably this time I have not added any shape to the CollisionPolygon2D this might be giving me error.
Thanks!

Help me please | 2021-08-05 10:50