Unit viewer in-game unhandledexception

This forum is for official support and troubleshooting FAQs.

Moderator: Jason Petho

Post Reply
User avatar
Plodder
Posts: 981
Joined: Mon Jul 28, 2003 3:56 pm
Location: New Zealand

Unit viewer in-game unhandledexception

Post by Plodder »

When you try to play the unit sounds in the unit viewer if opened in-game (F3), you get the folowing exception. The sounds play fine if the unit viewer is launched standalone
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ApplicationException: FMOD ERROR! ERR_FILE_NOTFOUND - File not found.
at Audio.AudioEngine.ErrCheck(RESULT result)
at Audio.AudioEngine.PlayMusic(String path)
at JTCS_UnitViewer.Form1.playMovement_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
JTCS_UnitViewer
Assembly Version: 2.0.0.1
Win32 Version: 2.0.0.1
CodeBase: file:///C:/Matrix%20Games/John%20Tiller's%20Campaign%20Series/Tools/JTCS_UnitViewer/JTCS_UnitViewer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Gen. Montgomery: "Your men don't salute much."
Gen. Freyberg: "Well, if you wave at them they'll usually wave back."
oldspec4
Posts: 749
Joined: Mon Nov 01, 2004 2:34 pm

RE: Unit viewer in-game unhandledexception

Post by oldspec4 »

Same issue for me..sounds are good w/ separate unit viewer but are a no go w/ in-game F3.
Post Reply

Return to “John Tiller’s Campaign Series Support”