Persistent "Infrastructure Error" with add_scene_events tool

Hello GDevelop Community and Support Team,

I am encountering a persistent “Infrastructure error” when attempting to use the add_scene_events tool. This issue is preventing me from adding any new events or modifying existing event logic in my project.

Error Message: The exact error message I receive is: {"tool_add_scene_events_..._response": {"aiGeneratedEventId": "...", "message": "Infrastructure error when generating events (Internal error while handling the AI Generated Event.). Consider trying again or a different approach.", "success": False}} (Note: The aiGeneratedEventId and other IDs in the message vary with each attempt.)

Context: I am working on a match-3 style game. I’ve been trying to implement core game logic such as:

  • Generating pieces on the grid.
  • Handling player input for swapping pieces.
  • Detecting matches.
  • Updating scores and objectives.
  • Implementing scene changes (e.g., from Main Menu to game scene, or to Game Over/Level Complete scenes).

Each attempt to use the add_scene_events tool, regardless of the complexity of the event description, results in this “Infrastructure error.”

Steps Taken/Observations:

  • The error occurs consistently with every attempt to add events.
  • Other tools, such as change_object_property, put_2d_instances, add_or_edit_variable, and describe_instances, appear to be working correctly.
  • I have tried various event descriptions, from simple scene changes to more complex logic, all resulting in the same error.

Impact: This issue is currently blocking all progress on implementing dynamic game logic, as events are fundamental to game behavior and interactivity.

Request: Could you please investigate this “Infrastructure error” with the add_scene_events tool? Any guidance on a workaround or an estimated fix would be greatly appreciated.

Thank you for your time and assistance!

I’m having the same problem.

I am experiencing a repeatable failure when GDevelop AI tries to modify an existing event.

Error shown:

Infrastructure error during events generation
(Error while running AI event generation: )

The error after the colon is blank, so no validation line, compile error, or other diagnostic information is provided.

What I was trying to do

Modify one existing event containing six conditions and twelve actions. The requested change would leave the same six conditions and expand the event to sixteen actions. It changes two hardcoded coin values to array values and adds four variable actions.

Steps to reproduce

  1. Open the project.

  2. Enable Auto Edit.

  3. Ask GDevelop AI to read the existing event and verify its current source.

  4. Ask it to replace only that event using the verified existing source.

  5. The read-only inspection succeeds.

  6. The event-generation/write step fails with the blank infrastructure error above.

Results

  • The failure has occurred repeatedly across separate AI chats.

  • Restarting the GDevelop desktop application did not resolve it.

  • The same failure occurred in the GDevelop web application.

  • GDevelop AI can still inspect the project, event, and variables successfully.

  • The failure occurs specifically when the event-generation tool attempts the write.

  • Read-back checks after every failure confirm that the event remains unchanged.

  • No partial or duplicate events have been created.

  • No Preview or project save was run after a failed attempt.

Expected result

The verified event script should be compiled and staged, or GDevelop should return a specific validation error identifying the rejected line or action.

Actual result

Event generation stops with a generic infrastructure error and an empty error description.

Environment

  • Operating system: Windows

  • Tested in: GDevelop desktop application and GDevelop web application

  • Desktop GDevelop version: [please insert version shown under About GDevelop]

  • Date observed: September 2, 2026

  • Project: DibbaDots Food Empire

Additional diagnostic information

The event’s read-only source is returned correctly every time. All referenced global and scene variables are found. The write fails before any observable project change. This suggests either a problem in the event-generation backend or an unreported input-specific failure. Because the returned diagnostic is blank, I cannot distinguish a service exception, timeout, or silent validation rejection.

Could you please confirm whether the AI event-generation service is experiencing a known problem, and advise whether there are logs, a request identifier, or another supported diagnostic method I can provide?

I can provide screenshots and a reduced reproduction project privately if needed.