From efb9447427bd672e3a7182b5a7e679c6733a3e68 Mon Sep 17 00:00:00 2001 From: YangXun <8789351+MiDark@users.noreply.github.com> Date: Fri, 12 Jun 2020 09:55:18 +0800 Subject: [PATCH] Fix isVRSupported call method name VR in method name is uppercase in poco-SDK (PocoManager.cs) rpc.addRpcMethod("isVRSupported", vr_support.isVRSupported); --- poco/drivers/unity3d/unity3d_poco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poco/drivers/unity3d/unity3d_poco.py b/poco/drivers/unity3d/unity3d_poco.py index 02db073e..f5a535c0 100644 --- a/poco/drivers/unity3d/unity3d_poco.py +++ b/poco/drivers/unity3d/unity3d_poco.py @@ -18,7 +18,7 @@ def __init__(self, client): self.client = client self.support_vr = False try: - self.support_vr = self.client.call("isVrSupported") + self.support_vr = self.client.call("isVRSupported") except InvalidOperationException: raise InvalidOperationException('VR not supported')