Non matching Profiler.EndSample

Hi,

I am unsure why but this error has appeared in the console window of my game:
Non matching Profiler.EndSample (BeginSample and EndSample count must match)

if anyone knows how to fix this problem, it will be much appreciated for you to let me know

Many Thanks,

Tommy Eaves

The message sounds pretty explicit… you need to make sure all your code profiling sections have balanced BeginSample and EndSample pairs.