when you don't define unused layers in keymap file, flash memory space for the undefined layers is filled with 0xFFFF(on AVR at least) and the the code is not valid for unimap action. It would be better that the undefined space is filled with TRANS(or NO) action.
TMK keymap editor fill the undefined space with 0x0001(TRANS) when its firmware is downloaded. This is not a problem here.
when you don't define unused layers in keymap file, flash memory space for the undefined layers is filled with 0xFFFF(on AVR at least) and the the code is not valid for unimap action. It would be better that the undefined space is filled with TRANS(or NO) action.
TMK keymap editor fill the undefined space with 0x0001(TRANS) when its firmware is downloaded. This is not a problem here.
Solutions: