The bug we are trying to describe is within the given function below. The function sometimes returns an ID of 0 which means it could not load the texture/buffer. The buffer is valid and so is the width/height, but this only happens for random textures and never happens to only one particular texture.
int t_id = nvgCreateImageMem(vg, 0, (unsigned char*)buffer, (*width) * (*height));
We have this issue across multiple projects and do not see this issue when the systems are run outside the sim. So when not interacting with the above SDK function.
Thanks,