Game.OnUpdate called only once

Apr 21, 2010 at 2:41 PM


I have the following code. Since I updated the library (edbb4ff2a0cb), my TestGame.OnUpdate-Method is called only once, but it should be called ~60 times per second, right?


<local:TestGame x:Name="_game" Width="1366" Height="768">
    <lighting:OmniLight Position="-100,100,0" Ambient="Brown" Diffuse="Green" Specular="Blue"/>


public class TestGame : Game
public override void OnLoadContent()


public override void OnUpdate()
    System.Diagnostics.Debug.WriteLine("This Method is called only once!");

Apr 21, 2010 at 7:01 PM

Thanks for pointing it out. It must be something I broke last week during some major refactoring. Its fixed now in the latest source code. 

Apr 21, 2010 at 7:42 PM

Thank you, it works now.