Logo Platform
logo amplifiers simplified

World can't generate?

Reply
Copied to clipboard!
9 years ago
Aug 10, 2016, 3:28:37 PM

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\Laptop\AppData\Local\Temp\tmp5AE2.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__Iterator279.MoveNext () [0x00000] in <filename unknown>:0  

at Amplitude.Coroutine.Run () [0x00000] in <filename unknown>:0  

at Amplitude.Coroutine+<EnumerableRun>c__IteratorA4.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__IteratorA4.MoveNext ()


--------------------------------------------------------------------------------

V1.4.4 S3  (64-bit)



I've looked at other forums and none seem to have the same problem as me.

Can I get help please?

0Send private message
9 years ago
Aug 10, 2016, 6:52:33 PM


Maxmaster133 wrote:

System.IO.IOException: The process cannot access the file 'C:\Users\Laptop\AppData\Local\Temp\tmp5AE2.tmp' because it is being used by another process.  


- could you try running the game as "Admin" ?

- could you try disabling any anti-virus software before launching the game ? (the game seems to be unable to access a local temporary file, which I assume it created itself in the first place ...)

0Send private message
0Send private message
9 years ago
Aug 12, 2016, 5:49:15 PM

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