How to reproduce:
- Open the attached “IN-151388“ project
- In the menu bar, select “Bug Repro”->”Get Ray Tracing Features With Out Of Range BuildTarget”
- Observe the crash
Reproducible with: 6000.6.0a3, 6000.6.0b10, 6000.7.0a5
Could not test with: 6000.0.82f1, 6000.3.23f1, 6000.5.10f1 , 6000.6.0a2(Error: 'PlayerSettings' does not contain a definition for 'GetRayTracingFeaturesSupportForPlatform')
Reproducible on: Ubuntu 24.04, MacOS 26.6 (M1)
Not reproducible on: No other environments tested
First few lines of the stack trace:
#0 0x0073271cc45330 in (Unknown)
#1 0x0063fb453f9ad4 in RayTracingSupportEditor::GetBuildTargetImplementedFeatures(BuildTargetPlatform, bool)
#2 0x0063fb453daf13 in PlayerSettingsBindings::GetRayTracingFeaturesSupportForPlatform_Internal(BuildTargetPlatform, bool)
#3 0x0063fb4610d440 in PlayerSettings_CUSTOM_GetRayTracingFeaturesSupportForPlatform_Internal(BuildTargetPlatform, unsigned char)
#4 0x000000403530d4 in (wrapper managed-to-native) UnityEditor.PlayerSettings:GetRayTracingFeaturesSupportForPlatform_Internal (UnityEditor.BuildTarget,bool)