• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Solved need help figuring out this error

cob117

New member
Joined
Apr 8, 2025
Messages
5
Reactions
1
Hi everyone, just recently, VAM only shows a couple of scenes from my addonpackage instead of all of them, and it shows me this error log:

!> Exception during package refresh System.ArgumentException: An element with the same key already exists in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,MVR.FileManagement.VarFileEntry].Add (System.String key, MVR.FileManagement.VarFileEntry value) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.RegisterPackage (System.String vpath) [0x00000] in <filename unknown>:0
at MVR.FileManagement.FileManager.Refresh () [0x00000] in <filename unknown>:0

From looking at other posts, I have tried to find the corrupted files and check the VAM integrity, but both have not worked for me so far.
 
Solution
My guess is that you have one or more VARs from a chinese creator for example, and they made a VAR with paths or files using unrecognized characters on your system. What happens is that VAM won't understand the characters and will see a bunch of identical paths, "get confused", and stop the scanning process.
Your options are either to install a language pack for asian languages of whatever is used in the problematic VAR(s) or get rid of those problem VARs.
Check if you have exact duplicates of some of them. This feels like the same exact file duplicated.
 
Upvote 0
My guess is that you have one or more VARs from a chinese creator for example, and they made a VAR with paths or files using unrecognized characters on your system. What happens is that VAM won't understand the characters and will see a bunch of identical paths, "get confused", and stop the scanning process.
Your options are either to install a language pack for asian languages of whatever is used in the problematic VAR(s) or get rid of those problem VARs.
 
Upvote 0
Solution
My guess is that you have one or more VARs from a chinese creator for example, and they made a VAR with paths or files using unrecognized characters on your system. What happens is that VAM won't understand the characters and will see a bunch of identical paths, "get confused", and stop the scanning process.
Your options are either to install a language pack for asian languages of whatever is used in the problematic VAR(s) or get rid of those problem VARs.
Yep, after deleting those files, I was able to see my scenes again. Thank you!
 
Upvote 0
Back
Top Bottom