Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with A-frame 1.6.0 #6

Open
Programer14324 opened this issue Jul 23, 2024 · 1 comment
Open

Compatibility with A-frame 1.6.0 #6

Programer14324 opened this issue Jul 23, 2024 · 1 comment

Comments

@Programer14324
Copy link

Is it compatible with A-frame 1.6.0??

@dogzilla
Copy link

dogzilla commented Dec 30, 2024

It's not - it appears to fail with any version of A-Frame after 1.2.0, throwing an error of "TypeError: Cannot call a class constructor without |new|" in file AFRAME > node_modules > three > build > three.module.js, line 11502

class Mesh extends Object3D {
	constructor( geometry = new BufferGeometry(), material = new MeshBasicMaterial() ) {
		super();

(this is on MacOS 15.1.1, Safari 18.1.1, calling both AFrame and web surfaces from CDN as below)

    <script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script>
    <script src="https://unpkg.com/[email protected]/dist/aframe-websurfaces.umd.js"></script>

Im gonna try hacking a resolution for this - I don't really know what I'm doing here, but maybe it won't be a deep bug. If successful, I'll post here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants