c# - How to switch scenes in Unity 5 without losing network connection? -


how switch "login" scene "stage1" scene in unity 5? establish hlapi connection (unet) server on client connects, client loggs in, , it's supposed sent on scene.

how do without losing connection? because scene loads going entirely new without presets.

i know there dontdestroyonload() don't think that's way keep network connection?

i realize few previous questions asked, couldn't find pertaining unet , unity 5.

what's wrong dontdestroyonload()? that's "official" method keeping objects being destroyed between scenes.


Comments

Popular posts from this blog

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -