How to Add Bug Reporting to a Ren’Py Visual Novel (and Stop Asking for traceback.txt)
Catch Ren’Py exceptions with config.exception_handler, send them with renpy.fetch, and add a Report a bug button with a screenshot, in about 120 lines of script.
Insights, tutorials, and stories from the world of game development. Learn how top indie studios ship better games with fewer bugs.
Written by devs, for devs.Try a different search term or clear the filters.
Catch Ren’Py exceptions with config.exception_handler, send them with renpy.fetch, and add a Report a bug button with a screenshot, in about 120 lines of script.
How Application.logMessageReceived and logMessageReceivedThreaded work, why the stack trace is sometimes empty, and a complete script that posts Unity errors to a server.
Where a game’s logs live on a Steam Deck under Proton and natively, how a player turns on PROTON_LOG=1, how to get the file off the device, and what to read in it.
Add a player-facing bug report form to a UE5 game: a small UMG widget, a hotkey and pause-menu entry, a screenshot, the log file and the player’s Steam ID on every report.
Steam only collects crash minidumps for 32-bit Windows games that call SteamAPI_WriteMiniDump, and the feature is near end of life. Its limits, and what to use instead.
Catch GDScript and engine errors in an exported Godot 4 game: a custom Logger with OS.add_logger on 4.5+, tailing godot.log on older versions, and what release builds hide.
RPG Maker writes no crash log. This plugin hooks SceneManager.catchException and window error events, sends each crash once, and adds a typed bug report form.
The exact folder an exported Godot 4 game writes godot.log to on each platform, why the folder is sometimes missing, and how to read the errors and backtrace inside.
Set up a Discord forum channel for bug reports: a tag scheme, a paste-ready post guidelines template, the settings that matter, a triage routine, and its limits.
Add a bug report button to a GameMaker game: one persistent controller object, the seven events it needs, and reports that carry the room, save file and a screenshot.
The WER LocalDumps registry key that makes Windows save a crash dump for your game, a .reg file to send players, where the .dmp lands, and how to open it with symbols.
Catch Lua errors with sys.set_error_handler, read native crashes with crash.load_previous on the next start, and send both with http.request from one small module.
What window.onerror and unhandledrejection each catch in a browser game, what slips past both (failed assets, “Script error.”, context loss), and a complete handler.
A bug report Google Form template for game playtests: 12 questions to ask, how to pre-fill version and platform from the game, and when to move on.
Add a bug report form to a Construct 3 game using only event sheets: install the addon, initialize once, show the form from a button, and auto-capture runtime errors.
macOS saves a crash report for every game crash in ~/Library/Logs/DiagnosticReports. How to get the .ips file from a player, read it, and symbolicate it with atos.
Install a Rust panic hook before your Bevy app starts, capture the message, location and backtrace, save the report to disk and send it now or on the next launch.
A working sys.excepthook for Pygame games: send the traceback to a server before Python exits, cover threads and hard crashes, and keep it working in PyInstaller builds.
itch.io gives you comments or a discussion board and no crash data. Set up a pinned bug report topic and an in-game report button that works inside the itch iframe.
Add a bug report form to a Three.js game, fix the blank canvas.toDataURL screenshot with preserveDrawingBuffer or render-then-capture, and handle pointer lock and WASD input.
A copy-paste request for a DxDiag report, the lines in DxDiag.txt that explain game crashes, and the red flags: missing drivers, wrong GPU, low memory and WER entries.
How exception_unhandled_handler works in GameMaker, why an HTTP request made inside it never completes, and the save-to-file pattern that sends the crash on the next launch.
Instructions you can send a player to pull a crash log off an iPhone (Analytics Data .ips files) or an Android phone (bug report, adb logcat), and how to read what comes back.
Add a bug report screen to a Pygame game: wire the SDK into your main loop in the right order, open it with F1 or a menu button, and send screenshots, saves and logs.