[Unity] Firefox crash

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

Post Reply
seb
Posts: 2
Joined: 10 Jan 2009, 22:32
Location: Lille, FR

[Unity] Firefox crash

Post by seb »

Hello,

I have been tracking a bug for some hours now, that made Firefox crash only (Safari and IE works).

Documentation says you can write this :

Code: Select all

int age = (int)user.GetVariable("age");
But this just crashes Firefox. I replaced this code with the following:

Code: Select all

int age = System.Convert.ToInt32 (user.GetVariable("age"));
And it works :)

Maybe doc should be updated to avoid confusion ?

Thanks for the great work you have been doing on this port. SmartFox + Unity rocks :)

Sebastien
Post Reply