Please stop wasting registry with PlayerPrefs
complete
Sayamame
Currently, much of VRChat's configuration data is stored in
HKEY_CURRENT_USER/SOFTWARE/VRChat/VRChat
.I heard this behavior is what happens when using Unity's
PlayerPrefs
(https://docs.unity3d.com/2019.4/Documentation/ScriptReference/PlayerPrefs.html).Now, taking a look at this registry listing, we can see that there is a variety of settings data.
I think these settings data should be under the AppData directory.
Also, there is an extremely critical and confusing group of registries:
FriendsPerLocation.{instance information}_{Deck Base}
.These are generated in very large numbers, causing problems such as heavy Social menus and VRChat crashes for those with many friends. This has been found to be (temporarily) resolved by removing the FriendsPerLocation registries.
(See comments from this Canny.)
It would be helpful if you would carefully consider what data should be in the registry and stop wasting registry by PlayerPrefs.
Log In
HK
complete
D
Docteh
Sounds like it's fixed!
Lush
tracked
Tupper - VRChat Head of Community
FriendsPerLocation issue is a known bug, we'll be fixing it and also removing the extra keys at that same time.
In the meantime, if you have an
extremely
large number of friends, you'll eventually have enough keys to cause issues. Feel free to check and remove those keys to regain the lost perf in the social menu.I've moved this post to Bug Reports, as Feature Requests isn't the appropriate place.
Hardscope
Certified bruh moment
E
Emo Betty
Just found out about this...
Very yikes.
TapGhoul
May I suggest https://microsoft.github.io/FASTER/ - simple k/v store, so should be a drop-in replacement (and even has a built in upsert op, ezpz)
Sayamame
Additional information, the person who was freezing when opening the Social menu had 45809 registry entries for FriendsPerLocation.