Skip to content

Ext.Stats.Sync crashes the game often before main menu #155

@Serpens66

Description

@Serpens66

Operating System

Windows

Extender Version

v60

Game Version

v3.6.117.3735

Bug Summary

Code like this often crashes the game before reaching the main menu.
But it is not 100% reproduceable for whatever reason.

Ext.Events.StatsLoaded:Subscribe(function(e)
  for i,name in pairs(Ext.Stats.GetStats("SkillData")) do
    if name=="Target_RangedInfusion" then
      Ext.Stats.Sync(name,false) 
    end
  end
end)

of course in my real code I do some changes to some of them, before calling Sync. My current assumption was that it can crash when calling Sync while nothing was changed. But even after adding a check if sth was changed, it sometimes crashes.
I never had a crash when I outcommented the Sync, that is why I assume this is causing it.

The Extender Log does not mention anything that sounds helpful. So it just crashes without any error in the log.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions