• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Old mdl versions read error

Messages
23
Country
unitedstates
Hello,

MCX versions after Dev 3/31/2024 e.g. Dev 4/7/2024 to current version Dev 5/27/2024 show the error shown below for models made by Mike Stone and Jens B. Kristensen. They read fine before 4/7/2024. Models by Kazunori Ito still read correctly in the latest MCX. Mike and Jens made a bunch of models. I only checked a few of each but they each failed to read. Examples are Stone's Bonanza and Jens Britannia. I found these on simaviation or avsim.

Hope this helps and not a wild goose chase.

Regards.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ASToFra.Object.Renderer.Renderer3D.ReadTextureCube(String texture, Boolean from2d)
at ASToFra.Object.Renderer.Renderer3D.LoadTextures()
at ASToFra.Object.Renderer.Renderer3D.SetObjectModel(ObjectModel newObj, ObjectChangeLevel level, Boolean loadTextures)
at ASToFra.Object.Renderer.Renderer3DControl.OnObjectChanged(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Interfaces.ObjectChanged.Invoke(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Object.Reader.AllObjectReader.RaiseObjectChanged(ObjectModel obj)
at ASToFra.Object.Reader.AllObjectReader.bw_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
 
Perhaps because they were probably created with FSDS and not GMAX.
 
Perhaps because they were probably created with FSDS and not GMAX.
The era that they were made makes if likely. I don't know how to check that. Other models of the same period could also be made with FSDS like those from Ted Cook which read fine in the current MCX. I recently made a model with FSDS for FSX which reads fine. Interesting that a change in MCX versions made the difference. From my knot hole, I think it could be a bug.
 
The error seems to be related to reading the environment map. I made some changes a while ago to read the fs2004 environment map correctly, maybe that's related. I'll try to find one of the models to reproduce it.
 
Hi,

I have downloaded the JBK Brittannia, but it loads fine here on my machine.

Are you loading the model from inside the FS2004 installation or from somewhere else? And what is the last line in the event log when the error happens?
 
Dude!

You are correct. I did send you off on a wide goose chase, sorry. Yes, I often check MCX updates outside of FS2004 installation. Checked a Jens Brittannia model inside FS2004 works fine. I go remember you making an environmental map change but didn't connect the dots.

Thanks for all your do and sorry for the bother.

Regards.
 
Hi,

Let me try outside of the FS2004 folder here as well then, MCX should not crash in that case but it seems it does for some reason.
 
I copied the Brittannia model outside of the FS2004 folder, but in that case it does still load here (instead of the FS2004 environment map, it will load the FSX environment map as MCX does not know it is a FS2004 aircraft in that case).

Can you maybe still show the log up to the error? I am wondering which texture gives this error.
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ASToFra.Object.Renderer.Renderer3D.ReadTextureCube(String texture, Boolean from2d)
at ASToFra.Object.Renderer.Renderer3D.LoadTextures()
at ASToFra.Object.Renderer.Renderer3D.SetObjectModel(ObjectModel newObj, ObjectChangeLevel level, Boolean loadTextures)
at ASToFra.Object.Renderer.Renderer3DControl.OnObjectChanged(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Interfaces.ObjectChanged.Invoke(ObjectChangeLevel level, Object obj, Object sender, String changeDescription)
at ASToFra.Object.Reader.AllObjectReader.RaiseObjectChanged(ObjectModel obj)
at ASToFra.Object.Reader.AllObjectReader.bw_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ModelConverterX.exe
----------------------------------------
ASToFra.ErrorHandler
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.ErrorHandler.DLL
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.Texture.Reader
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Texture.Reader.DLL
----------------------------------------
ASToFra.Object.DataModel
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Object.DataModel.DLL
----------------------------------------
ASToFra.Object.Reader
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Object.Reader.DLL
----------------------------------------
ASToFra.Object.Writer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Object.Writer.DLL
----------------------------------------
ASToFra.Object.Renderer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Object.Renderer.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.Texture.Object
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Texture.Object.DLL
----------------------------------------
ASToFra.Texture.Writer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Texture.Writer.DLL
----------------------------------------
ASToFra.Object.Processor
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Object.Processor.DLL
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Utils.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ASToFra.MapRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.MapRenderer.DLL
----------------------------------------
ASToFra.Geometry
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.Geometry.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ASToFra.FSUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.FSUtils.DLL
----------------------------------------
ASToFra.EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.EventLog.DLL
----------------------------------------
OpenTK.GLControl
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0
CodeBase: file:///D:/mcx27may/OpenTK.GLControl.DLL
----------------------------------------
OpenTK
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0
CodeBase: file:///D:/mcx27may/OpenTK.DLL
----------------------------------------
ASToFra.ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.ParticleEffects.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/mcx27may/Interop.WMPLib.DLL
----------------------------------------
ASToFra.LicenseHelper
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/mcx27may/ASToFra.LicenseHelper.DLL
----------------------------------------
Portable.Licensing
Assembly Version: 1.0.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/mcx27may/Portable.Licensing.DLL
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data.SqlXml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Xml.Xsl.CompiledQuery.1
Assembly Version: 0.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
AssimpNet
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0
CodeBase: file:///D:/mcx27may/AssimpNet.DLL
----------------------------------------
ASToFra.XPUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///D:/mcx27may/ASToFra.XPUtils.DLL
----------------------------------------
lib3ds.Net
Assembly Version: 2.0.0.12853
Win32 Version: 2.0.0.0
CodeBase: file:///D:/mcx27may/lib3ds.Net.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.
 
Well good man,

I sheepishly apologized for wasting your time here. I found why this is happening. I moved FS2004 to another drive and didn't change to the new path in MCX. It reads fine outside of FS2004 now. It was confusing why some models were read fine outside of FS2004 and other not and all of the same model makers.

Anyway, learned more along the way. Thanks for the help.

Regards.
 
Ok, I'll close this bug then, fine to hear you solve it.
 
Back
Top