Code Monkey home page Code Monkey logo

qvpen's Introduction

Hi there ๐Ÿ‘‹

qvpen's People

Contributors

anatawa12 avatar koyashiro avatar mkc1370 avatar shingenpizza avatar ureishi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qvpen's Issues

VRChat freezing and crashing when too many people join at once

There seems to be an issue with QvPen that causes VRChat to freeze and crash within a few seconds of joining the world when too many people enter at once. For example, during the community meetup, 80 people can join a world at once.

I assume this is caused by these lines in the OnPlayerJoined function which calls a network event whenever a person joins the instance.

if (VRCPlayerApi.GetPlayerCount() > 1 && !Networking.IsOwner(gameObject))
SendCustomNetworkEvent(NetworkEventTarget.Owner, nameof(StartSync));

OnPlayerJoined not only gets called for the people already in the instance when someone joins, but the person joining gets a call for each player already in the instance plus one for themselves.

As far as I understand, when player 70 joins for example, the 68 non owners already in the world will send the event to the owner. Also, the person joining will send 70 events to the owner.

So 80 people joining at once should send Sum(n=2...80)[n-2 + n] = 6320 network events within a few seconds. This will likely break something.

The effect can be seen here:
https://www.youtube.com/watch?v=VRqSuXP7fxg&t=4830s

Can you support Unity Package Manager (will be used in VRChat Package Manager)?

I'm a fun of VCC and Unity Package Manager (ja).

In case I share some Project with some .unitypackage-distributed unredistributable package, I must to gitignore the directory expanded .unitypackage to and some who cloning my repository need to download .unitypackage & expand manually.
With UPM, we can avoid manual installation .unitypackage & Unity will automatically download QvPen.
In addition, the packages provided with UPM will be installed separately and installed as read-only so packages don't dirty the Assets folder.

I don't want manual installation and dirty Assets folder as possible so I want QvPen to support UPM.

Meta Quest 2

Hello, why does this not work on Meta Quest 2? I can grab it but no lines come out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.