mergeTo TypeError: Cannot read property 'isPlaying' of null
See original GitHub issueDescription:
- A-Frame Version: 0.7.0
- Platform / Device: chrome
- Reproducible Code Snippet or URL:
hello i tried to merge two objects with this simple code
<a-entity id="target" geometry="primitive: box; buffer: false; skipCache: true" material="color: red"></a-entity>
<a-entity geometry="primitive: box; buffer: false; skipCache: true; mergeTo: #target"
material="color: red" position="1 2 3"></a-entity>
and i receive this error
ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘isPlaying’ of null TypeError: Cannot read property ‘isPlaying’ of null
how is possible? i just tried the example of this page
https://github.com/aframevr/aframe/blob/master/docs/components/geometry.md
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'play' of null
Can anyone help me understand why I am getting this "Uncaught TypeError: Cannot read property 'play' of null" error in my console?
Read more >store ReactComponent in an object's property as a reference ...
How to get reference to store in react/redux? ... How can you merge two objects into same property in JavaScript? TypeError: Cannot read...
Read more >how to merge two arrays of objects in javascript without ...
Javascript: Merge Two Arrays of Objects, Only If Not Duplicate (Based on Specified ... TypeError: Cannot read property 'value' of null at HTMLButtonElement....
Read more >Known Issues for Oracle Analytics Server
This document describes information about known software issues and their workarounds for this release of Oracle Analytics Server.
Read more >Jira Software knowledge base - Atlassian Documentation
... Activity stream gadgets for JIRA are not displaying on IE11 ... Advanced Roadmaps plans display blank with Cannot read property ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think we should remove the
mergeToproperty, it works better if done manually versus declaratively (and it seems stale). I’d recommend merging manually in an A-Frame component what you need.I made a geometry merge component: https://github.com/ngokevin/kframe/tree/master/components/geometry-merger#aframe-geometry-merger-component