A. Try using spears in different scenarios or against different enemies to see if the bug occurs consistently or only in specific situations.
B. If stabbing is not working, switch to a different weapon temporarily until the issue is resolved in a future update.