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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment