-
Notifications
You must be signed in to change notification settings - Fork 68
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
Particle system not working with aframe 1.3 #66
Comments
I am facing the same issue, the particle is not working in Aframe versions 1.1.0, 1.2.0, and 1.3.0. But it is working for 1.0.0 or lower |
I have the same problem, I think its down to Aframe moving to webgl 2? https://discourse.threejs.org/t/webgl2-breaking-custom-shader/16603/4 |
With A-Frame 1.3.0, I hit errors with the version served by unpkg, but everything worked fine with the version taken from the dist folder of this repo. |
@diarmidmackenzie thanks! Turn out you have to add size for some reason, so |
@diarmidmackenzie Same method with you. In my case, I use A-frame 1.3.0 and 8th Wall. You can see from its latest update in github (4 months ago), the Three.js attribute has been updated. I tried to copy this js and paste in <script> and it works. (of course using the min version will work too) @dirkk0 yes, the error said map method can only apply on array. Seems that the size is not set to an array for the preset default: "rain" |
Or for a working link from a CDN, I think this ought to work: One downside of using this vs. taking a local copy is that this link is not stable, it will automatically update to the latest code on master when it is updated. |
why is the most recent build not available on unpkg or cdnjs as a release version? is it safe to consider this build v1.1.4? |
Use the latest commit hash in the url to have a stable url |
For A-Frame 1.4.1 (and also earlier versions) I recommend this version: https://cdn.jsdelivr.net/gh/c-frame/[email protected]/dist/aframe-particle-system-component.min.js |
Fixed version also available at: https://www.npmjs.com/package/@c-frame/aframe-particle-system-component |
Hi,
This is my first time using this so I'm super sorry if this was mentioned somewhere.
I tried using the particle system to create rain and I tested independently from my project. One with version 1.0 and one with 1.3. It worked with 1.0 but doesn't work with 1.3. Is there something additional I need to do? Thanks!
Aframe Version 1.0
Aframe Version 1.3
The text was updated successfully, but these errors were encountered: