Can't find device when play a .bag file

Dear all,
The .bag file can be run correctly with the Nuitrack python release, but it can’t find the device with C++. Here’s my code:

Dear all,
The problem has been solved and I successfully ran the .bag file. Running the code directly according to the method of setConfigValue(“Realsense2Module.FileRecord”, “D:/1.bag”) still prompts that the device cannot be found, but I connect a sensor to my computer and the code works. At this point, it’s the data of the .bag running instead of the real-time data of the sensor connected to my computer, and I’m confused.

Hey, @Huayra.

Thanks for bringing it up. We’ll take this issue for further consideration.
Do you have any other questions?