One of my players reports that my Unity game (Adventurezator: When Pigs Fly on Steam) crashes after launching, and strace reveals “Got a bad hardware address length for an AF_PACKET 16 8”.
Apparently it’s something with libmono.so. Several Unity games have this same problem, but not all.
What’s your memory usage like? There was a bug fixed in one of the 4.5.5 patch releases which dealt with Mono generating incorrect code under 64-bit when jumping large distances in memory (more likely to happen when your usage is above 2GB).
This happened with 4.5.3 and my update yesterday built with 4.5.5 didn’t fix it. I won’t even try 4.6 because libmono.so didn’t change between 4.5.5 and 4.6.
Which 4.5.5 release? The mono fixes I’m thinking of were in patch release 4. They’re not in the 4.6 release but will arrive in 4.6.0p1 (due out December 4th).
If you try that release and still get the same crash, please file a bug - I think you’ll need to attach a build of your game - and post the number here.
I’m having the same exact problem. The linux headless build (32 or 64bit) simply get stuck in an endless loop of “Got a bad hardware address length for an AF_PACKET 16 8” errors.
I tried with unity 4.5.2, 4.6.0 and 4.6.1 with no luck.
I haven’t heard back from my Linux player, so I’m not sure if it’s been solved with 4.5.5p4 or not. You should file a bug report with a build attached.