-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White Table #30
Comments
@hervedumoulinarc Hi, the reason is probably that you aren't running the tileserver. Basically, you need three things to get it running:
private string configUrl = "https://dl.dropboxusercontent.com/s/6p6xiulujj4j1bw/config_erik.json?dl=0"; The main parts are the reference (keys: tileServer, mqttServer: their value must be replaced with the (accessible) IP address from the PC that is hosting the tile and MQTT server. In addition, you can specify your views and the initial view (key: InitialView) that is loaded upon startup. You can use the voice commands to switch between views, e.g. 'Switch to Beach' will display The Hague.
npm i -g typings typescript
npm i
typings i
tsc
node dist/cli.js -s IP_ADDRESS_FROM_YOUR_SERVER If you want to control the view from a leaflet map running locally on your server, you also need to install and start the MQTT server (mosca). By default, WorldExplorer joins session 'one', as does the local map, and by pressing the globe (menu on the left) in the leaflet map, the map will send its center coordinates and zoom level to WorldExplorer, which will switch its view (and vice versa). npm i -g mosca
mosca -p 8026 --http-port 8028 # or on Windows, use mosca_start.bat If multiple WorldExplorer's join the same session (one of them may be the Unity Editor), you will see their cursor too. Hope this helps... feel free to ask further clarifications... |
Hi and thanks you very much, I will try this as soon as possible |
Hi I don't understand when you say ''transpile the typescript project'' I assume it is for running the server... but how can I do this ? |
No worries: The server is written in typescript, a superset of javascript. So we first transpile the typescript to javascript in order to run it. You do this with calling |
Hello again. What do you mean by calling tsc ? I opened tsconfig.json file in visual studio... the dist folder doesn't appear in explorer after that... |
Assuming you have installed node.js, and you have run the following commands from the npm i -g typings typescript
npm i
typings i
tsc the first line installes the typings and typescript compiler globally and adds them to your path, node dist/cli.js -s IP_ADDRESS_FROM_YOUR_SERVER |
Hi thanks my server is running now... |
Hi, and I'm happy to help: You should create your own config.json and point in the C# code to that, i.e. update the reference in The mapzen key should go in the |
'worldexplorer.exe' (CoreCLR: DefaultDomain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.24301.0_x86__8wekyb3d8bbwe\System.Private.CoreLib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
OS 'Windows 10 (10.0.14393)' PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/WorldExplorerVS.Release_x86.HerveDumoulin/Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55176 Multi-casting "[IP] 192.168.1.15 [Port] 55176 [Flags] 2 [Guid] 1325798379 [EditorId] 4294967295 [Version] 1048832 [Id] MetroPlayerX86(HoloLens-1H6UH) [Debug] 0" to [225.0.0.222:54997]... Started listening to [0.0.0.0:55176] GfxDevice: creating device client; threaded=1 Direct3D:
Initialize engine version: 5.6.0b3 (358ff4ed3952) 'worldexplorer.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\WorldExplorerVS.Release_x86.HerveDumoulin\UnityEngineProxy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. (Filename: C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp Line: 375) OnLevelWasLoaded was found on ObservableMonoBehaviour (Filename: C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp Line: 375) Logical Screen DPI is 144.00. If your machine has multiple graphics adapters, Unity may have created a WindowContext on the wrong adapter. If you experience a black screen when playing, please restart the Editor. (Filename: C:/buildslave/unity/build/Runtime/VR/VRDevice.cpp Line: 179) UnloadTime: 5.711945 ms Waking up... (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) The referenced script on this Behaviour (Game Object 'Point light') is missing! (Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1746) The referenced script on this Behaviour (Game Object 'Point light') is missing! (Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1746) [Singleton] An instance of Assets.Scripts.SpeechManager is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) [Singleton] An instance of SelectionHandler is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) [Singleton] An instance of Assets.Scripts.AppState is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) 'worldexplorer.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\WorldExplorerVS.Release_x86.HerveDumoulin\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. //]]></script> <script type="text/javascript">var Flight={"version":"odsp-next-prod_ship-2016-12-05_20161216.001","name":"ship-2016-12-05","manifest":"next","session":"76dfbe42-6c14-44bb-a2e4-e9134f825b69","cid":"0","xid":"4ae61a3b-72f2-4d95-b9a3-18eaa297d41f","contentBaseUrl":"https\u003a\u002f\u002fspoprod-a.akamaihd.net\u002ffiles\u002fodsp-next-prod_ship-2016-12-05_20161216.001\u002f","Ramps":{"UseWebOneDriveNext":1,"ApiEventLogging":1,"PLTLoggingSampling":1,"EnableMsJs":1,"EnableGetItemsPrefetch":1,"UseNewDownloadZipLimit":1,"UseNewDeleteAllApi":1,"EnableTeachingBubbles":1,"EnableFirstRunExperienceDialog":1,"EnableFirstRunExperienceRobot":1,"isAddToOneDriveBubbleEnabled":1,"PhotosSearchBubble":1,"EnablePersonalSearchSuggestions":1,"OptimizelyEnabled":1,"SuiteNavHeader":1,"UseCommonSharingDialog":1,"EnableNotificationSubscriptions":1,"UseNewAILogging":1,"UseNewResourcePreloader":1,"UseNewSmartBanner":1,"OneRmO365UpsellEnabled":1,"PlacesForAllLocalesEnabled":1,"EnableSkypeOnSuiteNavHeader":1,"EnableExchangeOnSuiteNavHeader":1,"EnableNewFlexPaneOnSuiteNavHeader":1,"EnableMeFlexPaneOnSuiteNavHeader":1,"PromotedPhotosContentEnabled":1,"UseWebPdfViewer":1,"UseNewAllPhotosLayout":1,"UseNewMobileListViewUX":1,"AutoAlbumBannerV2Enabled":1,"AlbumViewInFiles":1,"EnableOfficeLensCommand":1,"UseDragAndDropPageDecoration":1,"NewParatureDesignEnabled":1,"UseNewTextEditor":1,"EnableAriaLogging":1,"UseModernEmbedPanel":1,"EmptyMusicFolderGrooveStrings":1,"NewFeatureExperience":1,"EnablePushChannel":1,"NewQuotaInfo":1,"QuotaBundleEnabled":1,"UseNewFolderPickerFirstParty":1,"EnableMinBarPremiumMessaging":1},"UserGroup":"PROD","baseUrl":"https\u003a\u002f\u002fspoprod-a.akamaihd.net\u002ffiles\u002fodsp-next-prod_ship-2016-12-05_20161216.001\u002f","bundlePaths":{"Next":["odconedriveprefetch-dfc08411","en-us\u002fodconedriveprefetch.resx-c981d1c3","knockout-699241a9","odconedrive-4c17ad3b","odconedriveapp-a07279ec","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveapp.resx-5da1ef8b","odcfiles-3a3b102d","en-us\u002fodcbasepage.resx-2445800c","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48"],"NextOneUp":["odconedrive-4c17ad3b","odconedriveprefetch-dfc08411","odconedriveapp-a07279ec","knockout-699241a9","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveprefetch.resx-c981d1c3","en-us\u002fodconedriveapp.resx-5da1ef8b","odcfiles-3a3b102d","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48","en-us\u002fodcbasepage.resx-2445800c"],"NextPhotos":["odconedrive-4c17ad3b","odconedriveprefetch-dfc08411","odconedriveapp-a07279ec","knockout-699241a9","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveprefetch.resx-c981d1c3","en-us\u002fodconedriveapp.resx-5da1ef8b","odcphotos-2defaccf","odcfiles-3a3b102d","en-us\u002fodcbasepage.resx-2445800c","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48","en-us\u002fodcphotos.resx-e7b88f59"]}};</script><script type="text/javascript">//! Copyright (c) Microsoft Corporation. All rights reserved. var __extends=this&&this.__extends||function(e,i){function t(){this.constructor=e}for(var s in i)i.hasOwnProperty(s)&&(e[s]=i[s]);t.protot [Singleton] An instance of Assets.Scripts.Plugins.SessionManager is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) Setting up 1 worker threads for Enlighten. Thread -> id: 13c -> priority: 1 Holographic Tracking State Lost. New State: 4 (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 132) The resource UnitySplash-HolographicTrackingLoss.png could not be loaded from the resource file! (Filename: C:\buildslave\unity\build\Runtime/Misc/ResourceManager.cpp Line: 1102) Holographic Tracking State Active. (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 128) Holographic Tracking State Lost. New State: 4 (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 132) The resource UnitySplash-HolographicTrackingLoss.png could not be loaded from the resource file! (Filename: C:\buildslave\unity\build\Runtime/Misc/ResourceManager.cpp Line: 1102) Holographic Tracking State Active. (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 128) Holographic Tracking State Lost. New State: 4 (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 132) The resource UnitySplash-HolographicTrackingLoss.png could not be loaded from the resource file! (Filename: C:\buildslave\unity\build\Runtime/Misc/ResourceManager.cpp Line: 1102) Holographic Tracking State Active. (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 128) Failed to get camera pose from main camera - world management may (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/VRDeviceHoloLens.cpp Line: 371) Trimming D3D resources. The program '[5144] worldexplorer.exe' has exited with code 1 (0x1). |
I process deployment and that is the output of debugger, unfortunately nothing appear when I launch the app zzz . |
'worldexplorer.exe' (CoreCLR: DefaultDomain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.24301.0_x86__8wekyb3d8bbwe\System.Private.CoreLib.ni.dll'. Cannot find or open the PDB file. OS 'Windows 10 (10.0.14393)' PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/WorldExplorerVS.Release_x86.HerveDumoulin/Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55044 Multi-casting "[IP] 192.168.1.15 [Port] 55044 [Flags] 2 [Guid] 1424380207 [EditorId] 4294967295 [Version] 1048832 [Id] MetroPlayerX86(HoloLens-1H6UH) [Debug] 0" to [225.0.0.222:54997]... Started listening to [0.0.0.0:55044] GfxDevice: creating device client; threaded=1 Direct3D:
Initialize engine version: 5.6.0b3 (358ff4ed3952) 'worldexplorer.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\WorldExplorerVS.Release_x86.HerveDumoulin\UnityEngineProxy.dll'. Cannot find or open the PDB file. (Filename: C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp Line: 375) OnLevelWasLoaded was found on ObservableMonoBehaviour (Filename: C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp Line: 375) Logical Screen DPI is 144.00. If your machine has multiple graphics adapters, Unity may have created a WindowContext on the wrong adapter. If you experience a black screen when playing, please restart the Editor. (Filename: C:/buildslave/unity/build/Runtime/VR/VRDevice.cpp Line: 179) UnloadTime: 5.964999 ms Waking up... (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) The referenced script on this Behaviour (Game Object 'Point light') is missing! (Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1746) The referenced script on this Behaviour (Game Object 'Point light') is missing! (Filename: C:/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1746) [Singleton] An instance of Assets.Scripts.SpeechManager is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) [Singleton] An instance of SelectionHandler is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) [Singleton] An instance of Assets.Scripts.AppState is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) 'worldexplorer.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\WorldExplorerVS.Release_x86.HerveDumoulin\System.Text.RegularExpressions.dll'. Cannot find or open the PDB file. //]]></script> <script type="text/javascript">var Flight={"version":"odsp-next-prod_ship-2016-12-05_20161216.001","name":"ship-2016-12-05","manifest":"next","session":"834c8dc8-cf68-466c-aaee-387b8d045e28","cid":"0","xid":"b6349c6c-0a64-473c-9778-0215899a4e49","contentBaseUrl":"https\u003a\u002f\u002fspoprod-a.akamaihd.net\u002ffiles\u002fodsp-next-prod_ship-2016-12-05_20161216.001\u002f","Ramps":{"UseWebOneDriveNext":1,"ApiEventLogging":1,"PLTLoggingSampling":1,"EnableMsJs":1,"EnableGetItemsPrefetch":1,"UseNewDownloadZipLimit":1,"UseNewDeleteAllApi":1,"EnableTeachingBubbles":1,"EnableFirstRunExperienceDialog":1,"EnableFirstRunExperienceRobot":1,"isAddToOneDriveBubbleEnabled":1,"PhotosSearchBubble":1,"EnablePersonalSearchSuggestions":1,"OptimizelyEnabled":1,"SuiteNavHeader":1,"UseCommonSharingDialog":1,"EnableNotificationSubscriptions":1,"UseNewAILogging":1,"UseNewResourcePreloader":1,"UseNewSmartBanner":1,"OneRmO365UpsellEnabled":1,"PlacesForAllLocalesEnabled":1,"EnableSkypeOnSuiteNavHeader":1,"EnableExchangeOnSuiteNavHeader":1,"EnableNewFlexPaneOnSuiteNavHeader":1,"EnableMeFlexPaneOnSuiteNavHeader":1,"PromotedPhotosContentEnabled":1,"UseWebPdfViewer":1,"UseNewAllPhotosLayout":1,"UseNewMobileListViewUX":1,"AutoAlbumBannerV2Enabled":1,"AlbumViewInFiles":1,"EnableOfficeLensCommand":1,"UseDragAndDropPageDecoration":1,"NewParatureDesignEnabled":1,"UseNewTextEditor":1,"EnableAriaLogging":1,"UseModernEmbedPanel":1,"EmptyMusicFolderGrooveStrings":1,"NewFeatureExperience":1,"EnablePushChannel":1,"NewQuotaInfo":1,"QuotaBundleEnabled":1,"UseNewFolderPickerFirstParty":1,"EnableMinBarPremiumMessaging":1},"UserGroup":"PROD","baseUrl":"https\u003a\u002f\u002fspoprod-a.akamaihd.net\u002ffiles\u002fodsp-next-prod_ship-2016-12-05_20161216.001\u002f","bundlePaths":{"Next":["odconedriveprefetch-dfc08411","en-us\u002fodconedriveprefetch.resx-c981d1c3","knockout-699241a9","odconedrive-4c17ad3b","odconedriveapp-a07279ec","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveapp.resx-5da1ef8b","odcfiles-3a3b102d","en-us\u002fodcbasepage.resx-2445800c","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48"],"NextOneUp":["odconedrive-4c17ad3b","odconedriveprefetch-dfc08411","odconedriveapp-a07279ec","knockout-699241a9","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveprefetch.resx-c981d1c3","en-us\u002fodconedriveapp.resx-5da1ef8b","odcfiles-3a3b102d","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48","en-us\u002fodcbasepage.resx-2445800c"],"NextPhotos":["odconedrive-4c17ad3b","odconedriveprefetch-dfc08411","odconedriveapp-a07279ec","knockout-699241a9","en-us\u002fodconedrive.resx-d45d5857","en-us\u002fodconedriveprefetch.resx-c981d1c3","en-us\u002fodconedriveapp.resx-5da1ef8b","odcphotos-2defaccf","odcfiles-3a3b102d","en-us\u002fodcbasepage.resx-2445800c","odcbasepage-4cf029b8","en-us\u002fodcfiles.resx-e0c17c48","en-us\u002fodcphotos.resx-e7b88f59"]}};</script><script type="text/javascript">//! Copyright (c) Microsoft Corporation. All rights reserved. var __extends=this&&this.__extends||function(e,i){function t(){this.constructor=e}for(var s in i)i.hasOwnProperty(s)&&(e[s]=i[s]);t.prototype=i.prototype [Singleton] An instance of Assets.Scripts.Plugins.SessionManager is needed in the scene, so 'BaseObject: NotAvailableDuringDebugging' was created with DontDestroyOnLoad. (Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51) Setting up 1 worker threads for Enlighten. Thread -> id: 778 -> priority: 1 Holographic Tracking State Lost. New State: 4 (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 132) The resource UnitySplash-HolographicTrackingLoss.png could not be loaded from the resource file! (Filename: C:\buildslave\unity\build\Runtime/Misc/ResourceManager.cpp Line: 1102) Holographic Tracking State Active. (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 128) Holographic Tracking State Lost. New State: 4 (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 132) The resource UnitySplash-HolographicTrackingLoss.png could not be loaded from the resource file! (Filename: C:\buildslave\unity\build\Runtime/Misc/ResourceManager.cpp Line: 1102) Holographic Tracking State Active. (Filename: C:/buildslave/unity/build/Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 128) Trimming D3D resources. The program '[2292] worldexplorer.exe' has exited with code 1 (0x1). |
Get this when I disable ''enable just my code'" |
How could I be sure I have the correct url of my config.json from my onedrive ? |
About your last question, you click on the link from VS, and it should open a json file. Most likely, as I see mention of a JavaScript tag in your error log, you open a html file from the link. If you look at my Dropbox link, you see that the start url is not referring to www.dropbox.com but rather to the download location. So please try that... Good luck! |
Yeah it work...!!!! Thanks a lot lot lot. |
:-) |
Hi, Your app is very interesting but it display only a white table...
The text was updated successfully, but these errors were encountered: