Skip to content

EN Troubleshooting

Cavanshirpro edited this page Sep 20, 2026 · 2 revisions

Troubleshooting — LeoMiniGames v0.7.0

Troubleshooting should start by identifying which boundary failed: build/configuration, RCC packaging, QML runtime, capability negotiation, persistence, theme/i18n, audio/input, catalog/download or publisher trust.

Package does not load

Check manifest.json parse, id, entry, package_format, RCC resource listing and namespace. For a new package, internal prefix should be /; a legacy /mods/<id> RCC must be fully namespace-contained. An unknown hard required_capabilities entry can make a modern package incompatible by design.

“Works in source tree, missing in package”

A filesystem asset existing beside QML is not evidence it is in the RCC/QRC. Inspect the actual built package and verify every case-sensitive resource alias referenced at runtime.

QML runtime errors

Treat invalid property/signal names, missing imports/resources, component creation errors and binding/layout loops as runtime failures even when CMake compiles. Use GameLogger/diagnostics with file/line/source context. Do not suppress a component-load error by falling back to an unrelated screen and calling the package healthy.

Save disappears

Separate preference storage from GameSave. Verify activation uses the intended game ID/version/save schema; exercise save → disk → unload → load → restore. Test immediate close/background after the state change. For old saves, verify every migration step exists.

Language issue

The v0.7 runtime exposes 23 application languages. English uses source strings; 22 non-English JSON resources are bundled in QRC. A selector entry, a repository JSON file and a complete translation are three different facts. Check QRC inclusion, placeholder parity, empty/non-string values and live languageChanged/retranslate behavior.

Theme issue

Verify semantic alias/surface names and fallback. External RCC games must not import the application's private QML module. Keep gameplay rules out of theme values.

Audio/haptics issue

Qt Multimedia is optional. A missing backend/resource should degrade safely. On mobile, verify the resource URL/backing package on the real target rather than assuming a desktop filesystem path exists. Haptics may be unsupported and should no-op.

Build mismatch

The root build source currently requires CMake 3.21+, C++20 and Qt 6.5+. docs/BUILDING.md says 3.24+; that is a documentation mismatch, not the root CMake floor. Android source sets min SDK 28 and target/compile SDK 36. Current CI Apple notes distinguish arm64 device from x86_64 simulator and do not claim arm64-simulator support for the current Qt lane.

Trust/badge mismatch

Do not debug Official/Verified/Native-L3 by changing manifest.json. Trust comes from authoritative catalog/account/review metadata. Custom catalogs/local manifests cannot mint YoungLion trust.

Evidence to attach to a bug report

Include app version, platform/CPU, package ID/version/source type, exact action sequence, diagnostics and whether the issue reproduces after a clean restart. Remove tokens, API keys, authorization headers and private save/account data.

See Source Audit, Support & Reporting and the pinned SECURITY.md.

Clone this wiki locally