Closed jacksro closed 8 years ago
Are you sure you have copied all the binaries? The SharingService.exe is under the Externals folder.
Tested on master, SessionServer was successfully launched. Closing unless we get a fuller repro.
Ok, I'm seeing this now. The menu item breaks when embedding the Assets/HoloToolkit folder into a new project. It makes assumptions about the existence of the "External" folder and the location of the SharingService executable.
The same is true for the all the sharing menu items.
Perhaps we add a check or Debug.LogError for better discoverability?
Definitely should be logging an error. We should update the integration instructions to include copying the External directory to the right place too.
Hey guys, are you meant to compile SharingService.exe ourselves or it should be part of this repo? Also +1 for LogError in case the file isn't there ! Specially when you have no idea what to expect.
@stbertou It's already a part of the repo - https://github.com/Microsoft/HoloToolkit-Unity/blob/master/External/HoloToolkit/Sharing/Server/SharingService.exe
Indeed ! My bad I was looking into the Assets folder in fact ! (I do have an External foldere but in Assets hence why I was confused) OK all good and that makes way more sense now! Thanks for checking Josh! Having said that.. it's quite possible that we all have a different way of storing "external" projects, what about using a environment variable (or something else) so we can all decide where to store those executables without breaking the HolotoolKit unity editor tools. Any thoughts on this?
@stbertou part of the trouble is these binaries don't need to be part of the unity packages. So even if devs download those, they stand the chance of missing these binaries. We could make it work with environment variables though to give more flexibility.
@NeerajW @stbertou Not a bad idea to allow customization! I think we should put the executables required by the scripts into the Unity Package. Otherwise confusion will occur.
Fixed by #160
clicking the menu button for launching the shared service doesn't do anything,