Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
134 stars 2 forks source link

Add an ability to create "empty" users for debugging #2849

Open zweetband opened 2 weeks ago

zweetband commented 2 weeks ago

Is your feature request related to a problem? Please describe.

When testing features or items, it is very common to find problems after somebody with a different setup tries to use the feature. For example a desktop user may find bugs with a VR setup. or a VR user may find bugs with someone using different controllers.

This creates a big problem in the inability to test all these setups without asking people to join you for debugging purposes, sometimes for hours straight or across multiple sessions.

Describe the solution you'd like

I suggest an ability to spawn a fake user / NPC that can be interacted with same as a real User (such as ability to get hit by UserOnly raycasts or be considered an active user with its own User Reference) and which is able to use different simulated tracking and controller setups in VR and in Desktop.

The fake user's inputs could be controller by a console spawned alongside it or possibly protoflux.

Describe alternatives you've considered

The only alternatives I could think of at the time of writing are non ideal:

Additional Context

This feature could also be used as an easy and standardized way to create NPCs for user-made worlds.

Requesters

@memtx

paradoxical-autumn commented 2 weeks ago

If you need to debug multi-user set ups for now you can run a second instance of resonite with the -DataPath argument (and -SkipIntroTutorial), but being able to do this natively within the world would be helpful.

shiftyscales commented 2 weeks ago

As indicated above, currently the easiest / recommended way to do multi-user testing while solo would be to run additional instances of Resonite- you can have them all logged in to the same account.

Based on your report though, it sounds more like you are interested in some way to simulate specific controllers / hardware configurations?

zweetband commented 2 weeks ago

That's exactly what I am trying to suggest. As a desktop-only user, I don't really have access to anything other my PC, and testing for stuff like VR and all the different controllers on it is an absolute pain to do. something to create fake users with different simulated hardware setups could very much speed up fixing bugs, with the added benefit of possibly working as a kind of NPC system if they could also do stuff like equip avatars.