Kinect 4 Windows v2.0 Plugin

/blob/develop/Plugins/KinectV2/Source/KinectV2/Private/KinectSensor.cpp line number 768 (void FKinectSensor::UpdateTexture(UTexture2DpTexture, const RGBQUADpData, uint32 SizeX, uint32 SizeY))

so the point is that you lock the texture in line 779 this way : uint8 Dest = (uint8*)Texture->PlatformData->Mips[0].BulkData.Lock(LOCK_READ_WRITE);* . without checking if its already locked.
I suggest at least a simple lock check such as Texture->PlatformData->Mips[0].BulkData.IsLocked() can be used and whether check it as a infinite while condition or put the thread in sleep in that while. for sure you have even better suggestion than mine.

this makes it complicated if another thread is trying to manipulated a previously fetched texture from kinect.

PS : is it a big hassle to add CoordinateMapper::GetDepthCameraIntrinsics() function to your plugin since you already have an instance of the coordinateMapper ? I was thinking to add it but wanted to consult with you