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
- Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
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.