Search Issue Tracker
Fixed in 2017.3.0f3
Votes
1
Found in
5.3.1p1
Issue ID
758745
Regression
Yes
alreadyLightmapped value is not compatible with mixed lighting
alreadyLightmapped API needs better support to work with new light modes.
Reproduction steps:
1) Download the new reproducible project `alreadyLightmapped.zip` from comments section below
2) Open the scene `TestScene`
3) Disable Obj2 so it's not visible
4) Generate lighting
5) In play mode, click on `alreadyLightmapped` button on top of the screen
6) Observe the inconsistent lighting across baked and dynamic objects, lighting is overexposed
7) Click on `alreadyLightmapped` button again
8) Observe that only lightmap static objects are correctly lit.
Notes:
- Regression introduced in: 5.6.0b2 with new light modes
- A gif that shows the process is shared below
- In the scene, there is one mixed directional light and light mode is set to subtractive
- Non-Baked objects are disabled before baking the scene and have no lightmap data. These should be lit realtime by the light source.
- When alreadyLightmapped is false, Obj1 and the background, which have lightmapped data, look fine. But Obj2 and Obj3 which should be realtime lit appear darker
- When alreadyLightmapped is true again, the background and obj1, which HAVE lightmapped data appear overexposed, being lit realtime And through lightmap. Obj2 and obj3 appear normal.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment