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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.