Skip to main content

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

Dald22

1
Posts
1
Topics
1
Followers
A member registered Aug 03, 2023

Recent community posts

Hello, iv been using GMLIVE for a bit now, its very useful, I use it all the time on the newest version of game maker 2
I wanna use it to help with a project that requires a bit of an older version of gm2 but I keep getting this issue

on the first run of the project while using GMLive it works just fine but when I close it the gmlive server still says it has a process connected and when I  run the project again it tells me the texture format in the cache files have changed so it refuses to finish compiling, cleaning the project cache or simply closing and reopening the project lets me compile again but the same thing happens again after I close it

im using "GMLive (for GMS2.3)"

and my exact run time and IDE is "IDE v2023.11.1.129" and  "Runtime v2023.11.1.160"


I cant tell if im having a brain fart and missing something obvious or what

the error in question

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Rebuild cache file C:\Users\tlome\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Adventuren_EF3DEF1E_C78485E8\Adventureno3\Default\TextureGroups\_2048_131\Default.xml due to changed texture format

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

 ---> System.AggregateException: One or more errors occurred. (The process cannot access the file 'C:\Users\tlome\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Adventuren_EF3DEF1E_C78485E8\Adventureno3\Default\TextureGroups\_2048_131\Default.xml' because it is being used by another process.)

 ---> System.IO.IOException: The process cannot access the file 'C:\Users\tlome\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Adventuren_EF3DEF1E_C78485E8\Adventureno3\Default\TextureGroups\_2048_131\Default.xml' because it is being used by another process.

   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)

   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)

   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)

   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)

   at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)

   at GMAssetCompiler.TextureGroup.SaveCacheFile(String _cacheFile)

   at GMAssetCompiler.TexturePage.<>c__DisplayClass51_0.<Compile>b__5(KeyValuePair`2 kvp)

   at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)

--- End of stack trace from previous location ---

   at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)

   at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)

   at System.Threading.Tasks.TaskReplicator.Replica.Execute()

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

   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)

   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

--- End of stack trace from previous location ---

   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)

   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)

   at GMAssetCompiler.TexturePage.Compile()

   at GMAssetCompiler.WADSaver`1.WriteTexturePages(GMAssets _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:15.6479793s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.11.1.160/bin/igor/windows/x64/Igor.exe" -j=8  -options="C:\Users\tlome\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 08/31/2026 14:59:20

FAILED: Run Program Complete

For the details of why this build failed, please review the whole log above and also see your Compile Errors window.