VideoMaterial Torque X 3D - No functionality
by Tim Newsome · in Torque X 3D · 02/17/2010 (7:52 am) · 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:
Thanks
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:
Thanks
About the author
I'm interested in all things game!
#2
02/17/2010 (5:39 pm)
There is a checkbox at the bottom of the post (you'll have to edit it now to see it), but when you check it and submit it the post will go into both this forum and the bugs forum.
#3
02/17/2010 (5:47 pm)
Oh thanks Trent! Do you have an insight to the video problem by the way?
Torque 3D Owner Tim Newsome-Ward
Desktop Daydreams
It should be in Bugs? Please delete!