I have always wondered about this warning on exit. Turns out this happens when exiting a level (or game) that has been loaded from a savefile. Problem is that traceModelCache[]->refCount associated with the defaultClipModel is not being set properly after a load from file. It is set to 0 and never incremented (i.e. not ref'd by objects) which results in this warning message on exit. Solution is pretty straight forward: fix the refCount on load. I will submit a PR to solve.
I have always wondered about this warning on exit. Turns out this happens when exiting a level (or game) that has been loaded from a savefile. Problem is that
traceModelCache[]->refCount
associated with thedefaultClipModel
is not being set properly after a load from file. It is set to 0 and never incremented (i.e. not ref'd by objects) which results in this warning message on exit. Solution is pretty straight forward: fix the refCount on load. I will submit a PR to solve.