This seems to be related to a known serialization bug that occurs in certain Unity versions, the “GetName can only be called from the main thread”. Here is the related issue in the tracker:
These are the threads where the same bug is mentioned:
Try using a version listed as “not reproducible” in the issue tracker. For me, the bug doesn’t occur in 6000.3.0b2, 6000.3.0b3 and 6000.3.0b4 which I tested.