Hey all.
Im having some issues with Network.InitializeServer, on my Windows 7 64bit machine(the best one, spec wise, i have) i keep getting some freeze lag whenever i start a server. It happens rarely in the Editor, but mostly in the Player.
Sometimes it decides to work, but mostly it doesn’t.
Ive tried to make sure its not any script looping bad, but its hard because i am only use the free version(no profiler).
Also this does not happen on my Windows Vista 64bit or any other computer i have tested it on.
Do you guys know what it might be/have any ideas on how i can debug it?
Bump?
No1 knows what it might be? =D
Bump again.
To add, it works fine on my friend’s Win7 64bit.
Oh jeez, no replies at all. =O
This seems to be more a local problem then Unity related. I have both Vista and W7 64bit working just fine.
It would also be better if you post your code, if there are any errors we might spot them.
Well im kinda guessing that, but it is not outdated hardware or something like that as ive updated it all.
As i said above it works fine on my other dev’s computer which is running almost the same setup as mine(i got a better one).
Ive tried disabling AV and firewalls with the same thing happening.
When you are running the app the first time after a computer restart(or not starting it for a long while) it will not lag, everything will be fine.
But if you restart it after that, it will have an total freeze every 1000ms.
Computer specs are:
AMD ATHLON II X4 645 3.1GHZ 2MB L2 95W
4 GB Kingston 1333MHZ DDR3 CL9 DIMM KIT
500 GB Western Digital Caviar SATAII 7200 RPM 16MB
ATI Radeon HD5570 1GB PCI-E DDR3 VGA DVI HDMI
with
Microsoft Windows 7 Home Premium - 64 bit
I dont have the codes for the next 2 weeks(i will post them then) but idk how much it matters as ive tried only with Network.InitilizeServer() (fail spelling) and its still doing it. I did read about not having it in the update function(which i dont, its in OnGUI() ) and ive made sure its not looping. =D
Does it also happen if you use the networking demo from the resources section ? So you can rule out code issues
Ehrm, i will have to check that when i get home…
I believe i did test the demo, but not on the computer i got the issues on…