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!
Resolved: I’m not sure what exactly fixed it but I made a few changes:
- Changed Video Player Source to URL, linking it from my Github repo using Github Pages
- 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!