Does not work on CrazyGames.com and other game portals
bergice opened this issue · 5 comments
If an iframe is used here, I believe it would be because an iframe with an ancestor that is not cross-origin isolated, can not be cross-origin isolated itself.
Source: https://blog.stackblitz.com/posts/cross-browser-with-coop-coep/
If an iframe is used here, I believe it would be because an iframe with an ancestor that is not cross-origin isolated, can not be cross-origin isolated itself.
Source: https://blog.stackblitz.com/posts/cross-browser-with-coop-coep/
That's what I thought.
That's weird though, since they mention this workaround as a potential solution in the Godot 4.1 release statement: https://godotengine.org/article/godot-4-1-is-here/#platform-support
We are also aware of the complexity setting up web games on hosting platforms which don’t let you set the required CORS headers for SharedArrayBuffer support. This mostly depends on Safari implementing the coep:credentialless header support, while Chromium-based browsers and Firefox already work fine (especially if you publish on itch.io). There is a possible workaround that we are investigating.
If this doesn't work with iframes on hosting platforms, then it will not be a solution. 🤔
You might want to ask the hosting platform if it would be possible for them to make their website cross origin isolated.. I am afraid it may be low on their priority list :(.
Almost every Godot game (and other engines that rely on SharedArrayBuffer) must have issues with this though, which will hopefully incentivize them.
You might want to ask the hosting platform if it would be possible for them to make their website cross origin isolated.. I am afraid it may be low on their priority list :(.
They can't since ad providers don't support it.
I'm in the same situation, please let me know if you've managed to get Godot 4 working without cross origin isolation.