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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
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.