10/14/2015

Stormancer debug window for unity3D

Hello there!

Today, we want to show you our new Stormancer debug window for Unity3D.

Most of time, it is difficult to debug messages sent though the network. We used to use specialized third party softwares such as Wireshark to do so. We thus began to thought is was about the time to create a stormancer specific debug window for Unity.

This debug window will help you in several ways:

By showing you, in a tree styled view, the list of your client, the scenes they are connected to and the route they use. Please note that is you have more than one client, you have done something wrong or you are very confident in what you are doing.

enter image description here

By providing you Stormancer's specific debug logs. Connection process, endpoint, apllication name, etc... If something goes wrong, if you don't manage to connect to your server, these logs should help you.

enter image description here

By displaying real time statistics, thanks to the Editor Charts plugin for Unity3D. You'll be able to check the total amount of data, the average packet size and how many of them went though a route per second.

enter image description here

Finally, You'll alos be able to export incomming and outgoing messages in a log file. This will be very useful to check the integrity of your message and may be asked by us if you encounter an issue. This file will show: the utc date of the log, the equivalent time using the server clock, R if the messages is received, S if it is sent, the scene and the routes used and the data in hexadecimal.

2015-10 14:15:24:57.053 85838027    R   main    destroy_ball    68 A6 0B 00
2015-10 14:15:24:57.053 85838027    R   main    create_ball 7B A7 0B 00 E6 36 99 C0 F5 60 41 C1 15 85 3D 3E CA 93 7B 3F D0 C8 1D 05 00 00 00 00 B8 0B 00 00
2015-10 14:15:24:57.155 85838127    R   main    destroy_ball    69 A6 0B 00
2015-10 14:15:24:57.155 85838127    R   main    create_ball 7C A7 0B 00 69 20 00 41 2F DA 23 41 EB 6D 44 BF 4C 2B 24 BF 3D C9 1D 05 00 00 00 00 B8 0B 00 00
2015-10 14:15:24:57.275 85838247    R   main    destroy_ball    6A A6 0B 00
2015-10 14:15:24:57.275 85838247    R   main    create_ball 7D A7 0B 00 EB EA 42 41 71 34 91 C0 A3 2A 58 BF 71 24 09 3F AA C9 1D 05 00 00 00 00 88 13 00 00
2015-10 14:15:24:57.380 85838352    R   main    destroy_ball    6B A6 0B 00
2015-10 14:15:24:57.380 85838352    R   main    create_ball 7E A7 0B 00 46 1D B0 40 D8 70 3C C1 C0 C0 93 BE D3 1B 75 3F 18 CA 1D 05 00 00 00 00 A0 0F 00 00
2015-10 14:15:24:57.503 85838475    R   main    destroy_ball    6C A6 0B 00
2015-10 14:15:24:57.503 85838475    R   main    create_ball 7F A7 0B 00 4F E4 A2 BD 01 FF 4F 41 0D A8 12 3E 64 5C 7D BF 85 CA 1D 05 00 00 00 00 A0 0F 00 00
2015-10 14:15:24:57.764 85838737    S   main    update_leaderBoard

We hope this new tool will help you when using stormancer.

Feel free to improve it to your needs and don't forget to tell us if you think we should add more infos to display on the window.


No Comments

Post Reply

You must sign in to comment.