# UI Bug When Merchant Arrives

**URL:** <https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286>\
**Category:** Previous Build Reports\
**Created:** [July 9, 2015, 1:55am UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286 "2015-07-09T01:55:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neo](https://avatars.discourse-cdn.com/v4/letter/n/9fc348/32.png) [@Neo](https://discourse.stonehearth.net/u/Neo)\
**Post date:** [July 9, 2015, 1:55am UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/1 "2015-07-09T01:55:12Z")

</div>

When a merchant arrives, the UI popup is unpopulated (blank) and an error dialog opens.  
F5 to reload the UI fixes the problem, but if you go to messages and try to select the merchant again, same error. This did not occur on my machine in 10.5. (Now running 11.0 / Develop 2477 x64).  
Additional info available upon request.

---

<div class="post-metadata">

**Author:** ![Tuhalu](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tuhalu/32/44358_2.png) [@Tuhalu](https://discourse.stonehearth.net/u/Tuhalu)\
**Post date:** [July 9, 2015, 6:57am UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/2 "2015-07-09T06:57:34Z")

</div>

Does this happen for every merchant or was it a single time error? Haven’t played in the newest version yet, but I’ve had this happen to me once before and have heard others having single cases of it as well.

I suspect the hardest part of it for the devs is that it’s very hard to reproduce. Even if you have a save from just before the bug happened, there was no garauntee that it was going to happen again.

---

<div class="post-metadata">

**Author:** ![Sweeck](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sweeck/32/12880_2.png) [@Sweeck](https://discourse.stonehearth.net/u/Sweeck)\
**Post date:** [July 9, 2015, 7:59am UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/3 "2015-07-09T07:59:01Z")

</div>

next time try and take a screenshot, this is also helpfull for others to see what you mean.

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [July 9, 2015, 2:29pm UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/4 "2015-07-09T14:29:51Z")

</div>

welcome to the discourse @Neo 😄

as @Sweeck said, a screenshot would be very helfpful if this happens again. even though your a new user and cant upload it directly to the discourse, i would be able to embed it for you if you upload it to [imgur.com](http://imgur.com) or some such place.

---

<div class="post-metadata">

**Author:** ![artifus](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artifus](https://discourse.stonehearth.net/u/artifus)\
**Post date:** [July 11, 2015, 7:47pm UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/5 "2015-07-11T19:47:47Z")

</div>

here the bug i have :  
 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/a/6/a64efaba9036d71722b02449937094bc9ad0cc5f.png)

---

<div class="post-metadata">

**Author:** ![artifus](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artifus](https://discourse.stonehearth.net/u/artifus)\
**Post date:** [July 11, 2015, 7:49pm UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/6 "2015-07-11T19:49:17Z")

</div>

and if i clik on the right up cross :

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/c/9caddadbdbb96a97b0c73afa29327df0a8107da7.png)

---

<div class="post-metadata">

**Author:** ![artifus](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artifus](https://discourse.stonehearth.net/u/artifus)\
**Post date:** [July 11, 2015, 7:50pm UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/7 "2015-07-11T19:50:27Z")

</div>

and finaly after reset the UI vi F5 key :  
develop-2477 (x64)  
…nehearth/components/building/building\_component.luac:240: assertion failed!  
stack traceback:  
[C]: ?  
[C]: in function ‘assert’  
…nehearth/components/building/building\_component.luac:240: in function 'load\_from\_template’  
stonehearth/lib/build\_util.luac:44: in function 'load\_structure\_from\_template’  
stonehearth/lib/build\_util.luac:48: in function 'load\_all\_structures\_from\_template’  
stonehearth/lib/build\_util.luac:170: in function ‘restore\_template’  
…th/services/client/build\_editor/template\_editor.luac:10: in function ‘\_restore\_template’  
…th/services/client/build\_editor/template\_editor.luac:15: in function ‘go’  
…rvices/client/build\_editor/build\_editor\_service.luac:39: in function \<…rvices/client/build\_editor/build\_editor\_service.luac:39\>

---

<div class="post-metadata">

**Author:** ![artifus](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artifus](https://discourse.stonehearth.net/u/artifus)\
**Post date:** [July 11, 2015, 8:22pm UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/8 "2015-07-11T20:22:28Z")

</div>

I post here it is the same problem :

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/7/d/7db7ee7db94a8600e6d7a34e64344def91e8d811.png)  
my inventory : 0 ?

---

<div class="post-metadata">

**Author:** ![Morty](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/morty/32/20249_2.png) [@Morty](https://discourse.stonehearth.net/u/Morty)\
**Post date:** [July 12, 2015, 6:55am UTC](https://discourse.stonehearth.net/t/ui-bug-when-merchant-arrives/14286/9 "2015-07-12T06:55:41Z")

</div>

Same here, the only way I can see my inventory, is by ‘place item’ dialog. Have you guys maybe tried ‘ib’ console command? Just thinking if it’s a connection or no.
