View Issue Details

IDProjectCategoryLast Update
0004219Valley 1Crash/ExceptionOct 12, 2011 8:29 am
ReporterFallingStar Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.504 
Summary0004219: Unauthorised Access Exception
DescriptionOccasional bug (about every 10-20 mins) noticed in all versions, I believe I figured its cause as well.

Would get UnauthorisedAccessException error noted in log when accessing either the world.dat or sometimes region bits. Leading to a please leave the game and restart warning.

I believe it was caused by Windows 7 UAC being on, and the game being located in the program folder by default. Since moving out into a neutral Game folder, I haven't gotten this error again.

TagsNo tags attached.
Internal WeightNew

Relationships

related to 0004800 closedChris_McElligottPark String: FixedUpdate: System.UnauthorizedAccessException: Access to the path "C:\Program Files (x86)\AVWW\RuntimeData\Worlds\Worl 

Activities

Chris_McElligottPark

Sep 28, 2011 6:41 pm

administrator   ~0014474

When you install the game via the installer, it should have set the permissions such that Windows 7 would not interfere with that folder. I'm also on Win7, as are a huge number of the players. I suspect either unusual settings, or that it didn't quite install right with the installer, or something of that nature.

FallingStar

Sep 28, 2011 7:22 pm

reporter   ~0014489

Last edited: Sep 28, 2011 7:26 pm

I reinstalled the game from scratch and re-patched to default directories just to test if it was a bad install. I started to get the same errors as before.

So, attaching my error .txt, since it could easily be other issues rather than the Win 7 path and I was just getting lucky when testing it in other folders. Hope it helps.

-edit: I guess its possible as well that the downloaded setup.exe could be corrupt as I reused it when I reinstalled, if the .txt doesn't reveal anything I'll try re-downloading the .exe and reinstalling to hunt this down.

Chris_McElligottPark

Sep 28, 2011 7:25 pm

administrator   ~0014490

If you look at the permissions for the following folder, does it show you as having full write permissions?

C:\Program Files (x86)\AVWW\RuntimeData\Worlds\Primarius\

FallingStar

Sep 28, 2011 7:29 pm

reporter   ~0014492

Yup, write permissions is on for group Everyone (as well as System and Administrators . . not users, but I'm bad and am running out of Admin right now)

Chris_McElligottPark

Sep 28, 2011 7:36 pm

administrator   ~0014496

Well, this should help:

* Put in some logic to prevent a crash when the OS says that acess is denied on saving the world file. Now it simply shows a warning message to the player and tries again later.

FallingStar

Sep 30, 2011 2:22 am

reporter   ~0014811

Thanks. It kept bugging me a bit (and I'd still hit the full red please quit when the game occasionally gave an unauthorized access on a region bit) so I kept poking at my setup, finally got it to bug out when the game resided in a non program file folder, so I looked beyond Win7.

After a bit of trial and error, my best guess now is the underlying cause is some Kasperkey Anti Virus interaction with real time scanning and monitoring on. After setting the .exe as a trusted application I haven't received any more warnings, after about 3 hours play (was getting them every 15-30 mins before).

If I start to hit the issue again I'll send along the errors, but for now all is well.

Chris_McElligottPark

Sep 30, 2011 8:52 am

administrator   ~0014879

Aha! That's VERY good information to have, thanks for that! The game writes a LOT of files in a fairly short bit of time, much like Minecraft but not many other games, so I'm not surprised that some antivirus is freaking out a bit.

Issue History

Date Modified Username Field Change
Sep 28, 2011 6:03 pm FallingStar New Issue
Sep 28, 2011 6:41 pm Chris_McElligottPark Internal Weight => New
Sep 28, 2011 6:41 pm Chris_McElligottPark Note Added: 0014474
Sep 28, 2011 6:41 pm Chris_McElligottPark Status new => closed
Sep 28, 2011 6:41 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 28, 2011 6:41 pm Chris_McElligottPark Resolution open => unable to reproduce
Sep 28, 2011 7:20 pm FallingStar File Added: UnhandledErrors.txt
Sep 28, 2011 7:22 pm FallingStar Note Added: 0014489
Sep 28, 2011 7:25 pm Chris_McElligottPark Note Added: 0014490
Sep 28, 2011 7:26 pm FallingStar Note Edited: 0014489
Sep 28, 2011 7:29 pm FallingStar Note Added: 0014492
Sep 28, 2011 7:36 pm Chris_McElligottPark Note Added: 0014496
Sep 28, 2011 7:36 pm Chris_McElligottPark Status closed => resolved
Sep 28, 2011 7:36 pm Chris_McElligottPark Resolution unable to reproduce => fixed
Sep 30, 2011 2:22 am FallingStar Note Added: 0014811
Sep 30, 2011 8:52 am Chris_McElligottPark Note Added: 0014879
Oct 12, 2011 8:29 am Chris_McElligottPark Relationship added related to 0004800
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception