Hello! I'm trying to make a music script with BGME framework, but it keeps failing to load my music script:
[14:18:59] [BGME.Framework] [ERR] Failed to parse music script.
The given key 'Mini Bosses' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at PersonaMusicScript.Types.MusicCollections.EncounterMusic.Add(EncounterEntry encounter)
at PersonaMusicScript.Library.MusicSource.AddEntry(BaseEntry entry)
at PersonaMusicScript.Library.Parser.CommandBlockVisitor.VisitCommandBlock(CommandBlockContext context)
at SourceParser.CommandBlockContext.Accept[TResult](IParseTreeVisitor`1 visitor)
at Antlr4.Runtime.Tree.AbstractParseTreeVisitor`1.Visit(IParseTree tree)
at PersonaMusicScript.Library.Parser.StatementVisitor.VisitStatement(StatementContext context)
at SourceParser.StatementContext.Accept[TResult](IParseTreeVisitor`1 visitor)
at Antlr4.Runtime.Tree.AbstractParseTreeVisitor`1.Visit(IParseTree tree)
at PersonaMusicScript.Library.Parser.SourceVisitor.VisitSource(SourceContext context)
at SourceParser.SourceContext.Accept[TResult](IParseTreeVisitor`1 visitor)
at Antlr4.Runtime.Tree.AbstractParseTreeVisitor`1.Visit(IParseTree tree)
at PersonaMusicScript.Library.MusicParser.Parse(String musicScriptText, MusicSource existingSource)
at BGME.Framework.Music.MusicService.OnMusicScriptsChanged(String[] newMusicScripts)
From what I can tell, it's not finding the "Mini Bosses" collection, even though I've copied it exact from this list of collections, so I'm not sure what I'm doing wrong. I'm calling the collection like so:
encounter["Mini Bosses"]:
music = 112
end
Is there a more up-to-date collection list I'm supposed to be using? I'm using version 4.1.2 of BGME Framework.
