Skip to main content
Inspiring
February 8, 2024

Huge overhead of AssertUtils.Nicify in FromOVRControllerDataSource

Has anyone else noticed or found a workaround for the huge overhead during FromOVRControllerDataSource.UpdateData? I was doing some profiling on a build and it seems it's entirely due to these `AssertUtils.Nicify` calls. If anyone knows how I might be able to strip out these expensive calls it would be greatly appreciated.

    This topic has been closed for replies.

    1 reply

    lufinkeyAuthor
    Inspiring
    February 10, 2024

    I ended up resolving this by just switching to a hand IPoseInputDevice, since we were already using "controller hands" input for the interactors

    Edit: Since I got an auto-message from "meta" asking if this solves the issue, this is *not* an actual solution. It's just a workaround. The overhead of AssertUtils.Nicify still needs to be removed.