• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.

Question Texture Load error

CaptainMagnus

New member
Messages
2
Reactions
0
Points
1
Had a look at previous threads but didn't seem to cover my particular flavour of issue.

Context:
Had zero issues before I updated to (I think) 1.22.0.8, big "uh oh" error below occurred, reverted to 1.22.0.7, error still persists, updated to 1.22.0.12, error still persists.
Made a fresh 1.22.0.12 install on a separate drive, error still persists.

I'm not unpacking VARs or anything like that. Just adding an atom, and trying to add custom textures (same way I've always done with zero issues). If I load a preset from a var then there's no issues, same as if I load a locally saved appearance preset I've created myself, no issues.

If I load an appearance preset (fine) and then select textures from the same directory the preset pulls from, it throws the error.

Haven't touched any settings in vam for a long while so I doubt it's something there, I checked anyway and couldn't see anything that would block anything.

Tried disabling antivirus programs as Access Denied was making me think it was interfering but the error was still there.


I have very little knowledge of coding so when it comes to logs I mainly just skim for keywords or file paths to see if I can bumble my way through logical deduction but alas no.
So hoping some charitable soul can tell me what the gosh dang this means:

!> Error during texture load: System.UnauthorizedAccessException: Access to the path "D:\Games\VR\Virt-A-Mate\Saves\Person\appearance\*Redacted*\eb 2\eb 2_face.jpg" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.Open (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at MVR.FileManagement.SystemFileEntryStream..ctor (MVR.FileManagement.SystemFileEntry entry) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.OpenStream (MVR.FileManagement.FileEntry fe) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.OpenStream (System.String path, Boolean restrictPath) [0x00000] in <filename unknown>:0
at ImageLoaderThreaded+QueuedImage.Process () [0x00000] in <filename unknown>:0

All help appreciated lads/ladettes!
 
You're trying to load a texture file from Saves\Person\appearance. That's the wrong place. The new security features are telling you about a System.UnauthorizedAccessException in that location. Local texture files are supposed to go in Custom\Atom\Person\Textures\<Your_Name>.
 
Upvote 0
Was never a problem before, when did that become a thing?

Anyway, copy pasted the folder to the path you suggested, same issue though



!> Error during texture load: System.UnauthorizedAccessException: Access to the path "D:\Games\VR\Virt-A-Mate\Custom\Atom\Person\Textures\*Redacted*\eb 2\eb 2_face.jpg" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.Open (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at MVR.FileManagement.SystemFileEntryStream..ctor (MVR.FileManagement.SystemFileEntry entry) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.OpenStream (MVR.FileManagement.FileEntry fe) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.OpenStream (System.String path, Boolean restrictPath) [0x00000] in <filename unknown>:0
at ImageLoaderThreaded+QueuedImage.Process () [0x00000] in <filename unknown>:0
 
Upvote 0
MeshedVR has made several security patches recently. You must be violating one of them. Check the permissions on the folder. If it's somewhere other than your main Vam install, that could be a problem too.
 
Upvote 0
Back
Top Bottom