WebGL not rendering video player
Hello! I am very new to Unity, and this is my first game. I've been experiencing a strange bug when exporting my unity project using WebGL. I have a video player in several scenes that should play when the scene loads, but all there is a black screen when I upload the game to itch.io. I have the video player under the canvas and a RawImage whose texture is the video player. All of the video players in all scenes work when I export the game in different formats besides WebGL. Any advice would be greatly appreciated!
Answer by vivian_du · Apr 30 at 10:37 PM
Resolved: I'm not sure what exactly fixed it but I made a few changes: 1. Changed Video Player Source to URL, linking it from my Github repo using Github Pages 2. Used anchor presets
It's not a complete fix because it is still rendering black in full screen sometimes, but it works on itch.io!
Your answer
Follow this Question
Related Questions
Webgl build does not play video but editor does 0 Answers
Video player doesn't work in webgl 9 Answers
Video Player and Web GL build not working 2 Answers
Shadow rendering distance HTML5 1 Answer
WebGl Video player set time not working 0 Answers