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

Effekseer persisting old effect even after loading new ones. #557

Open
r41k0u opened this issue Feb 21, 2022 · 2 comments
Open

Effekseer persisting old effect even after loading new ones. #557

r41k0u opened this issue Feb 21, 2022 · 2 comments

Comments

@r41k0u
Copy link
Contributor

r41k0u commented Feb 21, 2022

using the Simple_Distortion.efkefc in the ParticleEffectComponent shows some problems with it.
After Selecting the Moving option, when the scene containing the ParticleEffectComponent is moved, the effect shows up at the new location, but is also shown at its previous location, effectively duplicating it.

When a new effect is loaded instead of Simple_Distortion.efkefc, this effect is not overwritten, but the new particle effect shows up along with Simple_Distortion.efkefc

image

image

image

the effect files used : Simple_Distortion.efkefc and Laser02.efkefc (available in Effekseer162bWin\Sample\00_Basic after unzipping https://github.com/effekseer/Effekseer/releases/download/162b/Effekseer162bWin.zip)

@r41k0u
Copy link
Contributor Author

r41k0u commented Feb 21, 2022

This seems to be a problem with effects which run continuously (don't have a finite lifetime). The laser effects provided don't show this problem as they have a finite lifetime. But Sime_Distortion runs continuously. Also, after saving and reloading this scene, Simple_Distortion effect doesn't show up and only Laser02 works (which is intended and should happen)

@r41k0u
Copy link
Contributor Author

r41k0u commented Feb 21, 2022

To trigger the bug, you'll also have to play the scene. It seems like playing the scene is duplicating the effect. If we don't play the scene, it is working as intended. But after play, a duplicate of the effect is created which persists even after play has been stopped.

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

1 participant