We are trying our PlayCanvas app with Cocoon.io and having some issues with Canvas+, app doesn’t load with no visible or console errors. Using a Webview+ or Webview works normally.
We tried a PlayCanvas tutorial as well and that isn’t working with Canvas+ either (Webview+/Webview works normally).
We verified the loading order step by step and it seems that it stops here with the following error:
start_.js, line 103:
console.log('This page requires a browser that supports WebGL.<br/>' +
'<a href="http://get.webgl.org">Click here to find out more.</a>');
It seems that PlayCanvas doesn’t recognize Canvas+ as a WebGL enabled browser. I am posting first here, though it might be a Cocoon issue.
Looks like the fault may well lie with Cocoon and not PlayCanvas. It’s probably worth chasing them directly, but we are more than happy to help them diagnose the problem.
For anyone experiencing the same, the problem is with the url. Apparently the PlayCanvas Canvas+ documentation is outdated and the specific url which works with the Cocoon dev app is something like this:
Hmm, strange I am sure that I tried with the /e/ part instead of /index/ and it didn’t work. But you are right @dave it works now. I will start using /e/ again, thanks.