Search Issue Tracker
By Design
Votes
1
Found in
5.0.0b18
Issue ID
664946
Regression
No
[API] Setting the lightmap manually during playmode does not work outside editor
Setting the lightmapping settings to use a certain lightmap and the renderers to use the lightmapping data has no effect outside the editor.
To reproduce:
1. Open attached repro.zip
2. Open scene "MainScene". After 2 seconds in play mode it takes a prebaked lightmap from the resources folder and sets the lightmapping settings to use it. Then it also sets the lightmapping index of the renderers so the lightmap is used
3. Enter play mode in the editor - notice that the lightmap data is loaded up and used by the renderers (not correctly, but it's okay)
4. Build & run for windows standalone
5. Notice that nothing changes after setting up the lightmapping settings
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment