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

Errors and warnings in the examples #5184

Closed
9 tasks
vincentfretin opened this issue Dec 14, 2022 · 2 comments
Closed
9 tasks

Errors and warnings in the examples #5184

vincentfretin opened this issue Dec 14, 2022 · 2 comments

Comments

@vincentfretin
Copy link
Contributor

Description:

I just tested all examples and noted the errors and warnings in this issue.
If anyone want to create a PR to fix one of those, please go ahead.

three.module.js:8817 THREE.MeshStandardMaterial: 'skinning' is not a property of this material.
aframe-tooltip-component.js:94 Uncaught (in promise) TypeError: geometry.addAttribute is not a function
    at NewComponent.init (aframe-tooltip-component.js:94:16)
    at NewComponent.initComponent (component.js:323:10)
    at NewComponent.updateProperties (component.js:305:12)
    at AEntity.updateComponent (a-entity.js:466:17)
    at AEntity.updateComponents (a-entity.js:442:12)
    at entityLoadCallback (a-entity.js:243:12)
    at emitLoaded (a-node.js:143:17)

on clicking on Egypt

aframe-environment-component.min.js:2 Uncaught (in promise) TypeError: r[0].applyMatrix is not a function
    at NewComponent.updateDressing (aframe-environment-c…onent.min.js:2:5329)
    at NewComponent.update (aframe-environment-c…nent.min.js:1:28723)
    at NewComponent.initComponent (component.js:333:10)
    at NewComponent.updateProperties (component.js:305:12)
    at module.exports.Component (component.js:81:8)
    at new NewComponent (component.js:665:15)
    at AScene.initComponent (a-entity.js:319:17)
    at AScene.updateComponent (a-entity.js:471:10)
    at AScene.updateComponent (a-scene.js:682:39)
    at AScene.updateComponents (a-entity.js:442:12)

This one is fixed in supermedium/aframe-environment-component#78

aframe-extras.min.js:7 Uncaught TypeError: Cannot read properties of undefined (reading 'radToDeg')
    at 80 (aframe-extras.min.js:7:21519)
    at n (aframe-extras.min.js:1:254)
    at aframe-extras.min.js:1:305
    at 81../checkpoint-controls (aframe-extras.min.js:7:22998)
    at n (aframe-extras.min.js:1:254)
    at aframe-extras.min.js:1:305
    at 2../src/controls (aframe-extras.min.js:1:531)
    at n (aframe-extras.min.js:1:254)
    at aframe-extras.min.js:1:305
    at 1../ (aframe-extras.min.js:1:459)

This is fixed in latest aframe-extras master build, latest is https://cdn.jsdelivr.net/gh/n5ro/aframe-extras@09b8445/dist/aframe-extras.min.js

raycaster:warn [raycaster] For performance, please define raycaster.objects when using raycaster or cursor components to whitelist which entities to intersect with. e.g., raycaster="objects: [data-raycastable]". 
browser.js:111 components:raycaster:warn [raycaster] For performance, please define raycaster.objects when using raycaster or cursor components to whitelist which entities to intersect with. e.g., raycaster="objects: [data-raycastable]". 
2
browser.js:111 core:schema:warn Unknown property `model` for component/system `generic-tracked-controller-controls`. 
browser.js:111 core:schema:warn Unknown property `recieve` for component/system `shadow`.

=> typo here receive

a-assets.js:44 Uncaught Error: <a-assets> must be a child of a <a-scene>.
    at AAssets.doConnectedCallback (a-assets.js:44:13)
    at AAssets.connectedCallback (a-assets.js:28:10)

https://192.168.1.15:8080/test/cylinders/
core:schema:warn Unknown property `radiusTop` for component/system `geometry`. 
browser.js:111 core:schema:warn Unknown property `radiusBottom` for component/system `geometry`.
core:schema:warn Unknown property `recursive` for component/system `raycaster`.
core:schema:warn Default value `0 0 -1` does not match type `vec3` in component `undefined` 
components:raycaster:warn [raycaster] For performance, please define raycaster.objects when using raycaster or cursor components to whitelist which entities to intersect with. e.g., raycaster="objects: [data-raycastable]". 
core:schema:warn Unknown property `fill` for component/system `animation`.
core:schema:warn Unknown property `attribute` for component/system `animation`.
@dmarcos
Copy link
Member

dmarcos commented Dec 16, 2022

I'm addressing a few of these

@vincentfretin
Copy link
Contributor Author

Great, please reference the issue in your commits and check the checkbox if you resolve a task 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