Hi,
I wrote a Plugin, that connects to a Motioncapture Server and get Data from there. The Protocol is Natnet (Optitrack)
I Use UNreal 4.15.0 and compiled it from source, because the plugin from Optitrack is only compatible up to this version.
When I print the incomming data to screen, the data is exact what I want and then, the program crashes. When I put the data onto the skeleton, it moves perfecty, and then crashes. The Errors are manifold.
Before I want to tell you anything about theese mass of different errors I got through the last week, I want to tell you, that it does NOT crash, when I dont read the data into a the Blueprint.
So, the program DOES NOT CRASH, when I dont read the data into a Blueprint.
So, I think, the problem is, that I want to read data, while it is written in the background within my c++ code. Optitrack says, that the stream is much faster, than the tick in unreal 4. So it would be possible, that the data changes, while Im reading it.
Is there a standart, about how to read from a stream? Somthing like, first STOP the stream to read it, and than after doing so, let it go ahead.
Also I tested to FIRST save the incomming data in the Blueprint to a variable, and then read only this stored data from the variable, but it does not work.
Thanks for helping me!!
Best,