Hi @TimewornTincan:
I’m fairly sure that the issue you’re running into is that you’re not invoking overloaded functions (i.e. SpongeMessage.Show
should be SpongeMessage.Show()
) immediately. Currently, overloaded functions must be immediately invoked. Unfortunately our semantic analyzer didn’t catch this and the code generator failed when trying to do opcode generation for your code. I have a working fix submitted internally for review which will turn that into a semantic analysis warning (i.e. you should see red squiggly lines in VS Code in the future with that syntax telling you that there’s a syntax issue) and this should be included in an upcoming release.
This has been reported before in another thread as well: Project crashes with EXCPETION_ACCESS_VIOLATION - #6 by sonictke