[Avater SDK 3.7.0] Add new control in Expressions Menu create a button with `type: 0`
tracked
Not Cat
Reproduction Steps:
- Create a new Expressions Menu.
- Click on the "+" button to add a new Control entry.
Expected Behavior:
The new button should have
type: 101
.Actual Behavior:
The new button has
type: 0
, and this button fails to display in the game.Log In
Riry
I have been able to replicate this with SDK 3.7.1 and SDK 3.7.4. Will change to type 101 when swapped from any other type back to button so appears to only be on initiation.
Fax
tracked
Thank you for clarifying!
Not Cat
I created a new menu with a default
Button
that doesn't display in vrchat:%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -340790334, guid: 67cc4cb7839cd3741b63733d5adf0442, type: 3}
m_Name: VRCExpressionsMenu
m_EditorClassIdentifier:
Parameters: {fileID: 0}
controls:
- name: New Control
icon: {fileID: 0}
type: 0
parameter:
name:
value: 1
style: 0
subMenu: {fileID: 0}
subParameters: []
labels: []
If I change the type from
Button
to Toggle
and back to Button
it now displays:%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -340790334, guid: 67cc4cb7839cd3741b63733d5adf0442, type: 3}
m_Name: VRCExpressionsMenu
m_EditorClassIdentifier:
Parameters: {fileID: 0}
controls:
- name: New Control
icon: {fileID: 0}
type: 101
parameter:
name:
value: 1
style: 0
subMenu: {fileID: 0}
subParameters: []
labels: []
Do you see the difference?
Spoiler:
type: 0
-> type: 101
Not Cat
FaxUpdated
Fax
needs more information
Hi Can you please clarify what you mean?
Screenshots or additional information would be appreciated.