[Unity] Firefox crash

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

Moderators: Lapo, Bax

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

[Unity] Firefox crash

Postby seb » 10 Jan 2009, 22:39

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

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 17 guests