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
- Crash on RenderBufferManager::Textures::GetTempBuffer when rendering a specific scene
- The Inspector header is incorrectly displayed when scripts are recompiled while a Scriptable Object instance is selected
- NullReferenceException is thrown when overriding the UxmlObjectReferences in template instances
- Shaders created with Shader Graph generate a large amount of shader variants and cause slow build times when using a baked lightmap in BIRP
- Shader Graph Matrix property produces random output values when SRP Batcher is enabled
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.