Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

NetworkTransport.Init() crashes Editor and Builds

$
0
0
I'm using RakNet (a .DLL) to allow NAT Punchthrough for internet hosting. My networking system has two methods of hosting servers. One is LAN using the NetworkTransport layer alone. The other, also uses the TransportLayer to send messages, but does so through a port that has been NAT Punchthrough'd on my router. When hosting (LAN only), closing, then using NetworkTransport.Init() - NO PROBLEM. When hosting (with NAT Punchthrough), closing, then using NetworkTransport.Init() - CRASH. When I start a server with NAT P, I dont really do anything differently to the NetworkTransport. The only notable different is using the special port. But, it crashes. My head hurts. Here is a section of the builds crash log: ========== OUTPUTING STACK TRACE ================== 0x0000000005877132 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Networking.NetworkTransport:ReceiveRelayEventFromHost (int,byte&) 0x000000000586C210 (Mono JIT Code) UnityEngine.Networking.NetworkServerSimple:Update () 0x0000000005877047 (Mono JIT Code) UnityEngine.Networking.NetworkServer:InternalUpdate () 0x0000000005840070 (Mono JIT Code) UnityEngine.Networking.NetworkServer:Update () 0x000000000583FD25 (Mono JIT Code) UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate () 0x00000000057E0483 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x00007FF8737354A3 (mono) mono_set_defaults 0x00007FF8736883F1 (mono) mono_runtime_invoke 0x00007FF7E69F0F7B (BUILD) physx::shdfnd::Foundation::getNamedAllocMap 0x00007FF7E6DE3DE8 (BUILD) physx::shdfnd::Foundation::getErrorMutex 0x00007FF7E68D4D6D (BUILD) physx::shdfnd::Foundation::getNamedAllocMap 0x00007FF7E6E9E777 (BUILD) physx::shdfnd::Allocator::`default constructor closure' 0x00007FF7E6E9E94A (BUILD) physx::shdfnd::Allocator::`default constructor closure' 0x00007FF7E6EA2478 (BUILD) physx::shdfnd::Allocator::`default constructor closure' 0x00007FF7E6FA7DD0 (BUILD) physx::shdfnd::ErrorHandler::getMaxCallbackNum 0x00007FF8AEB08364 (KERNEL32) BaseThreadInitThunk 0x00007FF8AF3870D1 (ntdll) RtlUserThreadStart ========== END OF STACKTRACE ===========

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>