Search Issue Tracker
By Design
Votes
0
Found in
5.5.0f3
Issue ID
859557
Regression
No
worldPos not set in standard shader if SHADER_API_D3D11 is defined
Reproduction steps:
1. Open the attached project
2. Make sure D3D9 is target graphics API
3. Observe the scene
4. Change target graphics API to D3D11
5. Uncomment the line 32 in Error.shader
6. Observe the scene
Expected: shader applies same as with D3D9
Actual: shader doesn't apply (worldPos is not set)
Reproduced with: 5.4.0f3, 5.5.0f3, 5.6.1p2,2017.1.0b8, 2017.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- 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
Add comment