Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
961059
Regression
No
Material preview is missing when using Shader that uses TRANSFORM_TEX macro on two UVs
How to reproduce:
1. Open the user attached project and "main" scene
2. Enter playmode and observe that the particle effect using ProblemShader.mat is functional
3. Exit playmode and click on ProblemShader.mat in Project window
4. Observe the material preview window in Inspector
Expected result: Selected material is shown and previewed as expected in Material preview window
Actual result: Material preview window is empty, selected Material is not shown
Reproducible with - 2018.1.0a2, 2017.3.0b6, 2017.2.0p1, 2017.1.2p2, 2017.1.0a1
Note: commenting out line 57 (second TRANSFORM_TEX macro) - "o.uv_uv2.zw = TRANSFORM_TEX(v.uv_uv2.zw, _MainTex2);" and uncommenting line 58 - "o.uv_uv2.zw = v.uv_uv2.xy * _Tex2TileOffset.xy + _Tex2TileOffset.zw;" from ProblemMaterial.shader resolves the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadow is jittering when TAA is on, lens shift is enabled and the Camera is at least 800 units away from the origin
- VideoPlayer.loopPointReached invokes twice when WaitForFirstFrame is enabled
- Converting empty groups along with nodes into a subgraph prevents subgraph creation and throws errors
- Information box is pushed up when resizing the Visual Element located in the upper part of UI Document
- Transparent objects cannot receive shadows from Point Light when Rendering Path is set to "Deferred" and there is Spot Light in the Scene
Add comment