Skip to content

High baseline energy impact on iOS when a Control node is present on screen (even if empty) #78278

Description

@PabloNeirotti

Godot version

v4.1.beta1.official [828ec2c]

System information

iPhone 13 Pro Max - iOS 16.3.1

Issue description

Running the project on my iPhone, Xcode Debug shows a high energy consumption on Godot the moment there is one GUI control, such as a Panel, even if it's empty and no code is running. The GPU goes insane.

Without PanelContainer:

Screenshot 2023-06-15 at 4 42 38 PM

With PanelContainer:

Screenshot 2023-06-15 at 4 41 49 PM

It sounds excessive that just adding a panel apparently shoots up the GPU usage to 80% (mind it's relative) and energy consumption to High. Unless this is an expected overhead and isn't making actually running the game any slower.

Steps to reproduce

Setup a structure like this:

Screenshot 2023-06-15 at 4 30 59 PM

Remove "PanelContainer" for the consumption to go from High to Low.

Minimal reproduction project

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions