Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
lufinkey's avatar
lufinkey
Protege
1 year ago

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.

1 Reply

Replies have been turned off for this discussion
  • 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.