Game Development Community

SOLVED: Out of range write

by Ehab Yosry Amer · in Technical Issues · 02/25/2010 (9:07 am) · 0 replies

I came across an error a short while ago, that ONLY appears in the debug build of the game & not the release build (but will be found in the log), the error is "Out of range write" in bitstream.cpp @ 210

I have several networked resources applied, so incase u stumbled upon this error, u need to increase the size of the max write limit.

in File Source/Platform/PlatformNet.h change
#ifndef MAXPACKETSIZE
#define MAXPACKETSIZE 1500
#endif

to

#ifndef MAXPACKETSIZE
#define MAXPACKETSIZE 2000
#endif