I need to write plugin for my godot project to automat few operations.
Everything seems to works correctly with one issue:
After changing active scene tab I need to edit script (add random space in empty line or something like that) and save it, to make it working correctly, otherwise (after chaning tab without editing) it's outputs error:
res://addons/RoshamboManager/roshambo_manager.gd:219 - Invalid call. Nonexistent function 'get_children' in base 'Nil
I think the problem is with function:
How to solve that?