|
Very unclear error when exporting exe.
Issue Type: |
Status: |
Priority: |
Date Submitted: |
Votes: |
Bug |
Open |
Medium |
Wed 5th Mar 2014 |
2 votes
 |
|
Found in version: |
Last Updated: |
Completed in version: |
Date Completed: |
Track Changes: |
5.0.31.4 |
Wed 5th Mar 2014 |
|
|
Log In |
|
| | Wed 5th Mar 2014 02:32 |
I wish I could be more exact and clear about this but there's an error when trying to run a .exe export. Seems to work fine with and without media on a different smaller game so I'm pretty sure it's something I did personally in my bigger game. It runs fine as a .taf or .blorb btw.
Error loading C:\... program.exe: Object reference not set to an instance of an object.
at ...ctor(String sErrorMessage, Exception ex)
at ADRIFT.SharedModule.(String , Exception )
at ..(String , , , Boolean , DateTime , & , Int64 , Boolean )
at ..(String , Boolean )
at ..(Object , EventArgs )
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.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)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
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 ..()
The error itself seems normal enough. But if my "object reference" really isn't set to an instance of an object, why would it run fine in as both blorb and taf? |
|
campbell | | Wed 5th Mar 2014 09:16 |
Can you send me the taf, blorb and exe please? |
|
| | Wed 5th Mar 2014 11:16 |
Hey Campbell, sorry to bother you again. I found the problem! It seems that there were broken graphic-links in my game that I had completely forgotten about. So, while .taf and .blorb are able to bypass non-existent graphics, the .exe file seems to poop it's pants when this problem occurs. So, it's really a low priority problem now I guess but I'm imagining it could cause problems if someone is running tests and won't realize the problem till an .exe is made. |
|
campbell | | Wed 5th Mar 2014 11:22 |
Ok, thanks, I'll look into that. :) |
|
| | Wed 5th Mar 2014 18:16 |
While we're on the topic, there's still an error when trying to load an image from an online source, ie: Photoshop, Imgur, etc... |
|