P
P
polyakovyevgeniy2017-03-18 00:25:29
Unity
polyakovyevgeniy, 2017-03-18 00:25:29

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

1 answer(s)
V
Vladimir Alkhimenko, 2018-09-02
@AngryProgrammer001

Check in advance the availability of a connection to the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question