Search Issue Tracker
Fixed in 5.5.0f3
Votes
0
Found in
5.1.1f1
Issue ID
714552
Regression
Yes
Lightmap index and scaleoffset will be reset in playmode
Correct reproduction steps shared below. In Unity 5.3, lightmapping behaviour has changed and only baking the scene is not enough. A custom script needs to be called.
To reproduce:
1) Please download the latest attached project `InstantiatedLightmapPrefab.zip`
2) Open the scene `BakeLightmapPrefabs`
3) Run the script `Bake Prefab Lightmaps` from Assets menu and save the scene
4) Open the scene `LightmapInstances`
5) Enter the play mode
6) Observe the bug (now fixed)
Notes:
- Expected result and current result are compared below
- An easy reproducible project is attached below (the project is provided from 5.1.5f1 for compatibility reasons)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment