In the Bon Festival (Buddhist Festival of ancestral spirits) there is also a custom of the fire burning, but it is considered as the mixture of a folk custom and Buddhist ritual that welcomes and sees off ancestral spirits.
お盆にも火を燃やす習俗があるが、こちらは先祖の霊を迎えたり、そののち送り出す民間習俗が仏教と混合したものと考えられている。