Search Issue Tracker
Fixed in 7.2.1
Votes
5
Found in [Package]
2019.1.0a10
Issue ID
1104468
Regression
No
[UniversalRP|LWRP] Detail Meshes are not getting 'LIGHTMAP_ON' set when built to device
The terrain system is failing to set 'LIGHTMAP_ON' keyword on detail meshes in Universal RP/LWRP
1) https://github.com/Verasl/BoatAttack - clone this repository (Release/2019.3 branch)
2) Open project in Unity
4) Build and run Island scene on device(iOS Metal, Android Gles3 or Vulkan)
Observe: Detail Mesh terrain rocks will be completely black in shadowed area
Expected result: rocks should have ambient lighting from lightmap
Actual result: detail mesh rocks are not sampling lightmap
Reproduced with:
2019.3.0a11
Devices under testing:
Reproduced with:
VLNQA00216 Razer Phone 2*, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 630
VLNQA00202 Samsung Galaxy Note9, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 630
VLNQA00175 Samsung Samsung Galaxy Note9, OS:8.1.0, CPU:arm64-v8a, GPU:Mali-G72
-
lmartellmc
Sep 10, 2019 20:21
Same problem. Took forever to figure out. SRP batching off for now.
-
pikatch
Jul 06, 2019 13:37
Reproduced on my project with a Pixel 3 with LWRP and SRP Batcher
-
Reekdeb
May 30, 2019 22:21
Reproduced on OnePlus 6. Wrong lightmaps on Android when SRP is on.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
Resolution Note (fix version 7.2.1):
Objects use wrong lightmaps texture. Rebaking lighting fixes the issue.