This was driving me insane that Angelscript sometimes ends up with corrupted functions after module cleanup and this took me a while to get around and debug properly.
There seem to be multiple things that need to fall in line for this crash to be produced and I'm not even sure whch part to start from. Did confirm that this bug still exists on version 2.34.
The crash is to do with shared classes and compiled scripts producing duplicate versions of virtual functions for base shared classes.
*scripts
You'll need 4 scripts for an easy scenario.
One …