Single NPTH mechanical pad not found by kicad

Hi, i have a question.

I created a drillhole NPTH of 3.5mm. 2 weeks ago everything was fine when i placed it. Now kicad constantly gives the message that the footprint is not found but i can manually select the footprint it is there. When kicad does place the footprint after trying a few times, there is no refdes. I do not understand what is going wrong.
DRC checker also has 0 errors.

I have this error with kicad 9.0.1 and 9.0.2.

Also, i would look to have a drilltable option to generate drilltable automatically when desired.

Did you place the hole in the Schematic?

Yes. I did. Kicad even automatically started renaming the refdes on its own. I called it drillhole1,drillhole3,drillhole3.

So i throw all away. Placed 3 new schematic symbols for the drillholes, renamed them dh1,dh2,dh3. Now kicad comes up with the message that drillhole 1 to 3 cannot find the footprint.

I do not know what is going wrong.

It is there. I now placed the 3 holes manually from within the pcb editor and it works.

I finally understand what goes wrong and it is a bug in KiCAD.
When you select a NPTH Non Plated Through Hole, it is impossible to add a pin number.
And that is where KiCAD sometimes gives an error for in the pcb editor and sometimes not.

When i remove in the schematic all 3 drillhole symbols and then add them again. There is no error when i update the pcb from the schematic. But when i update the pcb again, i get the error that there are no “pin numbers 1” . Which makes sense cause there is no pin to add. It would be better to add a sort of virtual pin 1. or check for NPTH and then ignore that there are no pins.

So NPTH drill holes can only be placed manually from within the pcb editor ,without any errors.

npth_2

Pretty sure that I have placed symbols with no pins in schematics. Not just holes but things like logos.

For example I have used the MountingHole symbol and assigned it the MountingHole:MountingHole_3.5mm footprint that has no pad.

I believe you. I get this error sometimes but not every time.
So i am sure it is a bug.

I would like to create for example symbols like High Voltage symbols, pure as silkscreen.
But then i would run in the same bug, because there would not be any pins.

I tried it even without any pinnumbers or pinnames in the schematic symbol. I expected that that would fail gloriously in the pcb editor and it did.

I know enough.