[PROBABLY FIXED B933] "Object reference not set to an instance of an object"

Post bug reports and ask for game support here.

Moderator: MOD_Command

ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

[PROBABLY FIXED B933] "Object reference not set to an instance of an object"

Post by ZoroastroBR »

Hey guys,

I tried to play a scenario from the community pack (latest one from WarfareSims website, running on Steam Build SR7 nine hundred and six point twenty six). The scenario was "Closing the Kurile Gap". I had the same error trying to play a few other community scenarios too.

Is there a fix?
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: "Object reference not set to an instance of an object"

Post by michaelm75au »

Sounds like you are missing a database. Run the game Steam integrity check
Michael
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: "Object reference not set to an instance of an object"

Post by ZoroastroBR »

ORIGINAL: michaelm

Sounds like you are missing a database. Run the game Steam integrity check

Didn't work!

Steam validated 37 files but I'm still getting the error
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: "Object reference not set to an instance of an object"

Post by ZoroastroBR »

Did a fresh install, still not working.... same problem!
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: "Object reference not set to an instance of an object"

Post by ZoroastroBR »

I downloaded the scenario pack 34 from Steam's Workshop and I got no errors. All scenarios are fine. I think pack 35 is broken.
mavfin
Posts: 274
Joined: Tue Jun 22, 2010 5:22 pm

RE: "Object reference not set to an instance of an object"

Post by mavfin »

The latest pack, which I believe is 35, is fine. I'm using it.
--Mav
MorningDew
Posts: 1144
Joined: Wed Sep 20, 2006 12:24 pm
Location: Greenville, SC

RE: "Object reference not set to an instance of an object"

Post by MorningDew »

I am getting the same error with 35

Image
Attachments
Capture.jpg
Capture.jpg (141.02 KiB) Viewed 435 times
Rain08
Posts: 113
Joined: Mon Jul 18, 2016 9:54 am

RE: "Object reference not set to an instance of an object"

Post by Rain08 »

IIRC, it has something to do with the scenario's units. If there were any modifications done on a unit, there's a chance that it might have been "bugged". Usually copying that modified unit will cause the problem. AFAIK this problem started when the database was updated during the release of the Korean Missile Crisis.

I've started to notice this problem when I was working on my ship templates where if I copied a modified unit, the information on the sidebar will display the previous selected unit. Everything can still work even the edited attributes will work as intended (but won't display properly), but once you saved the scenario you can't access it again (thread title).

One way to simulate this problem is editing a simple unit. For example I'll use the Patriot SAM. Then I keep adding the M901 Launch Station to meet my needs, but if you add "too much" then you will soon face this bug.

Before the Korean Missile Crisis update, there was no problems about this. You could add as much weapons/sensors to a unit without facing this kind of problem.

Edit:
It seems that the current version of the DB doesn't face this problem anymore. I'm not exactly sure when was this problem "fixed" because I haven't touched CMANO in a while. However the problem did really happen during the KMC update and before the fix for this.
MorningDew
Posts: 1144
Joined: Wed Sep 20, 2006 12:24 pm
Location: Greenville, SC

RE: "Object reference not set to an instance of an object"

Post by MorningDew »

When you say "The current version fo the database", I have the most recent version I believe (using steam). Is there a newer one?
Rain08
Posts: 113
Joined: Mon Jul 18, 2016 9:54 am

RE: "Object reference not set to an instance of an object"

Post by Rain08 »

I'm assuming that's the reply to my edit. What I'm referring to as the "current" one is the DB3K 464 (SR7-B906.26).
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: "Object reference not set to an instance of an object"

Post by ZoroastroBR »

I stand by what I said earlier about the Community Pack 34 working with the latest CMANO update while a few Community Pack 35 scenarios don't work. For example: H Hour from Northern Furry series and Closing the Kurile Gap from War that Never Was series.

I can't even open the scenarios using the editor (from CP 35).

I do have DB 3K 464 installed.
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: "Object reference not set to an instance of an object"

Post by mikmykWS »

Hi Guys

Thanks for your reports.

Something is definitely up. We've had a non steam report so it may not be linked. I've added a ticket and sent some files in for our wizards to look at.

Thanks

Mike
Meroka37
Posts: 268
Joined: Fri Jul 31, 2009 6:12 am

RE: "Object reference not set to an instance of an object"

Post by Meroka37 »

I'm after this guys
'Better honor without ships, than ships without honor"
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: "Object reference not set to an instance of an object"

Post by michaelm75au »

It isn't every scenario in CP35, most of the ones I selected are loading okay. The stated 'Closing gap' ones fail for me too.
Michael
ComDev
Posts: 3116
Joined: Fri May 12, 2006 1:20 pm
Contact:

RE: "Object reference not set to an instance of an object"

Post by ComDev »

Hi guys, can you re-try this with the very latest exe. Are the scens loading correctly now?
Image

Developer "Command: Modern Air/Naval Operations" project!
ComDev
Posts: 3116
Joined: Fri May 12, 2006 1:20 pm
Contact:

RE: "Object reference not set to an instance of an object"

Post by ComDev »

Strike last, the files are corrupted. The bug that caused the corruption should now be fixed.

Thanks!
Image

Developer "Command: Modern Air/Naval Operations" project!
sergiopl
Posts: 39
Joined: Wed Feb 10, 2016 5:38 pm

RE: "Object reference not set to an instance of an object"

Post by sergiopl »

It appears that the problem is not fixed yet. I´m using Build 936.2, and when I try to load several community scenarios (for example: Northern Fury 8) an error message appears, different from the previous one:

ERROR! The scenario is probably corrupted, could not determine which database to use!

Image

When I clic "Accept", the same message than before shows up (Object reference not set to an instance of an object)

Am I missing something?
mavfin
Posts: 274
Joined: Tue Jun 22, 2010 5:22 pm

RE: "Object reference not set to an instance of an object"

Post by mavfin »

If the problem is that some of the files are corrupted in the pack, then the scenario pack has not yet been fixed. The bug causing the corruption has been fixed, but not the corrupted files, unless I misunderstood.

Mav
--Mav
sergiopl
Posts: 39
Joined: Wed Feb 10, 2016 5:38 pm

RE: "Object reference not set to an instance of an object"

Post by sergiopl »

So... in that case what I would be "missing" is reading comprehension [:D]

Thanks!
mavfin
Posts: 274
Joined: Tue Jun 22, 2010 5:22 pm

RE: "Object reference not set to an instance of an object"

Post by mavfin »

Yeah, i get the same error with Northern Fury 8, and I'm using the Release Candidate B936.2.

I suspect the maintainer of the pack is scrambling around verifying all the files in the pack, and then finding good copies to update/rebuild the corrupt ones.

It'll take some time. That's a LOT of files.

Mav
--Mav
Post Reply

Return to “Tech Support”