Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[A GM bug] Errors opening project with GMLive

A topic by conceptAlpha created Jan 28, 2021 Views: 240 Replies: 3
Viewing posts 1 to 2
(1 edit)

I get these errors opening a project: 

GMLive at line 2302, 20 : Exception while parsing System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <ab04ed2808f745289a3666eaaadaf8fd>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <ab04ed2808f745289a3666eaaadaf8fd>:0 
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0004f] in <1d0caf5b69bb40aeb995465684e820ab>:0 
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <1d0caf5b69bb40aeb995465684e820ab>:0 
  at YoYoStudio.User.License.IsFreeLicense () [0x00030] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.User.User.FreeLicense () [0x0000e] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseMemberExpression (System.Boolean _insideNew, System.Boolean _allowNewFunction) [0x00188] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseLeftHandSide () [0x00000] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parsePostfix () [0x00000] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseUnary () [0x0009d] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseAssignmentExpression () [0x00000] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseExpression (System.Boolean _statement) [0x0000b] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x001f0] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseBlock (YoYoStudio.TextEditor.YYGMLAstNode _parent, System.Boolean _fDoLastMatch) [0x0006f] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x000dd] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatementWithCodeFolding (YoYoStudio.TextEditor.YYGMLAstNode _pParent, YoYoStudio.TextEditor.YYGMLAstNode _pFoldingNode, System.String _baseName) [0x0003d] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseIf (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x000ac] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00134] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseSwitch (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x001bb] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00170] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseSwitch (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x001bb] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00170] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseBlock (YoYoStudio.TextEditor.YYGMLAstNode _parent, System.Boolean _fDoLastMatch) [0x0006f] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x000dd] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatementWithCodeFolding (YoYoStudio.TextEditor.YYGMLAstNode _pParent, YoYoStudio.TextEditor.YYGMLAstNode _pFoldingNode, System.String _baseName) [0x0003d] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseWhile (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x000a9] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00140] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseBlock (YoYoStudio.TextEditor.YYGMLAstNode _parent, System.Boolean _fDoLastMatch) [0x0006f] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseFunctionDecl (System.Boolean fIsExpression) [0x00575] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00185] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatementWithCodeFolding (YoYoStudio.TextEditor.YYGMLAstNode _pParent, YoYoStudio.TextEditor.YYGMLAstNode _pFoldingNode, System.String _baseName) [0x0003d] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseIf (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x000ac] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseStatement (YoYoStudio.TextEditor.YYGMLAstNode _parent) [0x00134] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
  at YoYoStudio.TextEditor.GMLASTCreator.parseCode () [0x00006] in <cf197a9d2882436ca85a3dbc4a6d5bfe>:0 
GMLive at line 2303, 8 : unexpected syntax error
GMLive at line 2327, 7 : unexpected syntax error
GMLive at line 2333, 7 : unexpected syntax error
GMLive at line 2343, 7 : unexpected syntax error
GMLive at line 2349, 7 : unexpected syntax error
GMLive at line 2359, 7 : unexpected syntax error
GMLive at line 2365, 7 : unexpected syntax error
GMLive at line 2380, 8 : unexpected syntax error
GMLive at line 2397, 8 : unexpected syntax error
GMLive at line 2405, 8 : unexpected syntax error
GMLive at line 2417, 7 : unexpected syntax error
GMLive at line 2436, 7 : unexpected syntax error
GMLive at line 2438, 7 : unexpected syntax error
GMLive at line 2443, 7 : unexpected syntax error
GMLive at line 2455, 7 : unexpected syntax error
GMLive at line 2463, 11 : unexpected syntax error
GMLive at line 2524, 14 : unexpected syntax error
GMLive at line 2533, 7 : unexpected syntax error
GMLive at line 2566, 8 : unexpected syntax error
GMLive at line 2576, 8 : unexpected syntax error
GMLive at line 2579, 8 : unexpected syntax error
GMLive at line 2586, 8 : unexpected syntax error
GMLive at line 2599, 7 : unexpected syntax error
GMLive at line 2601, 7 : unexpected syntax error
GMLive at line 2603, 7 : unexpected syntax error
GMLive at line 2613, 7 : unexpected syntax error
GMLive at line 2617, 11 : unexpected syntax error
GMLive at line 2618, 11 : unexpected syntax error
GMLive at line 2619, 11 : unexpected syntax error
GMLive at line 2620, 11 : unexpected syntax error
GMLive at line 2621, 11 : unexpected syntax error
GMLive at line 2622, 11 : unexpected syntax error
GMLive at line 2623, 11 : unexpected syntax error
GMLive at line 2624, 11 : unexpected syntax error
GMLive at line 2625, 11 : unexpected syntax error
GMLive at line 2626, 11 : unexpected syntax error
GMLive at line 2627, 11 : unexpected syntax error
GMLive at line 2628, 11 : unexpected syntax error
GMLive at line 2629, 11 : unexpected syntax error
GMLive at line 2630, 11 : unexpected syntax error
GMLive at line 2631, 11 : unexpected syntax error
GMLive at line 2632, 11 : unexpected syntax error
GMLive at line 2633, 11 : unexpected syntax error
GMLive at line 2634, 11 : unexpected syntax error
GMLive at line 2635, 11 : unexpected syntax error
GMLive at line 2636, 11 : unexpected syntax error
GMLive at line 2637, 11 : unexpected syntax error
GMLive at line 2638, 11 : unexpected syntax error
GMLive at line 2639, 11 : unexpected syntax error
GMLive at line 2640, 11 : unexpected syntax error
GMLive at line 2641, 11 : unexpected syntax error
GMLive at line 2642, 11 : unexpected syntax error
GMLive at line 2643, 11 : unexpected syntax error
GMLive at line 2644, 11 : unexpected syntax error
GMLive at line 2645, 11 : unexpected syntax error
GMLive at line 2646, 11 : unexpected syntax error
GMLive at line 2647, 11 : unexpected syntax error
GMLive at line 2648, 11 : unexpected syntax error
GMLive at line 2649, 11 : unexpected syntax error
GMLive at line 2650, 11 : unexpected syntax error
GMLive at line 2651, 11 : unexpected syntax error
GMLive at line 2652, 11 : unexpected syntax error
GMLive at line 2653, 11 : unexpected syntax error
GMLive at line 2654, 11 : unexpected syntax error
GMLive at line 2655, 11 : unexpected syntax error
GMLive at line 2656, 14 : unexpected syntax error
GMLive at line 2661, 7 : unexpected syntax error
GMLive at line 2678, 7 : unexpected syntax error
GMLive at line 2718, 7 : unexpected syntax error
GMLive at line 2800, 6 : unexpected syntax error
GMLive at line 2803, 6 : unexpected syntax error
GMLive at line 2970, 7 : unexpected syntax error
GMLive at line 3091, 10 : unexpected syntax error
GMLive at line 3092, 6 : unexpected syntax error
GMLive at line 3103, 10 : unexpected syntax error
GMLive at line 3104, 6 : unexpected syntax error
GMLive at line 4138, 7 : unexpected syntax error
GMLive at line 4155, 7 : unexpected syntax error
GMLive at line 4661, 7 : unexpected syntax error
GMLive at line 5345, 7 : unexpected syntax error
GMLive at line 5571, 6 : unexpected syntax error
GMLive at line 5752, 8 : unexpected syntax error
GMLive at line 5782, 8 : unexpected syntax error
GMLive at line 5870, 7 : unexpected syntax error
GMLive at line 5894, 7 : unexpected syntax error
GMLive at line 5924, 6 : unexpected syntax error
GMLive at line 6058, 7 : unexpected syntax error
GMLive at line 6066, 7 : unexpected syntax error
GMLive at line 6088, 7 : unexpected syntax error
GMLive at line 6092, 7 : unexpected syntax error
GMLive at line 6133, 7 : unexpected syntax error
GMLive at line 6137, 7 : unexpected syntax error
GMLive at line 6157, 7 : unexpected syntax error
GMLive at line 6164, 7 : unexpected syntax error
GMLive at line 6173, 7 : unexpected syntax error
GMLive at line 6183, 7 : unexpected syntax error
GMLive at line 6186, 7 : unexpected syntax error
GMLive at line 6277, 10 : unexpected syntax error
GMLive at line 6279, 6 : unexpected syntax error
GMLive at line 6444, 7 : unexpected syntax error
GMLive at line 6446, 7 : unexpected syntax error
GMLive at line 6800, 6 : unexpected syntax error
GMLive at line 6807, 6 : unexpected syntax error
GMLive at line 7042, 6 : unexpected syntax error
GMLive at line 7045, 6 : unexpected syntax error
GMLive at line 7053, 6 : unexpected syntax error
GMLive at line 7075, 6 : unexpected syntax error
GMLive at line 7109, 6 : unexpected syntax error
GMLive at line 7112, 6 : unexpected syntax error
GMLive at line 7120, 6 : unexpected syntax error
GMLive at line 7141, 6 : unexpected syntax error
GMLive at line 7173, 6 : unexpected syntax error
GMLive at line 7176, 6 : unexpected syntax error
GMLive at line 7184, 6 : unexpected syntax error
GMLive at line 7201, 6 : unexpected syntax error
GMLive at line 7232, 6 : unexpected syntax error
GMLive at line 7235, 6 : unexpected syntax error
GMLive at line 7243, 6 : unexpected syntax error
GMLive at line 7260, 6 : unexpected syntax error
GMLive at line 7375, 6 : unexpected syntax error
GMLive at line 7379, 6 : unexpected syntax error
GMLive at line 7390, 6 : unexpected syntax error
GMLive at line 7538, 6 : unexpected syntax error
GMLive at line 7600, 6 : unexpected syntax error
GMLive at line 7803, 7 : unexpected syntax error
GMLive at line 7855, 7 : unexpected syntax error
GMLive at line 7881, 7 : unexpected syntax error
GMLive at line 7895, 7 : unexpected syntax error
GMLive at line 8171, 6 : unexpected syntax error
GMLive at line 8173, 6 : unexpected syntax error
GMLive at line 8230, 6 : unexpected syntax error
GMLive at line 8235, 6 : unexpected syntax error
GMLive at line 8241, 6 : unexpected syntax error
GMLive at line 8246, 6 : unexpected syntax error
GMLive at line 8259, 6 : unexpected syntax error
GMLive at line 8262, 6 : unexpected syntax error
GMLive at line 8871, 6 : unexpected syntax error
GMLive at line 9778, 7 : unexpected syntax error
GMLive at line 9796, 7 : unexpected syntax error
GMLive at line 10297, 6 : unexpected syntax error
GMLive at line 10302, 6 : unexpected syntax error

I assume with the above error I am not going to be able to use GMlive?

Developer

I was getting this at some point when testing the 2.3 version, but could not reproduce - it is some sort of issue with IDE’s parser.

If this reliably happens after reopening the project, I would suggest to file a bug with YYG.

Running the project from GMEdit (using the builder plugin) would be another option, as this spares you of IDE-specific bugs.

Would my Project be of any use? I could email it to you?

Developer

I wouldn’t be able to do much with it since this is not an issue with GMLive - it is an issue with GameMaker IDE itself, perhaps related to some edge-case when indexing a specific part of GMLive’s code and a specific snippet of non-GMLive code at once.