How to reproduce:
1. Open the “ScheduleInvocationBug.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Observe the Console
Expected result: “Works“ info message is logged in the Console
Actual result: “Exception: This method should have been replaced by source gen.“ is logged in the Console
Reproducible in: 1.2.0 1.3.14 (2022.3.62f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0b1)
Could not test in: 1.0.8 (2022.3.62f1, 6000.0.49f1) (Burst related package errors)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Workaround: In code, create the Job object before using the Schedule() method