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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment