Summary:
I encounter some objects (not builded nor mounted) who produce an UI error each time their are selected.
Those objects are not used by workers.
Steps to reproduce:
This happend on random crafted(?) objects.
Expected Results:
The worker use the object for constuction or relocate them into a stockpile.
Actual Results:
No worker interact with the object and each time the object is selected, a UI error windows appears.
Notes:
UI error:
develop-2720 (x64)
Uncaught TypeError: Cannot read property 'indexOf' of undefined
TypeError: Cannot read property 'indexOf' of undefined
at null._updateMaterial (http://radiant/stonehearth/ui/game/unit_frame/unit_frame.js:112:43)
at applyStr (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19689:29)
at sendEvent (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13)
at notifyObservers (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7)
at chainsDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7)
at set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18093:25)
at __exports__.default.Mixin.create.set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:32739:9)
at Object.<anonymous> (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)
Attachments:
Here are two saves with different gliched objects:
As in the title, game freezes on New Save. Also get an error selecting an item. This is probably due to older game save but clean saves donât field bugz right? No biggie, just playing for bugs right now to be honest so Iâm not invested in the save lol. This after a fresh install done tonight, btw. Lemme know if you need more info.
I have noticed the same issue. Version is Alpha 13, latest.
It happens when a hearthling is going to place an object, like a fence, interrupts the task to go to eat or sleep and drops the object on the ground. Clicking on the object generates that error.
The task itself (placing the object) is left unfinished.
The object (fence) is left, totally ignored, on the ground.
Workaroud to solve the problem: This has worked for me to solve the problem so far (fences and fence gates).
Craft another object of the same type (fence in my case). A hearthling will pick it up and place it where the first one was supposed to go. Upon completion of the task the original object is âfreedâ. You can place it somewhere else now. Save and load if necessary.
If you have several of them in the stockpile and the task is finished but the object is still ignored, place them all. All new tasks. They should eventualy pick it up and place it. Later you can âunplaceâ them.
Hey there @Damaged_Industries. First, let me say âwelcome to the discourse!â As to your post, @MonSaigneurâs post was made in another thread created by @snocat (the post above his). He was pointing out a duplicate report, which was then merged here. As a side effect of the merge, his post came as well!
same issue. Had a clay lantern near my town banner. A hearthling must have dropped it there for some reason. I clicked it so i could move it somewhere and got the same error.
develop-2720 (x64)
Uncaught TypeError: Cannot read property 'indexOf' of undefined
TypeError: Cannot read property 'indexOf' of undefined
at null._updateMaterial (http://radiant/stonehearth/ui/game/unit_frame/unit_frame.js:112:43)
at applyStr (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19689:29)
at sendEvent (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13)
at notifyObservers (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7)
at chainsDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7)
at set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18093:25)
at __exports__.default.Mixin.create.set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:32739:9)
at Object.<anonymous> (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)
just load this saved game and select a item in a stock⌠1448519392781.zip (7.0 MB)
if i hit F5 i have a refresh but reselect a item --> errorâŚ
Iâm using dev 2720 too, (just bought the game) and i realized that this error happens when you select âremove objectâ this causes any object get bugged and if then you select âmove objectâ the villager drop it to the ground causing that error when selecting that item.
Hope that info could be useful
Im glad Im not the only one with this issue. Came across the same thing as everyone else except my game didnât freeze
Tried the F5 and it refreshes with the same error. Ill try the workaround for now. I have just the 3 items there and 3 other items in a field
Hi all,
Thank you for reporting this bug and sorry you are running into it.
There is a bug where placeable items that are in their iconic forms (so the small form that is placed in stockpiles) forget their materials on save load. I have a fix checked in, but itâs Thanksgiving so it might be awhile before a new build is pushed. In the meantime, a work around is to have items placed before reloading the game.
Items that are currently broken will be fixed when the new patch comes out. F5 will fix the UI for when the unit frame breaks due to selecting a broken item.
I have built a house and then designated part of the floor to a stockpile for items produced by the carpenter. I wasnât sure it would work, but the game let me do it, and the hearthlings are using this stockpile no problem (that I can see) - various items are stored there. However, when I try to click on one of the items (intending to place it in the world), I get an error and can then no longer select any items or hearthlings in game. Also, if I go to the main Inventory sheet, it is blank, as is the sheet which normally shows the list of hearthlings. I closed the game & reloaded, but the same thing happened again.
Steps to reproduce:
Load game from save
Select an item from the indoor stockpile
Expected Results: It appears to be a normal stockpile
Actual Results: Error appears and game can not be continued.
Iâm sorry if this has been posted elsewhere (or should be posted elsewhere). I looked, but Iâm new to this forum, so my apologies if I missed another copy. I have no idea what the error says so I canât tell whatâs happening.