Steps to reproduce:
- Open the attached project
- Open the Build Profiles window from the File menu and select macOS
- Enable Development Build and Script Debugging
- Click Build and save the Player
- Run the built Player, then quit it
- Right-Click on the Console window and select the option to view the Player logs
- Inspect the logs
Actual results: The Player logs IsJITOptimizerDisabled=False, and both NullReferenceException stack traces name the line above the one that throws (DebugLineProbe.cs line 16 and line 23 instead of line 17 and line 24)
Expected results: The Player's script assemblies are built for debugging (IsJITOptimizerDisabled=True) and the stack traces name DebugLineProbe.cs line 17 and line 24, the lines that throw
Reproducible with versions: 7000.0.0a23, 7000.0.0b1
Not reproducible with versions: 6000.0.85f1, 6000.3.30f1, 6000.6.12f1, 6000.7.0b11, 7000.0.0a22
Tested on (OS): macOS 27.2.1 (Apple Silicon)