SDK sometimes reverts object toggles in editor
tracked
A p o c
SDK versions tested: 3.8.2-beta.1, 3.8.2, 3.9.0_beta.1
Unity version: 2022.3.22f1
Discovered while working on an avatar. If an object in the avatar hierarchy is disabled, and I click to enable it, a moment later it will disable itself again. If it is enabled, and I click to disable it, it will enable itself within a few seconds. If I duplicate the object and toggle it, it will not be affected. If I duplicate the object, delete the original, and rename the duplicated object to the name of the original object, the bug returns. There is no output in the console to indicate anything is happening. Avatars running in gesture manager emulator behave as expected, as do animations played in the editor.
At first I thought another script or package may be the culprit (I initially thought it might be VRCFury). I removed all scripts and packages except the VRC SDK from the project and the issue remained. I narrowed it down to the VRC SDK once I downgraded to 3.8.1 and the issue was resolved. Updating to any newer version reintroduced the bug, and downgrading back to 3.8.1 consistently resolves the issue. Sometimes, removing and reinstalling other packages appears to fix the problem, but it always returns. Only downgrading the VRC SDK to 3.8.1 resolves the problem in a way that persists through a restart of Unity.
Log In
This post was marked as
tracked