Game not working

When i open Stonehearth i get this message with a black screen
Stonehearth assertion failed
Assertion failed: node_.type()== JSON_NODE(C:/rb/ihome/root/SH-OB0-BUILD/stonehearth/source/lib/json/node.h:110) If anyone knows how to fix this please tell me, thank you. I have no mods.

Hey there @KING, welcome to the Discourse :smiley:!

Sorry to hear you are having issues launching the game. Can you please upload your stonehearth.log and crash.dmp files from your game. By default, they’re located in C:\Program Files (x86)\Steam\steamapps\common\Stonehearth.

1 Like

2016-09-17 13:38:20.861066 | server | 1 | app | Stonehearth Version 0.18.0.656 (x64)
2016-09-17 13:38:20.863080 | server | 1 | core.config | user id is d508da9c-7c5a-11e6-a188-40e230f58402
2016-09-17 13:38:20.863080 | server | 1 | core.config | session id is 86a04a4a-7cfd-11e6-8d18-40e230f58402
2016-09-17 13:38:20.863080 | server | 0 | core.system | Initializing crash reporter
2016-09-17 13:38:20.900138 | server | 0 | lua.data | lua jit is disabled
2016-09-17 13:38:20.925155 | server | 1 | resources | Module rayyas_children_ui version 3 is deferred load)
2016-09-17 13:38:22.323168 | server | 1 | resources | Modules are verified pristine.
2016-09-17 13:38:22.341181 | server | 1 | app | Running Stonehearth server on port 56572
2016-09-17 13:38:22.341181 | client | 1 | renderer.renderer | Initializing OpenGL
2016-09-17 13:38:22.341181 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2016-09-17 13:38:22.344166 | client | 1 | renderer.renderer | Determining window placement
2016-09-17 13:38:22.344166 | client | 1 | renderer.renderer | Selecting monitor at 8, 54
2016-09-17 13:38:22.344166 | client | 1 | renderer.renderer | Creating OpenGL Window
2016-09-17 13:38:22.351171 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-09-17 13:38:22.363192 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2016-09-17 13:38:22.435231error parsing json: Not JSON!
2016-09-17 13:38:22.435231 | server | 1 | lua.code | failed to read C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\analytics/game_version_6ce3e958-7b87-11e6-9dd6-40e230f58402.json: Not JSON!
2016-09-17 13:38:22.435231 | server | 0 | app | Assertion Failed: node_.type() == JSON_NODE(C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib/json/node.h:110)
2016-09-17 13:38:22.851585 | client | 1 | renderer.renderer | Creating OpenGL Context
2016-09-17 13:38:22.852587 | client | 1 | renderer.renderer | Finished OpenGL Initialization
2016-09-17 13:38:22.853087 | client | 1 | horde.general | Initializing GL2 backend using OpenGL driver ‘4.5.0 NVIDIA 358.91’ by ‘NVIDIA Corporation’ on 'GeForce GTX 960/PCIe/SSE2’
2016-09-17 13:38:23.278294 | client | 1 | browser | cef started.
2016-09-17 13:38:23.278294 | client | 2 | browser | Navigate called without an existing browser!
2016-09-17 13:38:23.278782 | thread14848 | 2 | browser | Doing a buffered navigation…
2016-09-17 13:38:23.316309 | client | 0 | physics.navgrid | subspace pathfinder is enabled
2016-09-17 13:38:23.330317 | client | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-09-17 13:38:23.333838 | client | 2 | network | client allocating new send buffer (total: 0)
2016-09-17 13:38:23.361340 | client | 1 | client.core | user feedback is off
2016-09-17 13:39:14.317661 | client | 0 | renderer.renderer | window closed. exiting process
I think this is it.

1 Like
2016-09-17 13:38:22.435231error parsing json: Not JSON!
2016-09-17 13:38:22.435231 | server |  1 |                         lua.code | failed to read C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\analytics/game_version_6ce3e958-7b87-11e6-9dd6-40e230f58402.json: Not JSON!
2016-09-17 13:38:22.435231 | server |  0 |                              app | Assertion Failed: node_.type() == JSON_NODE(C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib/json/node.h:110)

Hmm, that’s a new error for me. Looks related to the new game analytics system that was added to the game, Could you please try navigating to C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\analytics and deleting everything inside that folder. Then attempt to launch the game again.

1 Like

I cannot seem to find \Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\analytics in my files, am I doing something wrong?

Not necessarily - the log you uploaded above, in the same folder you found it is there a saved_objects folder at all?

1 Like

Oh, I see it now, but theres two, do I delete them both?
{
“num_game_versions_played” : 1,
“session_id” : “155ee534-7b87-11e6-bed2-40e230f58402”,
“user_id” : “7a17fddc-1c67-11e6-a066-40e230f58402”,
“gl_version” : “4.5.0 NVIDIA 358.91”,
“num_game_ids_played” : 1,
“gpu_vendor” : “NVIDIA Corporation”,
“os_arch” : “x64”,
“gpu_renderer” : “GeForce GTX 960/PCIe/SSE2”,
“memory_mb” : 16327,
“session_end_time” : “09/15/2016 21:28”,
“session_start_time” : “09/15/2016 20:57”,
“client_version” : “release-656 (x64)”,
“cpu_info” : “Intel® Core™ i7-4790 CPU @ 3.60GHz”,
“os_version” : “10.0.14393.0”,
“session_duration” : “00:30:32.280020”,
“os_name” : “Windows 10 Home”,
“messageType” : “riot__stonehearth__client__sessions”
}
And the over one is empty

Yep, delete both. Then try launching the game.

1 Like

Thank you! the game worked.

1 Like

Awesome, glad to hear it! Sorry for the trouble getting it launched.

2 Likes