Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
5.6.0p4
Issue ID
910070
Regression
Yes
Material.SetTextureScale/SetTextureOffset is ignored when using with Graphics.Blit
To reproduce:
1. Download and open attached "repro910070.zip" project.
2. Open "Test scene" scene.
3. Enter Play mode.
4. Select "Plane (blit)" Game Object and try changing it's "Blitting(script)" component's Scale or Offset values.
Expected result: Texture on the left plane is changing accordingly with the Scale and offset values.
Actual result: Changing Scale or offset values have no effect on the texture.
Reproduced with: 2017.2.0a1, 2017.1.0b7, 5.6.1p2, 5.6.0p2.
Not reproduced with: 5.6.0p1, 5.5.4f1, 5.4.5p1.
Notes: There is a possible workaround by changing some of the code. Uncomment 31 line and Comment lines 26 and 27 in blitting.cs script. Also, in GroundCompute.shader shader comment 55 line and uncomment line 59. After recompiling enter play mode and notice that everything works.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
JasFlahert
Feb 29, 2020 10:34
As there are many worth of graphics in the development of the computer and web application the use of graphics is high. In this way https://xpertwriters.com/ suggests you the course of graphics to learn about many quantities.