Skip to content
Back to skills

Unreal Config Logs

ASecurity

Unreal config and logs: Default*.ini layering, [/Script/...] sections, console variables, UE_LOG categories and verbosity, Saved/Logs, Saved/Crashes.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythongobashdocumentation

Works with

  • terminal

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add tipoLi5890/game-studio --skill unreal-config-logs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unreal Config Logs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unreal Config Logs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tipoli5890-unreal-config-logs/badge)](https://www.skillsdirectory.com/skills/tipoli5890-unreal-config-logs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unreal-config-logs
description: >-
  Unreal config and logs: Default*.ini layering, [/Script/...] sections, console variables, UE_LOG
  categories and verbosity, Saved/Logs, Saved/Crashes.
---

# unreal-config-logs — what the engine reads, and what it wrote

Settings come from a stack of ini files and console variables; what happened comes back as log
lines and crash folders. Both are plain files, so both are checked from a terminal: lint and
trace the ini files before a run, scan the log and the crash folders after it.

## Load what the situation needs

| The situation | Read |
|---|---|
| A setting does not take effect; which file wins; `+`, `-`, `.`, `!` | `reference/ini-stack.md`, `scripts/ini_resolve.py` |
| Declaring, reading or setting a console variable; which value wins | `reference/console-variables.md` |
| A log category, `UE_LOG`, verbosity, `check` and `ensure` | `reference/logging.md`, `templates/CourierRunLog.h` |
| A run failed: what the log says, the first error | *Scan the log*, `scripts/log_scan.py` |
| A crash, a `Saved/Crashes` folder | `reference/crashes.md` |
| Running the editor headless to get a log | `unreal-editor-python` |
| Test results in the log and the JSON report | `unreal-automation-tests` |
| Packaging settings, the crash reporter in a build | `unreal-packaging` |
| Compiler and build tool output | `unreal-compile-loop` |

## Check the ini files before a run

```bash
python3 scripts/ini_resolve.py lint CourierRun
python3 scripts/ini_resolve.py resolve CourierRun --category Engine --section ConsoleVariables \
    --key CourierRun.ShowRoute --expect 1
```

`lint` reads `Config/` and `Platforms/*/Config/` the way the configuration page describes the
syntax and FAILs on a key outside any section, a line that is no form at all, an operator with no
key, `[Script/...]` without its slash, a known section written with its `U` or `A` class prefix or
one or two letters off, unbalanced parentheses or quotes, and a misspelt `Default<Category>.ini`;
it warns on a project class section that keeps a prefix. `resolve` walks the documented load order
(later wins), applies the array operators line by line, prints the trace, and says where the final
value came from (`reference/ini-stack.md` §7).

| Exit | `lint` | `resolve` |
|---|---|---|
| 0 | no FAIL (warnings listed) | the key is set (and equals `--expect`) |
| 2 | a FAIL, or a warning with `--strict` | set nowhere read, or not `--expect` |
| 3 | no `.ini` file found | none of the load-order files exists |
| 1 | usage | usage, a malformed `--cmdline` |

## Scan the log after a run

```bash
python3 scripts/log_scan.py --project CourierRun                 # newest log in Saved/Logs, and Saved/Crashes
python3 scripts/log_scan.py /tmp/run/editor.log --require-sentinel
```

```
first: line 2 error LogTemp
  | LogTemp: Error: courier_asset_report: no folder /Game/CourierRun/Props
  | LogTemp: Error: courier_asset_report: no folder /Game/CourierRun/Characters
error   LogTemp: 2 line(s), 2 distinct
             1 x courier_asset_report: no folder /Game/CourierRun/Props
             1 x courier_asset_report: no folder /Game/CourierRun/Characters
error   LogCourierRun: 2 line(s), 1 distinct
             2 x parcel # not found
exit: sentinel=UNREAL_DEV_FAIL courier_asset_report root missing tests_exit=none last_line='...'
log_scan: FAIL fatal=0 errors=4 warnings=0 blocks=2 sentinel=FAIL lines=6 (4 Error line(s); the script printed UNREAL_DEV_FAIL)
```

1. **Fix the `first:` block first.** It is the earliest Fatal or Error block; what follows is
   often its consequence, and repeats are folded into one message per category.
2. **A marker line is `<Category>: Fatal|Error|Warning:`.** The documentation names the
   categories and the verbosity words, not the line layout, so the scan is a heuristic: a log
   with no engine lines (`lines=0`, no categories) means the wrong file was read.
3. **Assert text is not documented.** Once you have seen your engine's wording for a failed
   `ensure`, pass it with `--pattern REGEX`; noise you have judged goes in `--ignore-category` or
   `--ignore`.
4. **A run that should end with a sentinel** is scanned with `--require-sentinel`: no
   `UNREAL_DEV_DONE` line is UNVERIFIED, whatever else the log says.

| Exit | Verdict | Meaning |
|---|---|---|
| 0 | `PASS` | no Fatal or Error line, no `UNREAL_DEV_FAIL`, no non-zero automation exit code, no crash folder from the run |
| 2 | `FAIL` | one of those (and Warning lines with `--fail-on-warning`) |
| 3 | `UNVERIFIED` | no log, an empty log, or a required sentinel missing |
| 1 | usage | a bad flag, no input |

`editor_run.py` of `unreal-editor-python` carries the same marker block and the same verdict
rule, so a run it judged and a log scanned here agree.

## The rules that matter most

- **Error lines fail a commandlet**, and the editor collects them: a run with an Error line is
  not clean, whatever its exit code.
- **`Log` verbosity reaches the file only.** Judge a headless run by its log file
  (`-ABSLOG=<path>`), not by the console.
- **A class section drops the class prefix:** `ACourierRunGameMode` reads
  `[/Script/CourierRun.CourierRunGameMode]`. A misspelt section is a section nobody reads.
- **`+Key=` adds, plain `Key=` replaces.** A plain key in a later file throws away the array the
  earlier files built.
- **Console variables take `NAME VALUE`** on the command line and in the console
  (`-ExecCmds="CourierRun.ShowRoute 1"`), `NAME=VALUE` in ini files.
- **`-ini:` overrides single values only;** it does not work with arrays.
- **`ensure` reports once per session and carries on; `check` is off in Shipping.**

## Templates

| File | Goes to | Holds |
|---|---|---|
| `templates/CourierRunLog.h` | `Source/CourierRun/Public/` | `DECLARE_LOG_CATEGORY_EXTERN(LogCourierRun, Log, All)` |
| `templates/CourierRunLog.cpp` | `Source/CourierRun/Private/` | `DEFINE_LOG_CATEGORY(LogCourierRun)` and the `CourierRun.ShowRoute` console variable |
| `templates/DefaultEngine.fragment.ini` | pasted into `Config/DefaultEngine.ini` | `[ConsoleVariables]` with `CourierRun.ShowRoute=1` |

## Related skills

| Need | Skill |
|---|---|
| A headless run that leaves a log to scan | `unreal-editor-python` |
| Automation test results | `unreal-automation-tests` |
| What the project is, which engine | `unreal-project` |
| Build tool and compiler output | `unreal-compile-loop` |
| Packaging and the crash reporter in a build | `unreal-packaging` |

Files in this skill

  • SKILL.md6.3 KB
  • reference/console-variables.md4 KB
  • reference/crashes.md2.4 KB
  • reference/ini-stack.md6.8 KB
  • reference/logging.md6.3 KB
  • scripts/ini_resolve.py24.2 KB
  • scripts/log_scan.py22.2 KB
  • templates/CourierRunLog.cpp615 B
  • templates/CourierRunLog.h251 B
  • templates/DefaultEngine.fragment.ini244 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.