ScopedLock Exception - Invalid Handle [Solved]

[Removed original problem - invalid handle exception]

Apparently, a pointer changed somehow. I’m not sure why that happened but it was the source of the problem. Once the object was initialised, I don’t see why the address would change but I’m going to look into it.