Skip to content

Importing incorrectly sized textures results in a crash #2

@ExplosBlue

Description

@ExplosBlue

Description

Importing a texture that exceeds the maximum supported size or does not use power-of-two dimensions causes the editor to crash. This occurs both when importing a new texture and when replacing an existing one.

Steps to Reproduce

  1. Open the texture panel.
  2. Click Import.
  3. Select a texture with invalid dimensions (non–power-of-two and/or exceeding the maximum size).

Expected Behavior

The editor should not crash. Instead, it should display a validation warning indicating that the texture dimensions are invalid, and optionally offer to resize the texture to a supported size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions