Open ultrawidegamer opened 4 months ago
While those log snips are showing the issue, please do give full logs for these things, they give a bunch of possibly relevant information that could help solve the issue you're reporting.
As @ohzee00 noted above and per our reporting requirements, please submit full log files with any issue you create, @ultrawidegamer.
Are HapticTrigger colliders the only kind that have issues? How is it configured? Does it have any filters applied, etc? Does the same occur with HapticStaticTrigger? Does the type of primitive collider matter/affect things? E.g. Sphere vs Box, etc.
If you are able to determine if this only happens with certain collider shapes/types/certain configurations- that would help a lot.
Haptic Triggers are only effected. No filters applyed. HapticStaitcTrigger works fine If i recall correctly, Cube and Sphere where the issues, when I tried cylinder, it worked.
And, As requested, here is the FULL log.
DESKTOP-NHBNSCC - 2024.4.18.1398 - 2024-04-21 23_38_35.log
@shiftyscales
I see- so it seemingly only is an issue that applies to haptic triggers on sphere/cube colliders?
Could you please create a replication world with all possible combinations of HapticTrigger, and HapticStaticTrigger colliders so we can know with more certainty which collider shapes and types are affected? @ultrawidegamer @navy3001
If this issue only affects certain combinations- it would be good to be certain on which colider shapes and types precisely are affected.
Does this issue only occur with bHaptics, or does it also occur with other haptic sources too, e.g. controller haptics?
Controller haptics appear to be unaffected and work as expected
That's unfortunate. I don't have the hardware to test it myself. But yes, it would be helpful then to please isolate all of the possible combinations that have issues.
After further testing, it seems to be a localized issue, which really surprised me. When using a HapticTrigger that @navy3001 was not able to feel with his bhaptics, I was able to see the data update on a VirtualHapticPointSampler, but he was not able to see the same data change while looking at that same VirtualHapticPointSampler.
Additionally, there appears to be no discernible pattern as to when the haptics will stop working. We tried placing about 1000 different HapticTrigger objects in different scenarios without any pattern, and eventually all new haptics appeared to be working as expected, with previously spawned out broken ones still remaining broken.
Furthermore, we have determined that after saving and reopening the world in which the item was spawned, it will always work, even if it was an item that previously did not work in that world. Controller haptics nor HapticStaticTrigger appear to be affected by this issue; only HapticTrigger colliders seem to be affected.
I see. Prior to saving/reloading the world, are all HapticTrigger colliders broken, even freshly made/duplicated ones? Or is it just specific colliders in the scene which have issues? From the sounds of it- the HapticTrigger colliders are not being properly registered in Bepu until the world is saved/reset, where it gets linked up properly.
In the case you mentioned, were you the host, or a client, @ultrawidegamer?
If so, I wonder if it can be nailed down further, e.g. HapticTrigger colliders not being properly registered for remote clients when they are made in the session, rather than being pre-existing when the user joins.
To follow on that line of thinking- if it only affects remote users- do the colliders get fixed if the user leaves and re-joins, @ultrawidegamer?
Describe the bug?
when wearing bhaptics and colliding with an item that has a HapticTrigger collider on it, the bhaptics gear will periodically not trigger and throw an error in the logs
To Reproduce
wear bhaptics and attempt to collide with objects with HapticTrigger colliders on them
Expected behavior
Bhaptics works with HapticTrigger colliders
Screenshots
No response
Resonite Version Number
2024.4.18.1398
What Platforms does this occur on?
Windows
What headset if any do you use?
No response
Log Files
Additional Context
No response
Reporters
ultrawidegamer, navy3001