How to reproduce:
1. Open the attached "IN-140167_ShaderWarmUpTest.zip" project
2. Build the project with "Development Build" and "Autoconnect Profiler" enabled in Build Profiles
3. Run the built Player
4. Press the "Start GraphicsCollectionTrace" button (in the bottom left corner)
5. Press the "Spawn Cube" button
6. Wait several seconds, then press "End GraphicsCollectionTrace" (bottom right corner)
7. Return to the project in Editor
8. Copy the "GfxState_OSXPlayer_Metal.graphicsstate" file from the Project tab
9. Paste the copied file to the "Resources" folder and rename it to "GfxState_OSXPlayer_Metal_Resources.graphicsstate"
10. Build the project again and run the Player
11. Press the "Warm GraphicsStateCollection" button
12. Return to the project in Editor
13. Open the Player log from the Console tab
14. Search the log file for "Uploaded shader variant to the GPU driver: Shader Graphs/WheelShader"
15. Observe the found results
Actual result: Only 2 entries (for the ForwardLit pass) are found after warm up
Expected result: Entries for all 4 shader variant uploads (ForwardLit vertex and fragment, ShadowCaster vertex and fragment) are found after warm up
Reproducible with: 6000.0.0f1, 6000.0.78f1, 6000.3.18f1, 6000.5.1f1, 6000.6.0b1, 6000.7.0a1
Reproducible on: macOS 26.5
Not reproducible on: No other environments tested
Notes:
- The full two entries that are found after searching in the Player log ([…] parts may change):
"Uploaded shader variant to the GPU driver: Shader Graphs/WheelShader (instance [...]), pass: Universal Forward, stage: vertex, keywords LIGHTMAP_BICUBIC_SAMPLING_ADDITINAL_LIGHTS_MAIN_LIGHT_SHADOWS, time: [...]"
"Uploaded shader variant to the GPU driver: Shader Graphs/WheelShader (instance [...]), pass: Universal Forward, stage: fragment, keywords LIGHTMAP_BICUBIC_SAMPLING_ADDITIONAL_LIGHTS_MAIN_LIGHT_SHADOWS, time: [...]"
- Returning to the Player and pressing "Spawn Cube" again after the last step will cause all four entries to appear in the Player log