cancel
Showing results for 
Search instead for 
Did you mean: 

Huge overhead of AssertUtils.Nicify in FromOVRControllerDataSource

lufinkey
Protege

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 1

lufinkey
Protege

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.