Answer the question
In order to leave comments, you need to log in
How to handle Unity3D freezing caused by third party code?
I wanted to use the SignalR library in Unity3d. Everything seems to be working well. But there is one problem that I don't know how to deal with. If the server is unavailable, and the line to connect to it is called in the code, then Unity freezes tightly and nothing can be done about it. You have to stop the process in the manager, even in development mode the whole environment freezes. Try Catch does not help, additional streams too. Can I somehow solve the problem? How it is possible to process such code which can cause such hangup?
Answer the question
In order to leave comments, you need to log in
Check in advance the availability of a connection to the server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question