Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0a4
Issue ID
1056111
Regression
Yes
[Lighting] Baked lightmap data is lost in Play mode if lightmapped objects contain prefab with child objects
Steps to repro:
1. Download attached project: https://drive.google.com/open?id=1Kbhgw2K8Zv_nJbkpNOr_DhyHQUmPVn6H
2. Open 'Lamp' scene;
3. Launch Play mode.
Expected result:
Lightmap data is preserved on renderers.
Actual result:
Lightmap data is lost after launching Play mode, so there is a clear difference between meshes in Edit and Play mode when lightmapped objects contain nested prefabs. See attached video.
Regression introduced in prefabs/improved branch.
Notes:
- Reproducible only in prefabs/improved branch;
- Not reproducible in 2018.3.0a4 (c236e17e8c39) , branch: trunk;
- Reproducible on Windows and OSX;
- Reproducible only when the lightmapped object is either a prefab having root in the Project folder with child gameobjects, or a nested prefab;
- Reproducible only in the Play mode; Not reproducible in Standalone Player.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- LineRenderer.BakeMesh generates a box-shaped MeshCollider when the camera's Y-axis rotation is in a specific range
- Different build sizes between Editor build and command-line build when "Static Batching" is enabled
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
Add comment