Fabulani / my-model

A web visualization of my 3D model.
https://fabulani.github.io/my-model/
0 stars 0 forks source link

Errors and missing Permissions-Policy headers #1

Open Fabulani opened 1 year ago

Fabulani commented 1 year ago

3D model doesn't load both on the GitHub pages and any website that it is embedded in. The following is the console output:

ror with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'.
webxr-polyfill.js:32721 [Immersive Web Emulator] native WebXR API successfully overridden
fabulani.github.io/:1 Access to script at 'https://unpkg.com/three@0.153.0/examples/jsm/renderers/common/Pipelines.js' from origin 'https://fabulani.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Renderer.js:6     GET https://unpkg.com/three@0.153.0/examples/jsm/renderers/common/Pipelines.js net::ERR_FAILED 502
fabulani.github.io/:1 Access to script at 'https://unpkg.com/three@0.153.0/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js' from origin 'https://fabulani.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
WebGPUBackend.js:9     GET https://unpkg.com/three@0.153.0/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js net::ERR_FAILED 502
fabulani.github.io/:1 Access to script at 'https://unpkg.com/three@0.153.0/examples/jsm/renderers/common/nodes/Nodes.js' from origin 'https://fabulani.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Renderer.js:12     GET https://unpkg.com/three@0.153.0/examples/jsm/renderers/common/nodes/Nodes.js net::ERR_FAILED 502
favicon.ico:1     GET https://fabulani.github.io/favicon.ico 404
Fabulani commented 1 year ago
Fabulani commented 5 months ago

Seems to randomly work and fail again. CORS policy comes and goes. Also, takes a long time (15+ seconds) to load anything, including the loading bar notif. I assume this is something related to three.js initialization taking much longer than expected.