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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment