Description:
Emission set to "baked" on a Mochie shader does not contribute to the lightmap when the parent GameObject has a Bakery Lightmap Group component attached.
Steps to Reproduce:
- Create a GameObject marked as Static with a Bakery Lightmap Group component
- Add a child GameObject using a Mochie shader with emission enabled and set to Baked
- Set both the Bakery instance and shader to MonoSH mode
- Bake lighting
Expected Result:
The child object's baked emission contributes to the lightmap as normal.
Actual Result:
The emission has no effect on the bake — no light contribution appears in the lightmap.
Workaround:
Removing the Bakery Lightmap Group component from the parent causes emission to bake correctly.
Environment:
- Unity version: 2022.3.22f
- Bakery version: 1.98
- Mochie shader version: 2.9.1