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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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.