Software Inc.

Software Inc.

BetterContracts
56 条留言
NapalmSoul 9 月 1 日 上午 10:53 
Having the exact same error as a few already posted here. But in my case if it was when I took a contract overnight and it hasn't really been worked on yet by anyone. If I start iterating or do any work with a contract, then quit and reload the game and the mod - the mod continues to work normally
Still nobody 3 月 30 日 上午 11:37 
Problem:
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.PauseWorkItem (WorkItem w) [0x0000d] in <ff7c862dab66420abf706c52685d2064>:0

Workaround:
Try to finish all your current contracts before closing the game.
With there are no contracts to load when you start the game, the mod works fine.
GamerJSP  [作者] 2 月 3 日 上午 11:40 
SamAres,
This may depend on what other contracts are in progress. If there is already a contract in the next stage, with the same team, it will wait to promote so only 1 contract is focused on at a time.
SamAres 1 月 24 日 上午 1:46 
When it goes to promote from alpha to beta I can't click yes. Restarting didnt help.
TwotoolusFLY_LSh.st 1 月 24 日 上午 1:05 
i think, need update
SpaceLatch 2024 年 12 月 30 日 上午 9:45 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.PauseWorkItem (WorkItem w) [0x0000d] in <ff7c862dab66420abf706c52685d2064>:0
GamerJSP  [作者] 2024 年 10 月 15 日 下午 12:12 
@Demon Lord Lucifer
Unfortunately i don't think its possible at the moment to add new roles. At least not fully. Maybe if i get some time, i will look to implement a light version of this, or pester the devs to get modding support on this.
Demon lord Lucifer 2024 年 10 月 11 日 上午 6:47 
I'm loving the Mod so far and i hope you can expand it a little so we can auto accept contracts, your idea for a contract manager is great i like it, and it's useful for both early and late game, i tend to spam out contracts in late game when i'm between big releases if i have teams that are idle or low workload
MunchPacino 2024 年 6 月 4 日 下午 12:27 
I was able to reproduce the error as well.

I played with the mod for a week without encountering any problems, and no game updates were released during that time. However, today I noticed that it appears every time I load a save while having two contract jobs: one in the design stage and another in the Alpha or Beta phase.
When I load the game with all contract jobs in a single phase, the error does not occur.

```
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <86b6300171a7418cb3ca5e55563fca91>:0
```
GamerJSP  [作者] 2024 年 5 月 24 日 上午 9:17 
Thanks for the info guys, I will take a look.

Rfmz - all configuration options are in the options. Simply go on the mods tab and each mod is in its own expandable box.
rfmz 2024 年 5 月 23 日 下午 6:32 
How do I open the mod config in game?
sage20500 2024 年 5 月 3 日 上午 10:54 
Thats weird, my current game I was playing had the mod activated when I started, the error only happened I think after the most recent game update when I reloaded my save
Rethink 2024 年 5 月 1 日 上午 8:22 
@GamerJSP, I've managed to reproduce the issue mentioned. It occurs when a save is initially made without the mod installed or activated, and then the mod is installed midway through the save. To replicate this, try creating a save without the mod and then adding it afterward. Hope this helps.
sage20500 2024 年 4 月 27 日 下午 1:51 
I can try to figure out where my save data is to be able to share it with you
SierraAlpha84 2024 年 4 月 27 日 上午 11:27 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <33610f29a92d454c93e0592349773ec5>:0



i received the same error today as Sage20500.


i will try and revert to a Beta Branch and see if it is the game update causing the issue.
GamerJSP  [作者] 2024 年 4 月 23 日 下午 3:13 
I'm currently at a loss with this error. I subscribed on a different machine and the correct code is there. Also the way I've done the code, it shouldn't be possible for that method to throw the error. Unfortunately I have not managed to reproduce this error locally so its hard to test. If anyone can share a save that does this via a Google drive link or something, it would help a ton.
icbogue 2024 年 4 月 21 日 上午 12:43 
Hey, I'm also still not seeing an update for April 9 :/
sage20500 2024 年 4 月 16 日 上午 7:45 
is there any other way to get the latest update you had posted? Steam is still showing that the last update for this mod was back in February?
sage20500 2024 年 4 月 15 日 上午 1:33 
have attempted to unsubscribe and resubscribe to mod multiple times as well as delete mod folder from workshop folder and then resubscribe to have fresh download of mod; still getting that error?
sage20500 2024 年 4 月 13 日 下午 12:30 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <31b4c2678f7545df8963e1a4add871e3>:0

New message showing when I tried to load it today? It was working yesterday so I'm not sure whats going on
GamerJSP  [作者] 2024 年 4 月 9 日 上午 12:53 
UnPauseWorkItem should no longer crash

Mod update seems to be taking a while so give it some time to update locally
Da5h1n 2024 年 3 月 22 日 下午 5:25 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <c72d1caf78174a3c9ba65128ab4155ec>:0


my game keeps crashing after a contract is past due
TTVxbluedreamerx 2024 年 3 月 7 日 上午 11:42 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <d90b30023aa442deb1d17c4e40f70317>:0

Also getting this error when loading a save game. Mod is up to date. Even tried to re-download it.
GamerJSP  [作者] 2024 年 2 月 26 日 下午 3:21 
Could you check the mod is up to date on your save, as that's the issue I fixed in the latest release, and shouldn't be able to crash the mod anymore.
FireStorm 2024 年 2 月 26 日 上午 8:49 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x0000d] in <eeebc0890be541a28056a7bc8a0dd650>:0

Getting this when loading a save game with the mod enabled. When I disable the mod and load the save, then load the mod, it makes a contract progress from design to alpha. The mod was loaded at the time of the save, so it was presumably sent to alpha sooner than intended. The teams on the contract pushed into alpha early, were also on another previous paused contract.
GamerJSP  [作者] 2024 年 2 月 5 日 下午 1:24 
Some new bug fixes are out. This should fix the pause / unpause issue and Input string was not in a correct format issue in the PrioritiseAllContracts method. This was caused by a difference in how some data is produced in different languages. Anyone who was seeing these issue, please ensure the mod is updated, and reload the save to see if the issue persists.
wynillo 2024 年 2 月 4 日 上午 5:24 
Oh its because its unable to parse a number format like 1.000,00 and expects the format 1,000.00
Could you fix it? Don't know if you can access language/culture settings at that point.
wynillo 2024 年 2 月 3 日 下午 12:29 
Doesn't seem to work? Getting an error when i check the mod :(
PossibleTango 2024 年 1 月 25 日 下午 8:20 
Anyway you can auto accept contracts if I want a team that works on them always.
JackSpade 2024 年 1 月 19 日 上午 7:55 
i keep getting errors when I load a game. If I start a new game it's fine, but if I load a game with a contract pause it crashes with the same error big brain luigi had. Happened in three games now
JackSpade 2024 年 1 月 17 日 上午 1:40 
System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.PauseWorkItem (WorkItem w) [0x00007] in <091da1da7e0d4e9d8767194358707727>:0
GamerJSP  [作者] 2024 年 1 月 9 日 下午 11:36 
I'll take a look when I can but be careful using code directly from peoples git hub. This has not been reviewed by myself, and can not fix bugs from that version.
Big Brain Luigi 2024 年 1 月 4 日 下午 3:33 
so it looks like if you have a contract paused you get this error (System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.UnPauseWorkItem (WorkItem w) [0x00007] in <38dc572e3d64421095db5d5a7fa3985a>:0 ) when you load a save, hopefully you get around to fixing it
Derp Troll 2024 年 1 月 2 日 下午 3:39 
I tried using the Github fix you posted, and all I got was it going into the 'Error' tab of Mods with this exception: 'System.Exception [CS1525] Unexpected symbol 'end-of-file' in BetterContractsBehaviour.cs at [430, 246]'

I have no idea what this means, and the instructions on the Github page are non-existent, so I can't even tell if I did anything wrong. I can't find any 'end-of-file' thing anywhere in the doc.
demosdemon 2023 年 12 月 29 日 下午 11:18 
@GamerJSP: see https://gist.github.com/demosdemon/5aacb831ab58af0b7426db6e7ca306ae to fix the two bugs others have mentioned
LinkAirlines 2023 年 12 月 29 日 下午 12:22 
The same thing is happening to me.
daz_ian 2023 年 12 月 27 日 上午 11:47 
I tried this mod for the first time today. When it came time to automatically move the first contract from alpha to beta, the normal "are you sure you want to move to beta" dialog box appeared repeatedly, freezing the game.
Danarca 2023 年 12 月 27 日 上午 5:13 
Just got an error using this mod, on the unstable branch. Worked 2 hours ago :s

System.NullReferenceException: Object reference not set to an instance of an object
at Core.Utilities.WorkItemUtilities.PauseWorkItem (WorkItem w) [0x00007] in <9b7afb6e43cd4f8b8aaa9c91bac6e9e4>:0
FLATRATE 2023 年 11 月 24 日 下午 8:15 
Hey dear author , thanks for the mod. Gotta error with a code. i am going to send it to you: https://pastebin.com/1iaWaHKt

Its the same issue someone wrote before. Since i set the language to english, it was german before, there was no error.

Thanks a lot <3
GamerJSP  [作者] 2023 年 11 月 21 日 下午 11:22 
I'm afraid I have no idea how the language could cause an error ! There does seem to be a few really random, rare error cases, but can't pin point what causes them.
지구는 평평하다 2023 年 11 月 15 日 上午 7:11 
i got an error when my language was in german
switch to english and now i works! Good Mod :3
19Peej 2023 年 11 月 9 日 下午 5:14 
This is so cool
19Peej 2023 年 11 月 9 日 下午 5:14 
Thank you!!
Derrick 2023 年 10 月 7 日 下午 6:42 
Interesting, that could explain why I couldn't find the pattern in whether it would load or not, if sometimes it randomly loaded too fast maybe. I'll try and share if I see more issues later, because these mods basically make the game playable in my opinion.
GamerJSP  [作者] 2023 年 10 月 7 日 上午 12:31 
@LuneFox @Derrick
At a guess i'd say these errors are because the updates are trying to run before the game has been fully loaded. There must be a split second where the game is "valid" and loaded but its still loading in some of the company details. I will have a go at reproducing but looks tricky !
Derrick 2023 年 10 月 6 日 下午 12:39 
@GamerJSP
Perfect, thanks so much!

If it helps you, I also was getting errors with two of your mods when I loaded into my saved games after the game updated to 1.7.11, but I just tried a couple times with your mod updates today and didn't have a problem, so you maybe already fixed it. I'm not sure exactly what the issue was because the game would complain and unload the mods sometimes, but if I tried reloading the mods and the game then eventually they still seemed to work? Kinda weird.

https://pastebin.com/Y5YcwJgF
LuneFox 2023 年 10 月 6 日 下午 12:29 
@GamerJSP
Yes, this error happen after I select 'Prioritise individual contracts based on team and deadline'.
and my game language is Chinese.
GamerJSP  [作者] 2023 年 10 月 6 日 下午 12:25 
@LunaFox
Do you know what was happening when this error appeared. Did you just reload the game etc?
GamerJSP  [作者] 2023 年 10 月 6 日 下午 12:12 
@derrick,
I have just released a bug fix to how the quality was being determined in the design phase, so this should reduce the amount of inadequate contracts.

Optimal does target satisfactory but as its such a small window you will still get outstanding's.
LuneFox 2023 年 10 月 3 日 下午 9:54 
get an error.
please take a look
https://pastebin.com/RdxpbjiS