# stuck on "Host is loading project..."

**URL:** <https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938>\
**Category:** Bug Reports\
**Created:** [March 27, 2016, 1:11pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938 "2016-03-27T13:11:27Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [March 27, 2016, 1:11pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/1 "2016-03-27T13:11:27Z")

</div>

Lately I’ve been experiencing that preview is stuck on “Host is loading project…”.

This for instance: [https://github.com/bolav/fuse-jsbundleimagesource](https://github.com/bolav/fuse-jsbundleimagesource)

With this command: `fuse preview BundleImageList.unoproj`

---

<div class="post-metadata">

**Author:** ![Andreas\_Biorn-Hansen](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Andreas\_Biorn-Hansen](https://forums.fusetools.com/u/Andreas_Biorn-Hansen)\
**Post date:** [March 27, 2016, 1:48pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/2 "2016-03-27T13:48:47Z")

</div>

Same here when trying to `preview` just the default code after creating a new project.

Fuse version 0.11.0 (build 6183)

Uno version 0.26.9-OSX (build 1951)

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 27, 2016, 3:03pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/3 "2016-03-27T15:03:27Z")

</div>

Thanks for reporting this. We will investigate Tuesday

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 28, 2016, 6:55am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/4 "2016-03-28T06:55:32Z")

</div>

Been reporting that as well. the examples still seem to work, but on a personal project that happens almost all the time.

---

<div class="post-metadata">

**Author:** ![albertolopezdev](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/albertolopezdev/32/407_2.png) [@albertolopezdev](https://forums.fusetools.com/u/albertolopezdev)\
**Post date:** [March 28, 2016, 6:59am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/5 "2016-03-28T06:59:13Z")

</div>

`adb disconnect` `adb connect 192.168.1.*:5555`

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 28, 2016, 7:12am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/6 "2016-03-28T07:12:09Z")

</div>

It’s not necessarily Android related. Happens with Local Preview as well.

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 28, 2016, 7:16am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/7 "2016-03-28T07:16:28Z")

</div>

When I ctrl+c a stuck preview I get this, although I think it’s not really useful:

```auto
Build completed in 7.51 seconds.
    0 Warning(s)
    0 Error(s)
Build ended
GL_VERSION: 2.1 INTEL-10.14.58
GL_VENDOR: Intel Inc.
GL_RENDERER: Intel Iris Pro OpenGL Engine
System.OperationCanceledException: The operation was canceled.
  at System.Threading.CancellationToken.ThrowOperationCanceledException () [0x00000] in <filename unknown>:0 
  at System.Threading.CancellationToken.ThrowIfCancellationRequested () [0x00000] in <filename unknown>:0 
  at System.Threading.ManualResetEventSlim.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.SpinThenBlockingWait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.InternalWait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.Wait (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at Outracks.Fusion.Native.DisplayLinkView.Draw () [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fusion.Native-OSX/DisplayLinkView.cs:90 
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

```

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 28, 2016, 10:34am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/8 "2016-03-28T10:34:52Z")

</div>

Hi guys,

Bolav, I am unable to reproduce the problem with the project you linked.

The rest of you experiencing this problem, can you please help debugging by typing

```auto
fuse host-preview

```

in the project folder. This should give a more detailed error message for this kind of error.

Thanks!

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 28, 2016, 10:39am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/9 "2016-03-28T10:39:59Z")

</div>

```auto
Building project...

Starting simulator...
Simulator running, endpoints:
127.0.0.1:56440
10.0.0.1:56440
10.37.129.2:56440
10.211.55.2:56440
192.168.1.44:56440

Press Ctrl+C to shut down

```

And that’s it. Nothing else happens.

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 28, 2016, 10:42am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/10 "2016-03-28T10:42:12Z")

</div>

Cbereveanu: Can you provide your test case please? You can PM it to me on slack if you don’t want to share it all.

Edit: We now have a reproducing test case and will debug asap.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [March 29, 2016, 2:59pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/11 "2016-03-29T14:59:42Z")

</div>

For those doing `fuse host-preview` as mentioned above, the full command you need is `fuse host-preview --compile-only YourProject.unoproj`.

Note that if this command succeeds, it will output the bytecode of your project, which you might not want to post here. You can just remove everything in the `Dumping stringified bytecode` block of the output before pasting.

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 30, 2016, 9:41am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/12 "2016-03-30T09:41:17Z")

</div>

Update: apparently I had messed up the unoproj file (ux file inclusion missing), but the fact is that the “Host is loading project” problem was occuring back when I had only “_\*" in the included files section. After adding "_.ux:UX” to the includes, the fuse host-preview compiles without errors, but the problem remains: preview stuck at “Host is loading project”.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [March 30, 2016, 10:01am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/13 "2016-03-30T10:01:25Z")

</div>

Hi Costin, I just wanted to let you know that I’ve reproduced the problem with your project, even after fixing the `.unoproj`. We’ve made a top priority ticket to investigate this. We’ll keep you posted here as soon as we know more.

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [March 30, 2016, 10:02am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/14 "2016-03-30T10:02:33Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [April 1, 2016, 7:06am UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/15 "2016-04-01T07:06:13Z")

</div>

Hey,

Pinpointed the issue to the video tag. An app with the following content would hang in that state. The video file in question used to load properly on older builds.

```auto
<App Theme="Basic">
    <DockPanel>
        <Page ux:Class="PageWithVideo" ux:Name="self" HitTestMode="LocalBoundsAndChildren">
            <DockLayout />
        </Page>
        <PageControl>
            <PageWithVideo Color="#FFF">
                <Panel>
                    <Video File="Assets/Video/intro.mp4" IsLooping="true" StretchMode="UniformToFill" Layer="Background" Volume="0.0" AutoPlay="true" />
                </Panel>
            </PageWithVideo>
        </PageControl>
        <BottomBarBackground />
    </DockPanel>
</App>

```

Even more specific, the app blocks if AutoPlay is present. Without it, the video preview shows fine.

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [April 4, 2016, 12:31pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/16 "2016-04-04T12:31:26Z")

</div>

Hi!

Thanks for you help debugging this issue. I found a bug in `<Video>` that could cause Preview to hang on loading project, the fix will be included in the upcoming release 🙂

---

<div class="post-metadata">

**Author:** ![Costin\_Bereveanu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/costin_bereveanu/32/628_2.png) [@Costin\_Bereveanu](https://forums.fusetools.com/u/Costin_Bereveanu)\
**Post date:** [April 4, 2016, 12:42pm UTC](https://forums.fusetools.com/t/stuck-on-host-is-loading-project/3938/17 "2016-04-04T12:42:14Z")

</div>

😃 great! Glad to be of assistance.
