Several of our users ran into the following failed assertion:
We have been able to narrow it down to a set of scripts, but unfortunately I haven't been able to reproduce it. This code is referring to the assertion here:
// Add it as constructor
objType->beh.constructors.PushLast(funcId);
asASSERT(objType->beh.copyconstruct == 0);
objType->beh.copyconstruct = funcId;
engine->scriptFunctions[funcId]->AddRefInternal();
Which is inside of asCBuilder::AddDefaultCopyConstructor
.
The scripts in question is part of the Ghosts++ plugin ( https://github.com/XertroV/tm-ghosts-plus-plus ), which unfortunately is rather large, so it might be hard to narrow it down.
I think I can turn off the “default copy constructor” behavior as a short term solution, but I suppose it's a bug with this relatively new feature.