Im trying to export for self-hosting then im trying to replace “webvr-polyfill.bad0c71.js” with “webvr-polyfill.js” from https://github.com/immersive-web/webvr-polyfill
Why? Since the polyfill in playcanvas is outdated and doesnt works and/or works bad on all devices (Android/iOS).
So, i have replaced this file and replaced all path relative to “webvr-polyfill.bad0c71.js” with “webvr-polyfill.js” but when i click on vr button (that calls this.entity.camera.enterVr…) nothing happens.
What am I doing wrong?