Skip to content

New expand options of TextureRect can cause infinite resizing in certain containers due to unstable implementation #73071

Open
@phil-hudson

Description

@phil-hudson

Godot version

4.0 RC1

System information

Intel Mac OS

Issue description

When using an aspect ratio container, with a texture rect as a child. Setting the aspect ratio container to anything other than 'fit' is crashing the editor

Steps to reproduce

  1. change the aspect ratio container mode from 'fit' to 'cover'
  2. crashes editor

Minimal reproduction project

aspectratiobug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions