Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileMap error when selecting: No cached rect for tile coords #88100

Closed
jonSP12 opened this issue Feb 8, 2024 · 3 comments · Fixed by #90207
Closed

TileMap error when selecting: No cached rect for tile coords #88100

jonSP12 opened this issue Feb 8, 2024 · 3 comments · Fixed by #90207

Comments

@jonSP12
Copy link

jonSP12 commented Feb 8, 2024

Tested versions

v4.3 dev 3

System information

windows 10 vulkan foward+

Issue description

TileMap crashes when using old tiles made in previous gd versions.

Steps to reproduce

  • open an old level / scene / select diferent tile sheet in the menu
  • select some tiles, copy then press D to draw, then flip / rotate them
  • or copy paste large tiles groups into the pattern menu
  • resize the console window, if the engine is ( not responding ) to bring it back up, errors should then appear in the output log
  • it may take some time for the error to show up ( not sure if there are right steps )

err03
__
err04

Minimal reproduction project (MRP)

tileCrash3.zip

@groud
Copy link
Member

groud commented Feb 21, 2024

Thanks for the report.
Sadly I can't reproduce, I think we'll need more reliable reproduction steps I believe (if the issue isn't already solved)

@jonSP12
Copy link
Author

jonSP12 commented Mar 4, 2024

Tested versions
Godot_v4.3-dev4

System information
windows 10 vulkan foward+

Issue description
no cache rect for tile coords:
doesnt crash but the error will pile up

bug

Steps to reproduce

  • in scene lvl_b1
  • select tileMap node
  • deselect ( highlight selected TileMap Layer )
  • frist tileMap sheet ex: ( autoTileTest.png )
  • select the frist 3 by 3 square group
  • paint / rotate(X) / paint / rotate(X) / paint.... 3x
  • press select tool icon select all painted tiles
  • ctrl + C / then leter D
  • paint / rotate(X) / paint rotate(X) / paint... 3x
  • press select tool icon select all painted tiles / delete

Minimal reproduction project (MRP)
tileCrash3.zip

tileCrashMP4.mp4

@akien-mga akien-mga changed the title tileMap ERROR: No cached rect TileMap error when selecting: No cached rect for tile coords Mar 4, 2024
@akien-mga
Copy link
Member

I can reproduce the error when selecting tiles following the steps to reproduce in #88100 (comment)

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

Successfully merging a pull request may close this issue.

4 participants