Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes” folder
3. Righ-click on “SampleScene” Scene and click Export Package…
4. Observe the Export Package dialog
Expected result: The assembly definition file ( .asmdef ) is included in the package
Actual result: The assembly definition file ( .asmdef ) is not included in the package
Reproducible with: 2021.3.40f1, 2022.3.37f1, 6000.0.10f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested