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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.