I had the same problem when I disabled a group with a function.
Check if you have any calls to new Functions, which are either deleted, disabled, or are in disabled event groups.
This will probably be fixed in the next stable release:
github.com/Scirra/Construct-3-bugs/issues/3127