ViveInputUtility-Unity icon indicating copy to clipboard operation
ViveInputUtility-Unity copied to clipboard

Please put all the Editor Scripts into one "Editor" Folder

Open wojiuxuihuan opened this issue 5 years ago • 8 comments

We use Assembly Definition in every project, however, in order to use ViveInputUtility, we have to define tons of .asmdef Files, because it put Editor Scripts files everywhere, can you put them together? thanks!

wojiuxuihuan avatar Apr 03 '19 10:04 wojiuxuihuan

Also, the Vive seem to work at the first time, but when you replay the scene, it can't recognize the device anymore, you have to open VIU Setting, then it work again, that's creppy. VIU version is v1.10.3.0 SteamVR version is v1.2.2

wojiuxuihuan avatar Apr 03 '19 11:04 wojiuxuihuan

Also, the Vive seem to work at the first time, but when you replay the scene, it can't recognize the device anymore, you have to open VIU Setting, then it work again, that's creppy. VIU version is v1.10.3.0 SteamVR version is v1.2.2

Could you reproduce issue now? If yes, could you provide more detailed reproduce steps? Did you have SteamVR plugin imported?

chengnay avatar Apr 08 '19 07:04 chengnay

Also, the Vive seem to work at the first time, but when you replay the scene, it can't recognize the device anymore, you have to open VIU Setting, then it work again, that's creppy. VIU version is v1.10.3.0 SteamVR version is v1.2.2

Could you reproduce issue now? If yes, could you provide more detailed reproduce steps? Did you have SteamVR plugin imported?

1.Import VIU and SteamVR 2.Connect Devices(HTC Vive) 3.Open Example Scene, it works like charm 4.Close and reopen the same Scene, it can't recognise devices anymore. We have to reopen the "VIU Setting" Window, tick the device, then it works. 微信截图_20190413110916

I wonder if it's cause by "Assembly Definition", because We use this to cover VIU Plugins, and it can't add the "Scripting Defines Symbols", we have to do it all by ourselves. 2019-04-13_110654

wojiuxuihuan avatar Apr 13 '19 03:04 wojiuxuihuan

@wojiuxuihuan About your step 4, do you mean by closing Unity app or just close scene itself? Could you try without "Assembly Definition"? Please let me know if the issue still exists.

chengnay avatar Apr 15 '19 02:04 chengnay

@chengnay are you able to share your asmdef setup for how you got this working please as seriously struggling to get this to compile :( thanks!

MSFX avatar Sep 05 '19 12:09 MSFX

@MSFX What error log did you get from the console window in Unity Editor? What have you imported to your Unity project? Which SDKs with VIU?

chengnay avatar Sep 06 '19 02:09 chengnay

@wojiuxuihuan About your step 4, do you mean by closing Unity app or just close scene itself? Could you try without "Assembly Definition"? Please let me know if the issue still exists.

just close scene itself, Sorry for the late reply.

wojiuxuihuan avatar Sep 06 '19 02:09 wojiuxuihuan

@wojiuxuihuan VIU won't automatically add "Scripting Define Symbols" only when there is compile error in console window or there is no rebuilding required. You can try the methods in Troubleshooting Guide. Let me know if you still cannot resolve it.

chengnay avatar Sep 06 '19 02:09 chengnay