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
When running a project on an android device, on exiting it shows a leaked instance for every plugin loaded with Orphan StringNames of all the methods from the plugin that uses @UsedByGodot after calling get_tree().quit().
-- My project
-- MRP --
Steps to reproduce
Create a new project.
Add an android plugin.
Run project on a physical android device and monitor logcat on exiting.
When storing the plugin singleton into a variable and on _exit_tree() calling free() on that variable, the leaked instance and Orphan StringNames are gone.
var plugin : Object
func _ready() -> void:
if Engine.has_singleton("pluginname"):
plugin = Engine.get_singleton("pluginname")
func _exit_tree() -> void:
if plugin != null:
plugin.free()
Tested versions
4.2.1 stable
4.2.2 stable
4.3-dev6
System information
Windows 11 - Godot v4.2.2.stable - Forward+
Issue description
When running a project on an android device, on exiting it shows a leaked instance for every plugin loaded with Orphan StringNames of all the methods from the plugin that uses @UsedByGodot after calling get_tree().quit().
-- My project
-- MRP --
Steps to reproduce
Create a new project.
Add an android plugin.
Run project on a physical android device and monitor logcat on exiting.
Minimal reproduction project (MRP)
TestProject.zip
The text was updated successfully, but these errors were encountered: