Open epicEaston197 opened 4 months ago
If I understand this correctly (going by description only), the issue here is that:
yes, this sounds like something that could be intentional as the user could disable the connection within the item when focusing/defocusing, but there could also be a configuration added that allows the connection to auto disconnect on defocus and auto reconnect on focus
yes, this sounds like something that could be intentional as the user could disable the connection within the item when focusing/defocusing, but there could also be a configuration added that allows the connection to auto disconnect on defocus and auto reconnect on focus
that should not be a configuration it should be by default because I was unaware of this behavior and I was really annoyed that my thing wasn't working
We need logs for this.
We need logs for this.
I've added a log file and a demonstration video in the screenshots section
okay so disabling the OSC receiver when you're not present in the world with flux fixes the issue but this is of course a workaround
If OSC connection is left connected in other worlds, it shouldn't be exclusive. If a player has a heart rate monitor and wants it to continue updating then it should work in all worlds not just one.
OSC Receiver is a server though, and listens for incoming connections. Only one process can listen to any port. So you either disable the receiver when you unfocus (your HRM stops showing when unfocused) or use different ports for different sessions (your Sender would need multiple connections to control multiple Receivers).
Even in the same session, spawning another avatar with the same setup would cause the conflict because ports are the same.
Thus, I'd stick to WS for HRM because it works the other way and the source is the singular server.
—-
What could be done on Resonite side though, is Receiver multiplexing. I.e., if two receivers for the same user use the same port, they both get the same data and use one listener underneath. This would allow controlling multiple copies of the item both in one session and in different sessions.
Seeking input from @Frooxius - requested additional information including a log file has been provided to this issue.
What could be done on Resonite side though, is Receiver multiplexing. I.e., if two receivers for the same user use the same port, they both get the same data and use one listener underneath. This would allow controlling multiple copies of the item both in one session and in different sessions.
Yes is my preferred solution
Describe the bug?
If you have an OSC receiver object that's receiving data and you save it to your inventory then spawned it out in a new session the data will not be received until the other object is destroyed in that session or that session is closed
To Reproduce
Expected behavior
The OSC receiver should recognize that the user is not in the present session and the receiver that's currently present with the user should be prioritized
Screenshots
https://www.youtube.com/watch?v=8HENZS9bUoU
Resonite Version Number
2024.4.30.495
What Platforms does this occur on?
Windows
What headset if any do you use?
Desktop
Log Files
DESKTOP-DAN95E7 - 2024.4.30.495 - 2024-04-30 15_44_58.log
Additional Context
No response
Reporters
@epicEaston197