Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hi YAL! 

I added this extension to a new project, and now everything is crashing at startup. 

I didn't actually use the extension or add its script anywhere yet, I just launched the unchanged project with the extension imported. It's worth noting that deleting the extension (from the extensions folder) makes the project launch again without issue.

Do you have an idea if there's any chance the extension is outdated / incompatible, or might it be something on my end?

Edit: I also have GMLive working in the project. I'm not sure if that might be related, but I used this extension as a shortcut to run GMLive's server a few months ago for a previous project.

I'll add the crash log below:


System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path1')

   at System.IO.Path.Combine(String path1, String path2)

   at GMAssetCompiler.WADSaver`1.WriteExtensions(IList`1 _data, Stream _s, IFF _iff)

   at GMAssetCompiler.IFFChunkHandler`1.Save(Stream _stream, IFF _iff)

   at GMAssetCompiler.IFF.WriteChunks(Stream _stream, TextWriter _out)

   at GMAssetCompiler.WADSaver`1.Save(GMAssets _assets, Stream _stream, List`1 _extraFilenames, Dictionary`2 _extraAttributes)

   at GMAssetCompiler.IFFSaver.Save(GMAssets _assets, String _name)

   at GMAssetCompiler.Program.CompileProject(GMAssets _file)

   at GMAssetCompiler.Program.Reentry(String[] _args)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at Igor.Program.ExecuteAssetCompiler(String _args)

   at Igor.WindowsBuilder.Compile(Boolean _exe)

   at Igor.WindowsBuilder.Deploy(Boolean _exe)

   at Igor.WindowsBuilder.Run()

Igor complete.

elapsed time 00:00:03.7888261s for command

It’s easy, don’t use 2023.11 IDE (or fix the file names in the extension by hand)

If it wouldn't be too much trouble, could you tell me how to fix the extension's file names? I'm not completely sure of how that works.

If you download the test project from GitHub and open it in GMEdit instead of GM, you can see that the extension contains three files - execute_shell_simple_ext.dll, execute_shell_simple_ext.gml, and autogen.gml. Right-clicking the extension and picking “Show API” will show you which functions go in which

If you double-click the extension in 2023.11 IDE, however, you can see that the file names got eaten - you’ll need to double-click on each “mystery file” in the list and assign it the correct name-extension.