I am using the iframe library that was created here - PlayCanvas | HTML5 Game Engine, to my own project. I have even copied the assets + scene so as to see if I am not missing out anything, but unfortunately, the iframe does not play/load anything. There is no error message, it displays only a gray screen as shown in image below. Why is this happening?
Check that your camera’s Clear Color has an alpha of 0.
Yup it does. It is exactly like the scene from the link above.
Can you share your project link?
Go to Settings->Rendering and tick Transparent Canvas.
2 Likes
Phew! Thank you I would have not gotten around it.