• 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.

FS2004 Error when using Ground Polygon wizard

Messages
64
Country
unitedkingdom
Hello

When using the ground polygon wizard, I get following errors, despite having entered coordinates etc.

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ASToFra.ObjectWriter.SCAGpWriter.WriteSetMaterial(Dictionary`2 materialDict, List`1 textureDict, Material m)
bei ASToFra.ObjectWriter.SCAGpWriter.WritePolygons(List`1 objs)
bei ASToFra.ObjectWriter.SCAGpWriter.Write(String fileName, List`1 objectModels)
bei ASToFra.ObjectWriter.BGLGpWriter.Write(String fileName, List`1 objectModels)
bei ASToFra.ModelConverterX.GroundPolyWizard.cmdConvert_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4211 (VistaSP2GDR.050727-4200).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
ModelConverterX
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ModelConverterX.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
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.4205 (VistaSP2GDR.050727-4200).
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.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
ObjectWriter
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ObjectWriter.DLL.
----------------------------------------
TextureObject
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/TextureObject.DLL.
----------------------------------------
ObjectModel3D
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ObjectModel3D.DLL.
----------------------------------------
ObjectRenderer
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ObjectRenderer.DLL.
----------------------------------------
GRV11DLL
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/GRV11DLL.DLL.
----------------------------------------
ObjectReader
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ObjectReader.DLL.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
Utils
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/Utils.DLL.
----------------------------------------
ObjectEditor
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/ObjectEditor.DLL.
----------------------------------------
TextureLoader
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/TextureLoader.DLL.
----------------------------------------
System.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
Accessibility
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4016 (NetFxQFE.050727-4000).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.4211 (VistaSP2GDR.050727-4200).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Coordinates
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///C:/Users/acer/Scenery%20Utilities/ModelConverterX%20development%20release/Coordinates.DLL.
----------------------------------------
 
Hi,

There is no need to register any DLL file of ModelConverterX. You just unzip everything to one folder and then run it from there.

I think it must be something in the object that gives this crash. Can you send me the object so that I can try to debug it?
 
Thanks I got your file and can reproduce the crash. I will try to fix it soon.
 
Hi,

I fixed the crash, from tomorrow it will work in the development release.

However I noticed some triangles were missing after converting. So that is something I still have to look at.
 
Hi,

I have now also fixed the few missing polygons. So from tomorrow you should be able to convert it correctly with the development release.
 
Back
Top