Quick answer: A Construct 3 bug report form needs no JavaScript. Install the Bugnet addon, insert the Bugnet object, call its Initialize action once on start of layout, and call Show report widget from a button sprite or a key. Set the project’s Use worker property to No so the form can draw over the canvas, and set Auto-capture errors to Enabled so uncaught runtime errors are filed without the player doing anything.

Construct 3 games reach players as web pages, desktop wrappers and mobile apps, and in all three the player has the same problem when something breaks: there is nowhere to say so. A report form inside the game fixes that, and because Construct addons expose actions and conditions like any other object, you can build the whole thing in the event sheet. This guide covers the setup, the one project setting that silently hides the form, how to keep the game still while a player types, what to put in a report filed from events, and how to test it in preview and in each export.

Install the addon and insert the object

Download bugnet.c3addon from the SDK docs, open your project, and drag the file onto the Construct 3 editor window. Confirm the install prompt and reload when asked. The addon needs Construct 3 r401 or newer.

Then add the object to the project: in the Project Bar, right-click Object types, choose Insert new object, and pick Bugnet. It is a single global object, like Keyboard or Audio, so you insert it once and it is available on every layout and event sheet.

You also need a project API key. Create a project in the Bugnet dashboard and copy the key from its Integrate tab. It starts with sk_live_ and is an ingestion key meant to ship in the game: it can file reports and read the addon’s settings, and it cannot read your bugs.

Set Use worker to No

This is the step that costs people an afternoon. The report form is ordinary HTML laid over the game canvas, so the addon needs the page’s document to create it. When a project runs its runtime in a web worker, there is no document, and calling Show report widget does nothing except log [Bugnet] Widget not available in worker mode. to the console.

Select the project name in the Project Bar, open the Advanced section of the Properties Bar, and set Use worker to No. If a form that worked yesterday stops appearing after someone tidied the project settings, check this first.

Initialize once, on the first layout

Add this to an event sheet that every layout includes, or to the sheet of your loader or title layout:

System: On start of layout
Bugnet: [inverted] Bugnet is initialized
    -> Bugnet: Initialize Bugnet with API key "sk_live_your_key"
               server "https://api.bugnet.io" version "1.0.3" auto-capture Enabled

The four parameters of the Initialize action are the API key, the server URL, your game’s version string and whether to auto-capture errors. Leave the server as https://api.bugnet.io.

The inverted Is initialized condition matters. On start of layout fires for every layout, and initializing again would start a second play session and install the error listeners a second time. With the condition, the action runs exactly once per run of the game.

Take the version seriously. It is the only thing that tells you which build a report came from, so change the string every time you export. A global constant named GAME_VERSION that you also show on the title screen keeps the two in step.

Show the form from a button and a key

For a button, add a sprite or a text object called ReportButton to your pause menu or HUD layer and give it one event:

Touch: On tap gesture on ReportButton
    -> Bugnet: Show bug report widget

The Touch object’s Use mouse input property is on by default, so this one event handles mouse clicks on desktop and taps on phones. For a key, use the Keyboard object:

Keyboard: On F2 pressed
    -> Bugnet: Show bug report widget

Avoid F1 in a web build, since browsers use it for their own help page. A key is fine for testers, but a visible button is what players actually use, and on a phone it is the only option.

The form asks for a title and a description, and both are required. Depending on your project’s widget settings in the dashboard it can also show steps to reproduce, a category, a priority and an email field. Escape, the Cancel button or a click outside the panel closes it. There is a matching Hide report widget action if you need to close it from an event, for example when a cutscene starts.

Keep the game still while the player types

The form covers the whole window, so mouse clicks and touches go to it and not to the game. Keyboard events are a different matter: your own Keyboard conditions may still fire while the player types into the form, and a character that walks off a ledge because the description contained a “d” is a bug report nobody wants.

The addon has triggers for a report that was sent and one that failed, but not for a form that was cancelled, so do not build logic that depends on knowing the exact moment it closes. The robust pattern is to open the form only from a state where input already does nothing:

If your pause sets the time scale to 0, movement behaviors stop on their own. If you pause by disabling an event group, the same group switch covers the form.

Tell the player what happened

The form shows its own “Submitting…” and failure messages, and closes itself after a successful send. Two trigger conditions let your game react as well:

Bugnet: On bug reported
    -> ToastText: Set text to "Report sent. Thank you."
    -> ToastText: Set visible

Bugnet: On bug report failed
    -> ToastText: Set text to "Could not send the report. Check your connection."
    -> ToastText: Set visible

A visible thank-you is worth the two events. Players who see that a report went somewhere send a second one. The Bugnet.LastBugID expression holds the id of the most recent accepted report if you want to log it.

Report from events, with context

The Report bug action files a report directly, with no form. It takes a title, a description, a category and a priority, and it is the right tool whenever the game itself can tell something is wrong:

System: Score < 0
System: Trigger once while true
    -> Bugnet: Report bug "Score went negative"
               : "Layout: " & LayoutName & newline &
                 "Score: " & Score & newline &
                 "Lives: " & Lives
               (category: Gameplay, priority: High)

Two rules make these reports useful:

Always add Trigger once while true or an equivalent guard. A Report bug action under a condition that stays true would send a request every tick, and the server accepts at most 30 report requests a minute from one IP address.

The same action works as a one-tap report for touch games: a button that files “Player flagged a problem” with the layout and state in the description gives you a signal from players who would never fill in a form.

Attach the player

If your game knows who the player is, tell the addon once, after Initialize:

System: On start of layout
    -> Bugnet: Set player ID PlayerID name PlayerName email ""

The ID can be anything stable: an account id from your backend or a Steam ID if your desktop export uses a Steam plugin. The email is optional and is sent with every report, including automatically captured ones, so only fill it in when the player has given it to you for that purpose. When the email field is enabled in the widget settings, an address the player types into the form is used from then on.

Auto-capture: what gets filed without a form

With Auto-capture errors set to Enabled, the addon listens for two things: uncaught JavaScript errors and unhandled promise rejections. Each is filed as a critical report in the crash category, titled with the error message, and includes:

Each distinct error is filed once per session, and a session files at most 20 automatic reports, so an error thrown every tick cannot flood your project. If a send fails because the player is offline, the report is queued and sent when the connection returns during that session.

Event sheets on their own rarely throw JavaScript errors. What this catches in practice is failures in scripting blocks, third-party addons, and loading problems, which are exactly the ones you cannot see from a player’s description.

Automatic reports count toward your plan like any other, so do not let your own development mistakes use them up. Construct’s System object has an Is in preview condition. Keep two Initialize events, one with it and one with it inverted, and set auto-capture to Disabled in the preview one.

The optional JavaScript route

If your project already uses scripting, the same object has a script interface with a few extras the actions do not expose: steps to reproduce, a metadata object and file attachments.

runOnStartup(async runtime => {
    runtime.addEventListener("beforeprojectstart", () => {
        const bugnet = runtime.objects.Bugnet.getFirstInstance();
        bugnet.initialize("sk_live_your_key", "https://api.bugnet.io", "1.0.3");
    });
});

// Later, anywhere you have the runtime:
const bugnet = runtime.objects.Bugnet.getFirstInstance();
await bugnet.reportBug("Save failed", "Could not write slot 2", "gameplay", "high", {
    steps: "Open the menu, choose Save, pick slot 2",
    metadata: { layout: runtime.layout.name, slot: 2 }
});

Use one route or the other for initialization, not both. showWidget(), hideWidget() and setPlayer() mirror the actions.

Test in preview and in every export

Preview is a browser tab, so the form, the upload and the triggers behave as they will in a web export. Send one report from preview and check three things on it in the dashboard: the version string, the platform, and the screenshot. Screenshots are taken from the game canvas when Screenshot Capture is switched on for the project, and since the form is HTML and not part of the canvas, it is never in the picture. Look at the first one to confirm it shows the game.

Then repeat for each export you ship:

If a report does not arrive, open the browser’s developer console. Every addon message starts with [Bugnet], and the failure reason is there.

Where the reports go

Reports land in your Bugnet project with the screenshot, the console context, the platform and the version attached. Identical titles are stacked with an occurrence count, which is what turns two hundred copies of one error into a single item at the top of the list. From the dashboard you can assign and prioritize, get a Discord or Slack message for new reports, and publish a public tracker so players can see what is already known. The free plan includes one project and up to 100 bug reports, which is plenty for a game jam build or a closed test. See the Construct 3 addon reference for every action and expression, or Bugnet for Construct 3 for the overview.

Frequently asked questions

Can I add a bug report form to a Construct 3 game without JavaScript?

Yes. Install the Bugnet addon, insert the Bugnet object, and use its event sheet actions: Initialize on start of layout and Show report widget from a button or key. The form, the screenshot and the upload are handled by the addon.

Why does the bug report form not appear in my Construct 3 game?

The form is HTML drawn over the game canvas, which needs access to the page. If the project runs with Use worker enabled, the runtime has no page to draw on and the addon logs that the widget is not available in worker mode. Set Use worker to No in the project’s Advanced properties.

How do I report JavaScript errors from a Construct 3 game automatically?

Set the Auto-capture errors parameter of the Initialize action to Enabled. The addon then listens for uncaught errors and unhandled promise rejections and files each distinct one as a report with the recent console output and the current layout name.

Does the Construct 3 bug reporting addon work in exported desktop and mobile builds?

It uses the standard fetch API and an HTML overlay, both of which exist in the browser engines that Construct’s web, desktop and mobile exports run on. Always send a test report from each exported build you ship, because network permissions and platform wrappers differ.

How do I stop development errors from being filed as bug reports?

Initialize with Auto-capture errors set to Disabled while you are in preview. Construct’s System object has an Is in preview condition, so you can keep two Initialize events and let the exported game be the only one that auto-files errors.

Four events get you a working report form: initialize once, show the form on a button, and one trigger each for sent and failed. Everything else is refinement.