Enabling/Disabling Interactables inside an Interactor's radius causing large framerate drop
See original GitHub issueEnvironment
*Source of VRTK (GitHub). *Version of VRTK (v4 Github master). *Version of the Unity software (Unity 2019.1.1f1). *Hardware used (Oculus). *SDK used (UnityXR).
Steps to reproduce
- Take an
Interactable.Primary_Grab.Secondary_Swap
and drop it into the scene. - Shrink the
Interactable
to something small like 0.01, 0.01, 0.01 (small enough for 4 of them to fit inside an Interactor’s radius). - Duplicate the small
Interactable
3 times, for 4 total. - Position the
Interactor
so it is encompassing all 4Interactable
s. - Enable/Disable all 4
Interactable
s at once repeatedly, after a short time the framerate will drop severely.
NB: I’m guessing this happens even with just 1 Interactable
, but it takes a lot more enables/disables to drop the framerate significantly.
Expected behavior
No frame drop.
Current behavior
Massive frame drop.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Huge frame drops while playing D4 : r/diablo4
The game runs at 60FPS all the time (I locked it there), but whenever I try to use the evade skill my performance...
Read more >Спільнота Steam :: Icarus
This new mission will have you gathering information and valuable extermination data on various creatures inhabiting Styx. We also have an update about...
Read more >News - Steam Community Announcements
This is to avoid bumping too much into it when dropping it while moving. You may still bump it while high-velocity sprints, but...
Read more >Untitled
One of the major points was text legibility. In large part because the softer shadows could make it appear blurry. The shadowing has...
Read more >https://opensource.apple.com/source/WebInspectorUI...
So, text that is "killed" with CTRL-k inside a CodeMirror instance isn't added ... 2015-08-26 Joseph Pecoraro <pecoraro@apple.com> Web Inspector: Drop iOS 6 ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unity doesn’t handle disabling stuff well 🤣 that’s half the problem with this original bug in the first place
Great that works thanks. It’s good to know the alternative to disabling colliders here is triggers. I’m not used to working that way