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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment