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

Enabling "Physics/Navigation Layers" for Tilemap with Tile Size of x:1 and y:1 always freezes the editor. #86496

Closed
14422 opened this issue Dec 25, 2023 · 2 comments · Fixed by #86568
Milestone

Comments

@14422
Copy link

14422 commented Dec 25, 2023

Tested versions

  • Reproducible in the versions:
    v4.2.1.stable.official [b09f793]
    v4.3.dev1.official [9d1cbab]

System information

Tested on following PC setups: Godot v4.3.dev1 - Windows 10.0.22631 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 31.0.101.4255) - 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 Threads) and Godot v4.2.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.4633) - AMD Ryzen 7 7800X3D 8-Core Processor (16 Threads)

Issue description

Adding "Physics Layers" for TileMap which has a tileset made of any image (tested on 8x8 sized .png texture and the default icon.svg) and Tile Size set to x: 1, y: 1 always freezes the editor and gives no crash log.

This works the other way around too so that I enable physics layers first before setting the Tile Set but this basically corrupts the project as it won't load anymore once the changes are made in.

I'm suspecting that some code within cannot handle the Tile Size of x:1, y:1, which I need, as this does not occur if they are for example the basic values 16 and 16.

This bug is reproducible within a minute in a completely new project like shown in the example video:

FreezingEditor.mp4

Steps to reproduce

  1. Create a TileMap node
  2. Add a Tile Set with any image
  3. Set Tile Size to x:1 and y:1
  4. Enable "Physics Layers"

Minimal reproduction project (MRP)

N/A

@jsjtxietian
Copy link
Contributor

jsjtxietian commented Dec 27, 2023

I can comfirm this at Godot v4.3.dev (13a0d6e)

@14422
Copy link
Author

14422 commented Dec 27, 2023

Just found out that this same freeze also happens when enabling "Navigation Layers" into similar setup.

@14422 14422 changed the title Enabling "Physics Layers" for Tilemap with Tile Size of x:1 and y:1 always freezes the editor. Enabling "Physics/Navigation Layers" for Tilemap with Tile Size of x:1 and y:1 always freezes the editor. Dec 27, 2023
@akien-mga akien-mga added this to the 4.3 milestone Jan 8, 2024
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