What is causing the following error?: System.AccessViolationException: There was an attempt to read or write protected memory
at Microsoft.Xna.Framework.Graphics.EffectParameter.S etValue(Vector3 value)
at ORTS.SceneryShader.set_LightVector(Vector3 value)
etc...
at Microsoft.Xna.Framework.Graphics.EffectParameter.S etValue(Vector3 value)
at ORTS.SceneryShader.set_LightVector(Vector3 value)
etc...


Comment