ContentLib Segmentation Fault on Linux Dedicated Server
My Server crashes with a segmentation fault when loading mods JSON files, see attached log.
In this case it tried to load the JSON provided by the Nuclear Rebalance Patch mod (https://ficsit.app/mod/NuclearRebalancePatch).
I found the offending code on the github (https://github.com/Nogg-aholic/ContentLib/blob/master/Source/ContentLib/Private/CLItemBPFLib.cpp#L115) in GetNuclearFuelAsJsonObject:
const auto SpentFuelClass = MakeShared<FJsonValueString>(CDO->GetSpentFuelClass(Item)->GetPathName());
GitHub
ContentLib/Source/ContentLib/Private/CLItemBPFLib.cpp at master · N...
Contribute to Nogg-aholic/ContentLib development by creating an account on GitHub.
1 Reply
The actual .json changes being made for this mod are extremely simple, and built off templates provided in the docs, so I highly doubt it has anything to do with my mod specifically, and instead it has something to do with ContentLib and it's server implementation as shown here: https://docs.ficsit.app/contentlib/latest/Tutorials/PublishMod.html#_supporting_dedicated_servers
But for anybody looking into the ContentLib side of things to see why this is happening, it might still help to see what's going on with my mod, so here's the original files for it
Publish your Mod :: Satisfactory Modding Documentation
This page explains how to publish ContentLib scripts you have created as mod for others to use by uploading them as a mod to the Satisfactor...