I have a project where some scenes have videos playing in them. When I go in the scenes the videos have massive frame drops (stutters and lagging). I also notice the rooms with videos get frame drops
Using OpenXR, Spacewarp, on Vulkan, decoded to lower resolution, turned off multi threaded rendering. At this point I’m open to any suggestions to get this smooth again.
I’ve been checking out a bunch of other troubleshooting forums and one said that was the solution but no luck for me
What exactly would I be looking at on the profiler? I do see it calling out the frame drops on the video section but I can’t tell where I should be seeing other performance hits in terms of videos
Thanks for the videos, I’ll check them out
I will preface as well, my last build was on OpenGLES3 but now I’m doing a whole rework with custom shaders and running on Vulkan (so I can use Spacewarp). I wonder if it’s something with the processing with the new shaders.
In the profiler check the difference between a frame with a spike and one without and check what adds the performance issue.
If it’s in a Unity script, maybe make a bug report
did the videos work fine before in previous applications?
just wondering if the Codec causes issues, i remember seeing some warnings or error messages in webgl app about video codec.
are you loading the scenes additively?
how or where the videos are loaded?
whats are the video player settings?
how many videos are playing at the same time?