killfrenzy96 / KillFrenzyAvatarText

Avatar Text Shader and Animations designed to be used by OSC
MIT License
97 stars 3 forks source link

More of a question than an issue: Why must OSC Text be added to a newly added avatar instead of a currently used one? #13

Open SpriteFan3 opened 1 year ago

SpriteFan3 commented 1 year ago

From a little past experience I had with this along with a friend, we discovered that this add-on only works on PC, if the avatar using this feature wasn't previously worn by users.

It works fine for VR users, when this feature is added later onto a previously used avatar, but not for PC users, where typing on the textbox app doesn't carry the text over to the in-game OSC chatbox. VRC's chatbox remains to function as normal.

If instead the avatar is newly added to VRC, with this feature, everyone can use it normally.

As proof, said friend has uploaded 4 avatars with this feature, 3 being newly uploaded and 1 simply being updated. As a PC user, using said updated avatar, typing in the textbox doesn't print my written text to the in-game OSC chatbox.

killfrenzy96 commented 1 year ago

This seems like a very weird bug. The KAT system still functions normally in my testing.

Is this still occurring? It may had been a VRChat bug.

SpriteFan3 commented 1 year ago

Unfortunately, yes. Sorry for the very late reply.

I5UCC commented 1 year ago

As this is still marked open, I'll explain the issue in case that anyone else reads this aswell. This is related to how VRChat handles OSC configurations for avatars.

VRChat creates an OSC config when you load into a published avatar, so if that OSC config for that specific avatar is already generated, and you add any new Parameters to that avatar and republish that avatar, these newly added parameters are missing in the OSC config for that avatar. Hence, the OSC messages are ignored.

You can fix this issue by either publishing a completely new avatar as you said, add the parameters to the OSC config for that specific avatar, or the easiest way is to just delete the config so vrchat can regenerate it. These config files are located at %APPDATA%\..\LocalLow\VRChat\VRChat\OSC

Hope this helps somehow!