Unhandled Expection:Assert failed (GNet)

BlitzMax Forums/BlitzMax Programming/Unhandled Expection:Assert failed (GNet)

Arska(Posted 2012) [#1]
Hi!

Any idea why i am getting this error message only with debugger enabled? My code works just as expected without debugger.
Error points me to this line:
Local typ$=GetGNetString( remoteObj,SLOT_TYPE )


I tried to find solution and i found this topic:
http://www.blitzbasic.com/Community/posts.php?topic=51434

Problem was solved by MarkSibly:
"GNet will throw an assert of you read a string from an int slot etc."

But my problem still exists. When player joins server i make this:
SetGNetString localObj, SLOT_TYPE, "player"
	SetGNetString localObj, SLOT_NICKNAME, nickName


So what is wrong with this?