Open mchauta opened 2 years ago
I need to check, so far I've only done the orphan tracking using the built-in monitor, but maybe that wasn't enough. Just to confirm, are you using the 2.8.4 version of the plugin? Does this happen when running the project or in the editor directly?
Yes, I'm using 2.8.4 and it happens when running and then closing the program. Not in editor. Don't know if this helps, but it seems to happen if I preload a packedscene containing the scatter even if I never actually load that scene to the tree.
Hi, only issues I saw with similar problems seemed to be marked as resolved so I thought I'd ask. I'm getting a bunch of orphans when using this plugin and not sure why:
WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object.cpp:2064) Leaked instance: Node:4039 - Node name: Leaked instance: RandomNumberGenerator:4042 Leaked instance: UndoRedo:3952 Leaked instance: RandomNumberGenerator:4040 Leaked instance: GDScriptNativeClass:627 Leaked instance: Node:4041 - Node name: Leaked instance: GDScript:3942 - Resource path: res://addons/scatter/src/core/modifier_stack.gd Leaked instance: GDScript:3950 - Resource path: res://addons/scatter/src/modifiers/randomize_transforms.gd Leaked instance: GDScript:3944 - Resource path: res://addons/scatter/src/modifiers/distribute_inside_random.gd Leaked instance: Node:4038 - Node name: Leaked instance: GDScript:3945 - Resource path: res://addons/scatter/src/modifiers/base_modifier.gd Hint: Leaked instances typically happen when nodes are removed from the scene tree (with
remove_child()
) but not freed (withfree()
orqueue_free()
). ERROR: Resources still in use at exit (run with --verbose for details). at: clear (core/resource.cpp:417) Resource still in use: res://addons/scatter/src/core/modifier_stack.gd (GDScript) Resource still in use: res://addons/scatter/src/modifiers/randomize_transforms.gd (GDScript) Resource still in use: res://addons/scatter/src/modifiers/base_modifier.gd (GDScript) Resource still in use: res://addons/scatter/src/modifiers/distribute_inside_random.gd (GDScript) Orphan StringName: _random_float Orphan StringName: stack_changed Orphan StringName: update Orphan StringName: push_back Orphan StringName: vmax Orphan StringName: RandomNumberGenerator Orphan StringName: warning_changed Orphan StringName: res://addons/scatter/src/modifiers/distribute_inside_random.gd::43::_random_vec3 Orphan StringName: add_child Orphan StringName: _random_vec3 Orphan StringName: res://addons/scatter/src/modifiers/distribute_inside_random.gd Orphan StringName: vmin Orphan StringName: get_global_transform Orphan StringName: res://addons/scatter/src/core/modifier_stack.gd::76::_create_undo_action Orphan StringName: center Orphan StringName: xform Orphan StringName: insert Orphan StringName: res://addons/scatter/src/modifiers/distribute_inside_random.gd::19::_process_transforms Orphan StringName: res://addons/scatter/src/modifiers/randomize_transforms.gd::20::_process_transforms Orphan StringName: res://addons/scatter/src/modifiers/base_modifier.gd Orphan StringName: res://addons/scatter/src/core/modifier_stack.gd::40::move_up Orphan StringName: _clamp_vector Orphan StringName: move_down Orphan StringName: origin