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
I'm taking a screenshot capture of the map to use as background for the minimap.
The whole code to get the correct image following this viewports doc:
var data = get_tree().get_current_scene().get_viewport().get_texture().get_data().flip_y()
var texture = ImageTexture.new()
texture.create_from_image(data, 1)
Accessing the viewport is now giving me this remove_from_group error that I didn't had before. The main thing that changed is that I created more maps and had to move the map node to an external scene. The capture still works as intended and this error is not hurting the development in any way, I just thought I should warn since we do not have any kind of remove_from_group calls on our scripts as the error message suggests.
Steps to reproduce
I'm still not sure how to reproduce since a lot changed in our code because of the amount of recent contributions ... I had a hard time figuring out where the error was comming from, since the error message is totally missleading.
I will certainlly investigate it further and try to create a consise example but all help is welcome.
Godot version
3.5.1.stable
System information
Win 10
Issue description
I'm taking a screenshot capture of the map to use as background for the minimap.
The whole code to get the correct image following this viewports doc:
Accessing the viewport is now giving me this
remove_from_group
error that I didn't had before. The main thing that changed is that I created more maps and had to move the map node to an external scene. The capture still works as intended and this error is not hurting the development in any way, I just thought I should warn since we do not have any kind ofremove_from_group
calls on our scripts as the error message suggests.Steps to reproduce
I'm still not sure how to reproduce since a lot changed in our code because of the amount of recent contributions ... I had a hard time figuring out where the error was comming from, since the error message is totally missleading.
I will certainlly investigate it further and try to create a consise example but all help is welcome.
Minimal reproduction project
not yet (non minimal: https://github.com/spicylobstergames/shotcaller-godot)
#45332 also mentions the same error, but I'm guessing these are not the same issues
The text was updated successfully, but these errors were encountered: