Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
Issue ID
1378047
Regression
No
Material's Main Maps Tiling/Offset controls are locked when VideoPlayer is targetting the material.
This is a problem that was pointed out by a user on the forums: https://forum.unity.com/threads/videoplayer-materialoverride-how-to-set-aspect-ratio-scale-or-change-tiling-offest.772220/
How to reproduce:
1. Open attached project: MaterialOverrideLockedControls
2. Open TestScene
3. Click on the Video Plane game object.
4. Go in the game object's inspector for the Video Material.
5. Observe that you can edit the Main Maps' Tiling and Offset values, both X and Y.
6. Enter playmode
7. Observe that the Tiling and Offset values get reset to 1 and 0, respectively.
8. Try to edit the Tiling and Offset values
9. Observe that they are locked: they should not.
Alternative test:
...
6. Disable the VideoPlayer before entering playmode
7. Enter playmode
8. Try to edit the Main Maps' Tiling and Offset values
9. Observe that they are not locked: as it should.
This problem is present since the VideoPlayer's very first version.
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
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Resolution Note (fix version 2022.1):
Now using a shader property page entry point that will preserve user-supplied values for the Tiling and Offset.