ThePinkPanzer / Godherja-Github-Version

The Github repository for Godherja, giving another facet for users to download versions of the mod as well as serve as our main error reporting channel
7 stars 3 forks source link

Mac Crash on Cenware Enforce Demands #755

Open qazik011 opened 3 months ago

qazik011 commented 3 months ago

It's been reported before, but I think I have a more specific report. It only shows up with Imperrech enabled. When Cenware enforces in the Southmarch, the game crashes. This seems to be a mac-specific bug, and might be a m-chip specific bug.

Based on the logs there are a few candidate issues. There are a bunch of references to Kallistos Kasathonex's historical and internal ids in the logs. The final game logs are

[23:46:22][character_window.cpp:942]: Open character 'Hromihil Drevinyc of  (Internal ID 36631)'
[23:46:30][character_window.cpp:942]: Open character 'Kallistos Kasathonex of d_magi_auxiliaros_corpus_xii (Internal ID: 4334 - Historical ID westernimperial_aversarinas_aagiokrata_203)'

And the debug log:

[23:46:22][Game][character_window.cpp:942]: Open character 'Hromihil Drevinyc of  (Internal ID 36631)'
[23:46:22][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:22][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Game][character_window.cpp:942]: Open character 'Kallistos Kasathonex of d_magi_auxiliaros_corpus_xii (Internal ID: 4334 - Historical ID westernimperial_aversarinas_aagiokrata_203)'
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:30][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:31][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:31][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:31][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:31][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow
[23:46:31][Clausewitz Debug][pdx_gui_animation_datatype_valuehelpers.h:131]: Trying to trigger an animation with glow_alpha for a widget which has no glow

The game then freezes until 23:46:46, with the only error as Clausewitz Debug][rivers_ambience_node.cpp:20]: CRiversAmbienceNode::Process(): No sound alias named 'river_node' configured! Please check you sound alias database, which shows up 400 times in the five minutes of logs so I doubt that's what is killing the game.

Then, at 23:46:46,

[23:46:45][jomini_script_system.cpp:278]: Script system error!
  Error: has_same_culture_heritage trigger [ target culture was null ]
  Script location: file: common/court_positions/types/GH_court_positions.txt line: 395

fires a bunch of times, which refers to the checks

faith.religion = scope:liege.religion
culture = { has_same_culture_heritage = scope:liege.culture }

in the #A non-human as a Legon!? check in the legon court position. It's mixed in with

[23:46:45][jomini_script_system.cpp:278]: Script system error!
  Error: has_cultural_tradition trigger [ Wrong scope for trigger: character, expected culture ]
  Script location: file: file: common/succession_election/gh_military_unit_elective.txt line: 25; elector_voting_pattern_circumstances_feudal_elective_modifier line: 516

which points to elector_voting_pattern_circumstances_feudal_elective_modifier = yes in the gh_military_unit_elective

Finally, at 23:46:48, the "A character has refused a title!" event in gh_sjalvoki_conquest_events fires several times.

I'm pretty clueless with modding – if I had more background, I'd make a pull request, but I sadly don't have any experience in modding. I first thought it was a succession issue where cenware tried to give out a legion title, but it doesn't look like he tries to do that. I suspect it's the visual bug is the problem because it seems to be a visual issue that depends on story events being enabled, which could explain the specificity to m-chips. However, I wasn't able to find the source event calling this.

If there's any other way I can help out/send logs, let me know!