How to reproduce:
1. Open the attached project “IN-126506”
2. Build and run the project
3. Open Profiler window (Windows → Analysis → Profiler), and select Local → WindowsPlayer
4. In the Profiler window, select any frame
Actual result:
The frames have a call Gfx.WaitForGfxCommandsFromMainThread which means main thread is bottle-necked
Expected result: The main thread isn’t bottle-necked
Reproducible with: 1.2.0-pre.3 (2022.3.71f1, 2023.3.0b7, 6000.0.66f2), 1.4.4 (2022.3.71f1, 2023.3.0b7, 6000.0.66f2, 6000.3.7f1)
Could not test with: 1.2.0-pre.3 (2023.3.0b6) (HDR settings errors), 6000.4.0b7 and 6000.5.0a6 (CS0103: 'Entities' does not exist)
Reproducible on: Windows 11, macOS 26.1 (M1 Pro)
Not reproducible on: No other environment tested
Notes:
- You are able to control the cube vibration with button “1” and to disable “2”
- You are able to increase the quality of graphics with button “3” and “4”
- If the profiler doesn’t connect to the Player, go to File → Build Settings and enable Developer Build and AutoConnect Profiler