Logo Platform
logo amplifiers simplified

game creation process failed

Copied to clipboard!
8 years ago
Dec 4, 2016, 3:26:44 PM

Hi, 


I have tried most of the methods given, changing compatibility to windows 7, reinstalling the game, reinstalling framework 4.5.1. 


after many tries, it worked for one game and now when i want to try a new game, it gives this error:


NotImplementedException: The game creation process has failed.
Amplitude.Unity.Game.GameException: The game creation has failed. ---> WorldGeneratorProcessException: The world generator process has encountered an error: [WorldGenerator][Exception] The world generator has encountered an exception: [InnerException] System.IO.IOException: The process cannot access the file 'C:\Users\Han\AppData\Local\Temp\tmp6542.tmp' because it is being used by another process.  
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.File.InternalDelete(String path, Boolean checkHost)  
at ICSharpCode.SharpZipLib.Zip.DiskArchiveStorage.ConvertTemporaryToFinal()  
at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()  
at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()  
at Amplitude.IO.Archive.Add(String fileName, MemoryStream inputStream, CompressionMethod compressionMethod)  
at Amplitude.Utilities.Maps.Atlas.Serialize(Archive archive)  
at Amplitude.WorldGenerator.World.WorldAtlasExporter.Execute(Object context)  
at Amplitude.WorldGenerator.Tasks.TaskManager.Run(List`1 tasks, Object context)  
at Amplitude.WorldGenerator.Program.Main(String[] args)  
at WorldGenerator+<StartProcess>c__Iterator2A4.MoveNext () [0x00000] in <filename unknown>:0  
at Amplitude.Coroutine.Run () [0x00000] in <filename unknown>:0  
at Amplitude.Coroutine+<EnumerableRun>c__IteratorA2.MoveNext () [0x00000] in <filename unknown>:0  
--- End of inner exception stack trace ---
--------------------------------------------------------------------------------
GameClientState_LaunchGame.GameService_CreateGameComplete (System.Object sender, Amplitude.Unity.Game.CreateGameCompleteEventArgs e)
Amplitude.Unity.Game.GameManager.OnCreateGameComplete (Amplitude.Unity.Game.CreateGameCompleteEventArgs e)
Amplitude.Unity.Game.GameManager.CreateGameAsync_CoroutineExceptionHandler (System.Object sender, Amplitude.CoroutineExceptionEventArgs args)
Amplitude.Coroutine+<EnumerableRun>c__IteratorA2.MoveNext ()
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)

--------------------------------------------------------------------------------
V1.5.7 S3  (64-bit)

0Send private message
8 years ago
Dec 5, 2016, 8:07:43 AM

 The process cannot access the file 'C:\Users\Han\AppData\Local\Temp\tmp6542.tmp' because it is being used by another process.  


Hi,


could you please try disabling your antivirus software, or any other software you may think it could interfere with temporary files?

At the same time, could you also please try running the game as "Administrator" ?


Cheers.

0Send private message
8 years ago
Dec 6, 2016, 1:38:01 AM

Many thanks icarus86! 


I tried excluding the files from the anti virius and i even turned it off, but it still doesnt work...


It will only work at very rare times  which is rather frustrating just to play a game. i have encounter a new string of errors, hopefully someone can shed some light on it.


NotImplementedException: The game creation process has failed.
Amplitude.Unity.Game.GameException: The game creation has failed. ---> WorldGeneratorProcessException: The world generator process has encountered an error: [WorldGenerator][Exception] The world generator has encountered an exception: [InnerException] System.IO.IOException: The process cannot access the file because it is being used by another process.  
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)  
at ICSharpCode.SharpZipLib.Zip.DiskArchiveStorage.ConvertTemporaryToFinal()  
at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()  
at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()  
at Amplitude.IO.Archive.Add(String fileName, MemoryStream inputStream, CompressionMethod compressionMethod)  
at Amplitude.Utilities.Maps.Atlas.Serialize(Archive archive)  
at Amplitude.WorldGenerator.World.WorldAtlasExporter.Execute(Object context)  
at Amplitude.WorldGenerator.Tasks.TaskManager.Run(List`1 tasks, Object context)  
at Amplitude.WorldGenerator.Program.Main(String[] args)  
at WorldGenerator+<StartProcess>c__Iterator2A4.MoveNext () [0x00000] in <filename unknown>:0  
at Amplitude.Coroutine.Run () [0x00000] in <filename unknown>:0  
at Amplitude.Coroutine+<EnumerableRun>c__IteratorA2.MoveNext () [0x00000] in <filename unknown>:0  
--- End of inner exception stack trace ---
--------------------------------------------------------------------------------
GameClientState_LaunchGame.GameService_CreateGameComplete (System.Object sender, Amplitude.Unity.Game.CreateGameCompleteEventArgs e)
Amplitude.Unity.Game.GameManager.OnCreateGameComplete (Amplitude.Unity.Game.CreateGameCompleteEventArgs e)
Amplitude.Unity.Game.GameManager.CreateGameAsync_CoroutineExceptionHandler (System.Object sender, Amplitude.CoroutineExceptionEventArgs args)
Amplitude.Coroutine+<EnumerableRun>c__IteratorA2.MoveNext ()
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)

--------------------------------------------------------------------------------
V1.5.7 S3  (64-bit)


thanksss

0Send private message
8 years ago
Dec 6, 2016, 8:33:02 AM

The error is the same: System.IO.IOException: The process cannot access the file because it is being used by another process.


Do you have any other gaming / monitoring software installed (such as nVIDIA GeForce Experience / AMD Gaming Evolved, or any system monitoring tool) ?

You could try performing a clean boot : https://support.microsoft.com/en-us/kb/929135


Finally, I wrote a quick guide on how to use ProcMon to find which process may access the file:


icarus86 wrote:

Are you sure that you don't have any anti-malware / anti-spyware / anything similar running in the background ?


There are some troubleshooting steps that I can propose.

Here I'm assuming that launching the game itself works, but starting a new game (single-player) doesn't.


1. Download this tool https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx?f=255&MSPPError=-2147217396

2. Run the tool inside the ZIP (Procmon.exe)

3. Press CTRL+E to stop the current capture, then CTRL+X to clear the items captured so far

4. Start Endless Legend

5. Switch back to Procmon and press CTRL+E to start the capture

6. Switch back to Endless Legend and try to start a new game

7. As soon as you get the error message, switch back to Procmon and press CTRL+E stop the capture


Now comes the analysis part :

1. Press CTRL+L to bring up the filter dialog

2. Choose "Path" from the 1st drop-down

3. Choose "Contains" from the 2nd drop-down

4. Type in the name of the file referenced in the error message you got in Endless Legend (e.g. tmp5AE2.tmp in your earlier post)

5. Click on "Add", then on "OK"

6. From the left column (Process name) you should see which process interferes with this file


I know that this seems time-consuming, but I hope that we can find the culprit.


0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message