Go to the edit world menu -> click "Export" -> select a directory -> confirm -> the export window will appear for a moment and quickly disappear. The exported world file will be empty.
Linked issues
is duplicated by 1
Attachments
Comments 2

Can confirm on Windows 1.21.0.22 Preview.
Steps to reproduce:
Open the World Settings of any world
Click 'Export World'
Select any directory you want to save the world
Wait until the game says 'World Export Succesfully'
Go to the directory where your world is saved and check try to open the world
Expected Results
The world has data (more than 0 kb) and is able to be opened by Minecraft
Observed Results
The world has no data (0kb) and you cannot open the world by Minecraft