🐛 Description
When closing the game by forcing it closed (I think NOTIFICATION_WM_CLOSE_REQUEST) I get following errors:
E 0:00:04:422 property-pool.gd:53 @ get_subjects(): Attempted to assign an invalid (previously freed?) object instance into a 'TypedArray'.
<C++ Error> Method/function failed. Returning: false
<C++ Source> core/variant/container_type_validate.h:96 @ _internal_validate_object()
<Stack Trace> property-pool.gd:53 @ get_subjects()
rollback-synchronizer.gd:334 @ _notification()
Steps to reproduce
- I am not sure how to reprodcue this in forrestbrawler, but in my game it is dependet on the position of RollbackSynchronizer in the tree (RBS last position in tree does not trigger bug, in the middle of player scene it does)
- Run Game
- Quit Game
Where the errors happens
Probably related to the reverse order
Ideas to fix?
Maybe filtering it with is_instance_valid() before iterating would be enoug?
🐛 Description
When closing the game by forcing it closed (I think
NOTIFICATION_WM_CLOSE_REQUEST) I get following errors:Steps to reproduce
Where the errors happens
Probably related to the reverse order
Ideas to fix?
Maybe filtering it with
is_instance_valid()before iterating would be enoug?