Package version
3.1.0-exp.8
Environment
* OS: Windows10
* Unity version: 2022.2.3.45f1c1
* Graphics API: DX11
* Browser: chrome(137.0.7151.104)
Steps To Reproduce
- download unity rendering streaming project and samples
- unity editor use “WebBrowserInput” scene and run
- open "VideoPlayer Sample" in chrome
- click button to change stream resolution (custom game logic)
- change resolution for mulit times (approximately 50 times, 1920x1080->1280x760->3840x2160->1920x1080), the unity memory usage will increase from 1500M to 3500M
Current Behavior
Memory usage increase too much when change stream resolution in multi times
Expected Behavior
memory usage in a normal range.
such as the first stream resolution is 1920x1080;
when change resolution from 1920x1080 to 3840x2160, the memory usage will be increase;
when change resolution from 3840x2160 to 1920x1080, the memory usage will be decrease;
after many times (more than 30) change resolution to the origin resolution of 1920x1080, the memory usage is not increase too much than initial memory usage.
Anything else?
No response