Oh okay, now I understand the problem;
The plugin replaces instances of your struct while you have something reading “UVs”, “Tangents” and “Colors”. Random crash will happen because that…
I personally would instead split those two groups into separate structs, but then I don’t know how much that would affect your architecture.