I just hired a programmer to put some of the pre made snow fx from PC into my storybook app which uses director class. It looks really good and works fine about 90% of the time. But, sometimes weirdness happens.
If you turn a page too quickly, even on a page with no particle code, snow will start to fall.
Othertimes it requires two or three tries to turn the page.
Using the terminal here are the two errors I get…
Queen 3/build final material/lib_particle_candy.lua:965: attempt to index field ‘PType’ (a nil value)
stack traceback:
[C]: ?
… Queen 3/build final material/lib_particle_candy.lua:965: in function ‘DeleteParticle’
… Queen 3/build final material/lib_particle_candy.lua:987: in function ‘ClearParticles’
… Queen 3/build final material/lib_particle_candy.lua:1013: in function ‘CleanUp’
…ik/The Snow Queen 3/build final material/page_22.lua:120: in function ‘_listener’
?: in function <?:514>
?: in function <?:215>
Runtime error
… Queen 3/build final material/lib_particle_candy.lua:965: attempt to index field ‘PType’ (a nil value)
stack traceback:
and
Queen 3/build final material/lib_particle_candy.lua:1177: attempt to perform arithmetic on local ‘emitterRot’ (a nil value)
My programmer thinks that it might be a Particle Candy system error…
He thinks because Particle Candy is a separate system, it can act on it’s own…Without implementation in the lua file. He also looked through the code and could see no variable labeled that.
Any advice would be welcome!
Thanks,
Laura [import]uid: 106593 topic_id: 24469 reply_id: 324469[/import]