Rocher0724/socket.io-unity

Method stops

Opened this issue · 4 comments

When i call some specific methods(like Instantiate) in my callback function, the script just stops running.

Prints: After the Instantiate, no one Debug is printed, but with 0 errors.

1
2

Note: I'm Brazilian

Estou com o mesmo problema amigo, conseguiu algo?

@Megamil Infelizmente não consegui nenhum progresso.

I am having the same issues and also don't know how to resolve them...

The same thing also occurs when finding game object like:

GameObject[] gameObjects = GameObject.FindGameObjectsWithTag("<tag>");

I am having the same issues and also don't know how to resolve them...

The same thing also occurs when finding game object like:

GameObject[] gameObjects = GameObject.FindGameObjectsWithTag("<tag>");

Nowadays I can solve it, this specific case is a problem with Thread in csharp.

if you want to base it or use it, I created a functional project:

https://github.com/Megamil/Socket.IO-Unity

in case I just wanted the thread manager I used: https://github.com/Megamil/Socket.IO-Unity/blob/main/Assets/Script/UnityThread.cs