How to reproduce:
1. Open the attached "SceneTemplates" project
2. Open the "Scenes" folder in the Project window
3. Click on the "Sample Scene" scene template
4. Observe the "Dependencies" tab in the Inspector
Expected result: One dependency is visible
Actual result: No dependencies are shown
Reproducible with: 2021.2.0a19, 2021.3.3f1
Not reproducible with: 2020.3.35f1, 2021.2.0a18, 2022.1.0a1, 2022.1.2f1, 2022.2.0a15
Couldn't test with: 2019.4.39f1 (No scene templates)
Note: To see that there really is a dependency attached to the scene template, turn on the Inspector's Debug mode after Step 3 and look at the Dependencies tab