ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

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

Open wojiuxuihuan opened 5 years ago

wojiuxuihuan commented 5 years ago

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 commented 5 years ago

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

chengnay commented 5 years ago

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?

wojiuxuihuan commented 5 years ago

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

chengnay commented 5 years ago

@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.

MSFX commented 4 years ago

@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!

chengnay commented 4 years ago

@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?

wojiuxuihuan commented 4 years ago

@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.

chengnay commented 4 years ago

@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.