Thanks for your feedback. Actually, I used the IEnumerator type for delayed shooting in Unity. Hopefully, That is the reason for that error.