Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG Maker Cook Tool Deluxe

The one stop shop for deploying RPG Maker MV/MZ games · By AceOfAces

[R6.01 Update 3] CookTool crashing during project build, no log file being created

A topic by Greyface Games created 46 days ago Views: 54 Replies: 2
Viewing posts 1 to 2

Me again...

Trying the latest version on Windows now after getting Linux to work, and I seem to be having a problem where the cooktool appears to crash after processes all the project assets.

When I try to export the logs, I'm getting this-

Failed to export the logs: The process cannot access the file 'C:\Users\...\AppData\Local\Temp\CompilerSession-DXGUI-20250821-084642.log' because it is being used by another process.

I tracked down the log in that folder, and it ends with this-

2025-08-21 20:30:46.651 +01:00 [INF] Encrypted files deployed successfully.
2025-08-21 20:30:46.653 +01:00 [FTL]  Exception! 
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dragonhouse.RMCookToolDeluxe.Compiler.BuilderJob.<PrepareForCompiling>b__72_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Dragonhouse.RMCookToolDeluxe.Compiler.BuilderJob.PrepareForCompiling(CancellationToken abortToken)
   at Dragonhouse.RMCookToolDeluxe.GUI.ViewModels.MainWindowViewModel.StartCompiler()
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
   at Avalonia.Threading.DispatcherOperation.Execute()
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
   at Avalonia.Threading.Dispatcher.Signaled()
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
   at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
   at Dragonhouse.RMCookToolDeluxe.GUI.Program.Main(String[] args)
2025-08-21 20:30:46.660 +01:00 [INF] Session ended.

Found the issue: if the option to protect the source code is turned off but asset encryption is on, the module isn't initialized properly. I'm working on a fix and I'll upload it as soon as possible. 

You're amazing- thanks so much!