UI Errors on startup

Summary:

Constant getting two UI Errors at the start of any game and both errors keep comming back with almost all actions. Game is unplayable now.

Steps to reproduce:

  1. Start a new game or load a saved game.
  2. When the game starts, both UI Errors are shown.

Notes:

The game is unplayable now. Every action that has something to do with the UI returns the same errors over and over again.

Reloading the UI doesn’t fix the problem.

Version Number and Mods in use:

24.10.1
No Mods.
This shows in the bottom left corner: 0.24.0 (release 847) x64 build

Error 1

release-847 (x64)
Uncaught TypeError: fileName.indexOf is not a function
TypeError: fileName.indexOf is not a function
    at HTMLDivElement.<anonymous> (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:69:23)
    at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2882)
    at n.fn.init.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:847)
    at n._filterTemplates (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:66:12)
    at n.<anonymous> (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:127:18)
    at invoke (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7142)
    at n.flush (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7689)
    at a.end (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:2462)
    at http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:1288

Error 2

release-847 (x64)
Uncaught TypeError: fileName.indexOf is not a function
TypeError: fileName.indexOf is not a function
    at HTMLDivElement.<anonymous> (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:69:23)
    at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2882)
    at n.fn.init.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:847)
    at n._filterTemplates (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:66:12)
    at n.<anonymous> (http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_3/template_list/template_list.js:127:18)
    at invoke (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7142)
    at n.flush (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7689)
    at a.end (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:2462)
    at http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:1288
1 Like

+1 . I have same issue in my worlds
UPD: I have this bugs in the Microworld too

Can’t repro this. Could you upload your stonehearth.log? (It’s inside C:\Program Files (x86)\Steam\steamapps\common\Stonehearth)

Which kind of templates do you have / use?

Did you change your user_settings at some point?

stonehearth.log (11.9 KB)
Before bug appear i install UnitFramePlus mod. I deleted it but problem has still yet

1 Like

I’ve been informed that the cause of the error is having templates whose filenames are only numbers. We will consider pushing a hotfix for this. Thanks for reporting!

2 Likes

Good job! I replace all my template with number_name (e.g. “3”, “1” and another) at another folder and now it work!

1 Like

Same here. No more problems so far!