Per Aspera
Внесите свой вклад в будущее Марса
Сделайте Марс таким, каким его ещё не видел никто, с помощью пользовательских модификаций! Создавайте новые задания, технологии, ресурсы и постройки – и даже меняйте параметры самой Красной планеты
Подробнее
Local mod, getting error
I created a local mod by combining a handful of Workshop mods. However, when I run the game and try to create a new game, I get an error "Object reference not set to an instance of an object".

I can't figure out what the heck that's supposed to mean...it's too generic. Initially it pointed out errors in my YAML files, which I corrected. A few missed spaces and such, nothing major. Once those were done, I started getting that error.

I've gone through the manifest.yaml and manifest-bluemars.yaml files and all files in the mod are referenced properly (as far as I can tell). I spent an hour going over every line in all of the files to make sure everything was in place, if the code referenced code elsewhere (such as techs unlocking buildings) I made sure those buildings existed in the proper buildings yaml, and then another 2 hours piecing the mod back together again. I'm at a loss. Any mod creators able to help me figure this out? I can zip up and post the mod somewhere if necessary. It isn't big.
Отредактировано endersblade; 18 окт. 2022 г. в 19:22
< >
Сообщения 11 из 1
first, make a backup copy of everything you have.
then try making a tiny mod just to make sure you get the manifests and config right.
then slowly add and test only one feature at a time, backing up every version.

small, incremental changes are key to finding problems.
< >
Сообщения 11 из 1
Показывать на странице: 1530 50

Дата создания: 18 окт. 2022 г. в 19:21
Сообщений: 1