Game Map: Progress is not saved – attempt is automatically submitted instead

Description:

 We're experiencing inconsistent behavior when using the H5P Game Map (Version 1.5.4) in the Core integration in Moodle (Version 4.5.4). Instead of saving the learner's current progress as expected, the attempt is sometimes automatically submitted — without any user action. When the activity is reopened, progress is reset to 0% and a new attempt ist started.

This issue significantly disrupts learning workflows, especially in larger Game Maps with many stages. Our H5P Settings are "Save state: Yes" and "Save state frequency: 60 seconds"

There is no clear pattern when or why this automatic submission happens.

 

otacke's picture

Could you please check your setup? You say you're using Moodle's own H5P integration (the one with the blue icon and the content bank), but you also say you set "Save state: Yes" and "Save state frequency: 60 seconds" - Moodle's own H5P integration does not have these settings - it stores the values every 60 seconds by default. The H5P plugin for Moodle has (the one with the black H5P icon).

Just letting you know: H5P (this is not limited to GameMap) does not only save the state in regular intervals, but also on certain events. Please see https://snordian.de/2023/03/04/how-does-resuming-an-exercise-work-in-h5p/ for all the details.

GameMap should only ever submit results for the whole map when the user actively finishes the map. Not before, not after. If you experience something else, please provide more details incl. a copy of the content in question or access to a public course on your site where this can be checked. Moodle's own H5P integration does handle some things different than other H5P integrations do, cmp. e.g. https://h5ptechnology.atlassian.net/browse/HFP-4137.

Just wanted to correct one thing: Moodle core does have those settings you mention ("Save state" and "Save state frequency") in recent versions. See https://tracker.moodle.org/browse/MDL-67789

otacke's picture

I didn't argue that Moodle's own H5P integration could save the user data, but where are the related settings in question hidden then? They do not seem to be available in the H5P site administration.

Site administration -> Plugins -> Activity modules -> H5P

papi Jo's picture

You've got it wrong. Those are the settings for the H5P contributed plugin, NOT for the Moodle core integration of H5P!

That was clearly explained by Oliver in his post  otacke Mon, 06/02/2025 - 23:17