Open sp-rafael-lecina opened 4 years ago
If an effect is played starting on a frame different that 0 ManagerImplemented::Preupdate is called recursivelly infinitely The issue is that the flag: https://github.com/effekseer/EffekseerForCocos2d-x/blob/6dc954749da2aded607fcc8c1133e58763f91c49/Players/Cocos2d-x_v3/EffekseerNative.cpp#L16347 Should be set before the for loop Otherwise the condition in https://github.com/effekseer/EffekseerForCocos2d-x/blob/6dc954749da2aded607fcc8c1133e58763f91c49/Players/Cocos2d-x_v3/EffekseerNative.cpp#L16315 is always false and ManagerImplemented::Preupdate is called again
ManagerImplemented::Preupdate
Thank you. I will check and fix it
I fixed
Thanks!
If an effect is played starting on a frame different that 0
ManagerImplemented::Preupdate
is called recursivelly infinitely The issue is that the flag: https://github.com/effekseer/EffekseerForCocos2d-x/blob/6dc954749da2aded607fcc8c1133e58763f91c49/Players/Cocos2d-x_v3/EffekseerNative.cpp#L16347 Should be set before the for loop Otherwise the condition in https://github.com/effekseer/EffekseerForCocos2d-x/blob/6dc954749da2aded607fcc8c1133e58763f91c49/Players/Cocos2d-x_v3/EffekseerNative.cpp#L16315 is always false andManagerImplemented::Preupdate
is called again