You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a check to the Player Interaction component to see if the carryable object reference is still valid, and if not clears it.
You should no longer get crashes, but it's possible that you have to press an interact button first before the reference is updated. Will see if I can somehow make it cleaner, but if it works for you, I'd consider this resolved.
If you are carrying a carryable and it is destroyed while you are carrying it, then when you next press the carry input there is an error.
The text was updated successfully, but these errors were encountered: