When trying to debug network traffic in my game, I tried running netprofile in console from development build, then this crash and error happens if run on connected client:
(no error happens if game host enter netprofile, but even if entering it again file will remain as *.tmp and not convert to *.nrprof file)
Ive tried to find more documentation on this but nothing shows up, have I missed something? This might not be a bug and simply user error.
project built as development build win64x using steamworks.
This crash appears to happen only when you attempt to run netprofile on multiple instances simultaneously. This has been fixed for 4.9 so that each instance will write to a different .tmp file. I was also only able to reproduce issue with a .tmp file not converting over to a .nprof file after this crash occurred. If you’re able to reproduce that issue again in a different circumstance, please let us know. Until 4.9, to avoid this client crash, you’ll need to make sure you’re only running netprofile on one instance of game at a time.
I see, is there any issue with using netprofile with packaged development build? I was running one client per computer, (one computer hosting a listen server, and one computer connecting), they both have different steam logins, however they are connected to same internet network. client that would crash also started to write a .tmp file that did not convert. If running this command on host listen client, with no other connected clients, it would not crash, but also not convert .tmp file. Perhaps im using this system wrong? I only used netprofile on one computer at a time while trying this out.
There shouldn’t be any problem using netprofile with a packaged development build as opposed to in-editor.
I haven’t been able to reproduce issue with a .tmp file not converting to .nprof in 4.8.2. Can you attempt same thing in 4.9 Preview 1 and see if it happens for you there as well? It’s possible it was fixed along with other issue for 4.9.
bug mentioned above only occurs for me when attempting to run it on both Server and Client. There shouldn’t be any issues with netprofile or steam specifically in 4.8 otherwise. Please try same thing in 4.9 Preview 1, and let me know if you still have issues. Thanks!
I will report back after official 4.9 release, (having some issues with disk space atm), in 4.8 tho there are seemingly problems when using steamworks and trying to run netprofile even on different computers on separate connections. Hopefully this is fixed in 4.9. Cheers!
Reason is that I had no connection between two peers, so no info was gathered. But there’s now a crash, and it’s pretty obvious what’s going wrong here. In IPAddressSteam.h’s GetIp() function there’s simply a check that will always fail.
Is it same crash shown in original post? If not, please open a new post in Bug Reports section with as many details as possible, including dxdiag and crash log, and we’ll investigate further. Thanks!
Thanks Davixe! I was able to reproduce this in 4.10.1 as well, so it appears bug has returned. I’ve entered a bug report for it (UE-24970), and I’ll update this post when I see any change in its status. Thanks for pointing this out to us!
It looks like a separate fix in 4.13 has fixed this error. If you experience this error when 4.13 is live, please post back here and we will have another look.
Unfortunately, it looks like a separate fix addressed this error as well, but it isn’t definitive which fix it was. I do not have a specific commit available on this fix.