Encountering 'String Too Long' Error When Adding Non-English Keywords in Unity's RemoteSpeechProvider
WL.TSAI
85
Reputation points
The use of English keywords with holographic remoting and keyword recognition functions smoothly.
However, when I attempt to use non-English keywords (e.g., Chinese), an error occurs while adding commands to the remote speech profile. This leads me to wonder if there are additional steps required to enable non-English speech input. The error displayed is as follows:
[XR] [MROpenXR][Error ][10:40:43.984083][tid:a6a8] openxr_plugin_SetXrSession_StdException Function=openxr_plugin_SetXrSession Message=string too long
[XR] [MROpenXR][Error ][10:40:43.984083][tid:a6a8] openxr_plugin_SetXrSession_StdException Function=openxr_plugin_SetXrSession Message=string too long
Additionally, under normal circumstances, the RemoteSpeechProvider initializes the keyword dictionary as shown below. However, this initialization does not occur when I use a Chinese keyword.
RemoteSpeechProvider_UpdateState_InitializeRemotingSpeech language= dictionaryEntriesCount
Environments:
- Operating System: Windows (standalone version)
- Software: Unity 2021.3.26f1, MRTK 2.8.3, MRTK OpenXR 1.10.0
- Feature in use: holographic remoting
Sign in to answer