C:\Users\TW\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\nameofthemap
I have found an issue with the behavior_packs and resource_packs folders inside the minecraftWorlds folder:
Normally (before v1.20?), when I create a new world and activate a few add-ons, those add-ons subsequently appear in the
behavior_packsandresource_packsfolders within theminecraftWorldsfolder (and still add the new additional add-ons to those folders).But now, when I want to activate some additional add-ons after the world has been created, the newly activated add-ons do not appear in the
behavior_packsandresource_packsfolders inside theminecraftWorldsfolder.
This issue is being tracked at MCPE-224307.