Game Development Community

VideoMaterial Torque X 3D - No functionality

by Tim Newsome-Ward · in Torque X 3D · 02/17/2010 (6:08 pm) · 3 replies

The VideoMaterial only provides play functionality with video. Stop, Pause, Resume all result in an System.NullReferenceException was unhandled.

Message="Object reference not set to an instance of an object."
Source="StarterGame3D"

StackTrace:
at StarterGame3D.Game._pauseVideo(Single val) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoGameGame.cs:line 95
at GarageGames.Torque.Sim.InputMap.ProcessInput(InputEventData data) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreSimInputMap.cs:line 545
at GarageGames.Torque.Sim.InputManager.ProcessInputEvent(String eventName, InputEventData inputData) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreSimInputManager.cs:line 630
at GarageGames.Torque.Core.TorqueEvent`1._Trigger(Delegate d) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreCoreTorqueEvent.cs:line 85
at GarageGames.Torque.Core.TorqueEventManager._TriggerEvent(TorqueEventBase ev) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreCoreTorqueEvent.cs:line 636
at GarageGames.Torque.Core.TorqueEventManager.MgrProcessEvents() in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreCoreTorqueEvent.cs:line 477
at GarageGames.Torque.Core.TorqueEventManager.ProcessEvents() in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreCoreTorqueEvent.cs:line 315
at GarageGames.Torque.XNA.TorqueEngineComponent.Update(GameTime gameTime) in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoTorqueCoreXNATorqueEngineComponent.cs:line 484
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at StarterGame3D.Game.Main() in C:UsersTimDocumentsVisual Studio 2008ProjectsTorque X Simple 3D VideoTorque X Simple 3D VideoGameGame.cs:line 43
InnerException:

#1
02/17/2010 (6:10 pm)
I give up! Please accept my apologies...this is supposed to just have been put in Bugs...please remove.
#2
02/17/2010 (7:07 pm)
Actually, you succeeded.
#3
02/18/2010 (8:23 am)
Ha ha thanks Trent, it was far too late and my eyes had started turning backwards!