Master Cabalist
Member
I lost two days worth of work because of this error. I don't know what it is or how to fix it? It occurs on build.
Code:
-----------------------------------------------------------------------------
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at GMAssetCompiler.TexturePage.(Bitmap , Int32 , Int32 )
at GMAssetCompiler.TexturePage.(Bitmap , Boolean , Boolean , Boolean , Boolean , String , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Bitmap , Boolean , Boolean , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , String , Boolean , Boolean , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Boolean , Boolean , Int32 , String , String , String[] )
at GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
at GMAssetCompiler.Program..(Object )
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-----------------------------------------------------------------------------
EXCEPTION FILE - C:\Users\ted_g\AppData\Local\Temp\c92f4669cde244729b40e7faebf80dfa.yyg.saencryptedreport
-----------------------------------------------------------------------------
Unhandled Exception: System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at GMAssetCompiler.TexturePage.(Bitmap , Int32 , Int32 )
at GMAssetCompiler.TexturePage.(Bitmap , Boolean , Boolean , Boolean , Boolean , String , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Bitmap , Boolean , Boolean , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , String , Boolean , Boolean , Int32 , String )
at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Boolean , Boolean , Int32 , String , String , String[] )
at GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
at GMAssetCompiler.Program..(Object )
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
C:\WINDOWS\system32\cmd.exe exited with non-zero status (-532462766)
elapsed time 00:00:53.2243413s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.1.287/bin/Igor.exe" -options="C:\Users\ted_g\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 01/01/2019 23:24:53
"cmd" /c subst Z: /d
elapsed time 00:00:00.1077128s for command "cmd" /c subst Z: /d started at 01/01/2019 23:25:46
"cmd" /c subst Y: /d
elapsed time 00:00:00.1007582s for command "cmd" /c subst Y: /d started at 01/01/2019 23:25:46
"cmd" /c subst X: /d
elapsed time 00:00:00.1057911s for command "cmd" /c subst X: /d started at 01/01/2019 23:25:46
FAILED: Run Program Complete