SocketIOClient-Unreal
SocketIOClient-Unreal copied to clipboard
Assertion failed: !IsGarbageCollecting
Log:
Unable to create new object: SIOJson Value /Engine/Transient. None. Creating Objects while Collecting Garbage is not allowed!
Debug avenues:
-
Are you creating UObjects on network thread? Go down to
FSocketIONativeand receive rawFJsonValuesand decode the messages without involving uobjects, e.g. convert to c++ ustructs. -
Are you still connected when closing game? Disconnect on endplay to ensure clean shutdown