Godot Version
v4.3.beta1.official [a4f2ea91a]
Question
This code successfully produces screenshots on Android mobile:
await RenderingServer.frame_post_draw
var tex = Globals.main_viewport.get_texture().get_image().get_region(region)
tex.save_png("user://creator/level_"+str(Globals.creator_level_id)+".png")
However on Desktop the screenshots save as a black image:
Am I missing something? Or is this just a bug.
If anyone was wondering, the answer is it’s an actual bug, so should be fixed at some point:
1 Like
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.