SDK Bug & Feature Requests

Please check out the following rules and use the provided template when posting a bug report! Off-topic posts will be deleted.http://bit.ly/vrchat-bug-reports
VRC Object Sync - MAJOR Performance Issues With a Real Solution
VRC Object Sync by default is a continuously operating script that pings locations to all players even when objects are at rest or behind the player/occluded by the world. As a result, once the object pool reaches higher numbers, over 200, frame times are permanently hindered as the game waits for all these pings. I'd tested in my world the difference between VRChat's default Object Sync script and MMMaellon's Smart Object Sync on about 212 objects. Performance with default object sync raised frame times to 16.7-17ms. MMMAellon's Smart Object Sync brought framerates down to 2.4-3ms, an overall savings of around 4-5x performance improvement. And this is not on a slow PC - this is on a Ryzen 7 7800x3D with a Noctua NH-12s cooler, an RTX 4070, and 64 GB of RAM. You cannot simply add power to fix the problem. MMMaellon's script does a lot to improve performance, but the core function allows objects at rest to stop pinging unless exerted by an external force. They are also developing a newer version of the script that cuts bandwidth in half. As VRC adds more dynamic global objects through the inventory system, I fear this issue will only become more exasperated the longer global sync gets ignored. I highly recommend enabling higher performance syncing methods by default for newer worlds and enabling the older sync system only when absolutely necessary. As many maps feature QV pens, pool tables, grabbable pillows, coffee and drink prefabs, and other grabbable synced objects, this will have an immediate performance impact across the entire game, and it's something all creators need to be made aware. https://github.com/MMMaellon/SmartObjectSync
2
·

tracked

Please add support for negative values in SetVoiceGain.
Hello! First, thank you for all your hard work developing so many fun and useful features. My feedback today is a feature request regarding the SetVoiceGain() function for controlling player voice in Udon. As it stands, the function only accepts values in the 0 to 24 range, meaning it can only be used to boost a player's voice, making it louder. https://creators.vrchat.com/worlds/udon/players/player-audio/ I'm trying to create a specific area in a world where players inside the area would hear the voices of players outside more quietly, as if they were in a soundproof room. However, with the current implementation, my only option is to mute them completely by setting their Voice Far property to 0; I can't simply reduce their volume. It seems that if it's possible to boost the gain, it should also be technically possible to do the reverse (attenuation). I would be very grateful if you could consider adding support for negative values to this function. Thank you for your continued hard work on the platform. Best regards. ==== Original Text ==== こんにちは。毎度楽しい機能の開発ありがとうございます。 本題ですが、Udonではプレイヤーの音声を操作するための関数がいくつか用意されているかと思いますが、その中のSetVoiceGain()についての要望です。 現在は0~24の範囲の値のみ受け付けるようになっていて、プレイヤーの声が大きく聞こえるようにのみ出来る仕様になっているかと思われます。 https://creators.vrchat.com/worlds/udon/players/player-audio/ 私はワールド内に特定のエリアを作成し、そのエリア内にいるとエリア外のプレイヤーの声が小さく聞こえる部屋を作ろうと考えていますが、今のSetVoiceGain()だとプレイヤーボイスのFarを0に変更してミュートすることしか出来ません。 音量のブーストが可能であれば、その逆も可能だと思われるので、もしよろしければ機能を追加して頂けますと幸いです。 いつも運営ありがとうございます。よろしくお願い致します。
0
Load More