-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
The App is unable to create instance of SharedArrayBuffer (src/voxel-block-builder.js), because of lack of CORS isolation.
Uncaught ReferenceError: SharedArrayBuffer is not defined
at _VoxelBuilderThreadedWorker.BuildMeshDataFromVoxels_ (voxel-block-builder.js:1300:17)
at _VoxelBuilderThreadedWorker.Rebuild (voxel-block-builder.js:1174:25)
at self.onmessage (voxel-builder-threaded-worker.js:11:32)
Starting in Chrome 92, functionalities that use SharedArrayBuffer will no longer work without cross-origin isolation. If you landed on this page due to a SharedArrayBuffer deprecation message, it's likely either your website or one of the resources embedded on it is using SharedArrayBuffer. To ensure nothing breaks on your website due to deprecation, start by identifying where it's used. (https://web.dev/cross-origin-isolation-guide/)
Env: Chrome Version 97.0.4692.99 (Official Build) (arm64), Mac OSX 12.1
Steps to reproduce:
How to fix:
- add
Cross-Origin-Opener-Policy: same-originandCross-Origin-Embedder-Policy: require-corpheader to main html file. - check if
crossOriginIsolatedreturnstruein devtools console.
Metadata
Metadata
Assignees
Labels
No labels