mapeditor / mapeditor/tiled

Automapping stops working when a project's rules.txt is modified during runtime.

Open
#3,907 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

**Describe the bug**
My project will occasionally prevent me from using Automap. Restarting Tiled does not work, nor does closing or reopening maps. The only fix for this is going to Project Properties and pointing the Automapping rules to the same file and saving it. Then, automapping works again.

**To Reproduce**

**Expected behavior**
I can apply Automapping by using Ctrl+M or going to Map->Automap.

**Specifications:**
- OS: Win11
- Tiled Version: 1.10.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Automapping failure described for Tiled 1.10.2 on Windows 11: modify the project's rules.txt during runtime, then try Ctrl+M or Map->Automap. Compare this with reselecting the same rules file in Project Properties and saving. Done means Automapping continues to work after the rules file is modified without needing to reselect it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.