How to reproduce:
1. Open the attached “IN-149509” project
2. In the Project window, open the "Assets/Repro/ReproScene" scene
3. In the Hierarchy window, enable “ReproSubScene”
4. Enter Play Mode
5. In the Entities Hierarchy window (Window → Entities → Hierarchy), select "ReproSpawner"
6. Observe the Inspector window
Actual result: The Data Mode switch is not drawn in the Inspector window and the authoring prefab's default Inspector is shown
Expected result: The Inspector window shows the entity's components in Runtime Data Mode
Reproducible with: 6000.5.0a6, 6000.6.2f1, 6000.7.0b1, 7000.0.0a1
Not reproducible with: 6000.5.0a5
Could not test with: 6000.0.82f1, 6000.3.23f1 (the project requires com.unity.entities 6.5.0 or higher, which is not available in these streams)
Reproducible on: Windows 11, macOS (user reported)
Not reproducible on: No other environment tested
Note:
- In step 5, "ReproSpawner" can be called “RuntimePrefabInstance” on first launch