+1 vote

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

Godot version v3.2.3-stable_win64
in Engine by (942 points)

1 Answer

+1 vote
Best answer

Hi,
this happens in "canvasitemadd_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!?

by (4,084 points)
selected by

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.