Reproduction steps:
1. Open the “launch.bat” script and edit the necessary variables
2. Open the project by launching the “launch.bat” script
3. Observe the Console window and that “04 - Inside lightmapping delegate” is missing for the first scene’s bake
4. Clear the Console
5. Start the same bake (Engine Support > Start Bake)
6. Observe the Console window and note all messages appear in order, including “04 - Inside lightmapping delegate”
Expected result: Baking via -executeMethod and via the menu item both call the lightmapping delegate, producing identical logs
Actual result: When launched with -executeMethod, the lightmapping delegate is not called for the first scene’s bake
Reproducible with: 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Reproducible on: Windows 11
Not reproducible on: Not tested on other platforms
Notes:
- The issue no longer reproduces on macOS since 6000.0.58f1 and 6000.2.5f1 versions. Fixed In commit is mentioned in the comments.
- Issue does not reproduce with BiRP
- On some machines the reproduction is not always reliable, so if needed, repeat steps 2-3 again