Unusable gliched objects

Title:
Unusable gliched object

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:

Desert save game:
File: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Object: Latticed Clay Window Frame
Location:

Forest save game:
File: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Object: Fire Pit
Location:

Versions and Mods:
“develop-2720 x64” aka “Alpha 13” (Steam [latest])
No mod

System Information:
OS: Windows 10 Family x64
Processor: Intel Core i7-5820K
RAM: 16GB
Graphic card: Nvidia GeForce GTX Titan X

EDIT: added screenshot of the location of the Fire Pit

4 Likes

Having same issue, same version, except not marked as latest.

This happens after I reload a save and click on a cobblestone fence.

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. (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)

OS: Windows 10 x64
Processor: i5-4670K
RAM: 16GB
GPU: EVGA (Nvidia) GTX 770 w/4GB

EDIT: Mine does not freeze. Let me know if you want the save, but I figure this is a scripting error, so it probably won’t mean much.

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? :smiley: 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.

Save Game

(dropbox is good right?)

develop-2720 (x64)
Windows 7 Professional 64-bit
AMD FX™-4300 Quad-Core Processor 3.80 GHz
32.0 GB RAM
NVIDIA GeForce GTX 650 Ti

Hi, I have the same issue, except that the game doesn’t freeze by me…
I posted a bug report here.

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.

Have fun, Kyth.

You… you… realize you posted to your own thread.

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!

Hope that helps clear things up :smile:

1 Like

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…

edit : only the item inside the red line :

There’s a new version uploaded and that bug may have disappeared

What do you mean a new version? Unless I am missing something, develop 2720 is still the latest version…

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

Just used F5 about 8 times and now the bed and table are gone. Along with 2 other beds I had stored on the ground. F5 sort of works lol

Thanks for the info, and welcome to the Discourse @Trova!

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’m really sorry for the inconvenience!!
-Yang

6 Likes

Awesome @yshan, great to hear about the fix! Happy Thanksgiving :star2:

@yshan thanks to you and the team, waiting for the next dev release :grin:

Error when selecting item from a stockpile

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:

  1. Load game from save
  2. 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.

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. (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)

No mods. I’m running the latest version I imagine - I bought the game yesterday (26.11.15) from the Steam sale.

Is that your error ?