Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
Issue ID
1366791
Regression
Yes
Texcoord2 is missing in the vertex shader input in HDRP with Realtime GI
Texcoord2 is not correctly bound to HDRP/Lit shader when using Enlighten Realtime GI. This happens only in the Player and makes the Enlighten Realtime GI feature not work in HDRP.
1. Open "case1366791.unity"
2. Observe emissive contribution from emitter on the ground plane (changing color of Assets/emissive.mat causes realtime GI to do work)
3. Enter Playmode
4. Observe emissive contribution from emitter on the ground plane
5. Build & Run Player
6. Observe missing emissive contribution from emitter on the ground plane
Reproduces in: 2021.2, 2022.1.0a10.1326
Affected pipelines: HDRP
Expected behaviour: Enlighten RealtimeGI work in the Player.
Actual behaviour: Enlighten RealtimeGI does not work in the Player.
Note: It is easy to see the problem with RenderDoc. The texcoord2 channel does not show up when rendering the object.
See also https://fogbugz.unity3d.com/f/cases/1346410/ for investigations leading up to opening this case.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment