Page 1 of 1

Campaign editor issues 6.1.7.2

Posted: Thu May 17, 2018 8:35 am
by Erik2
There are still some issues with handling specialisations, at least when more than one core faction is used.
I have edited the Waffen SS specs.
When I try to edit the Wehrmacht specs the tab labels and spec fields disappear.

Re: Campaign editor issues 6.1.7.2

Posted: Thu May 17, 2018 4:14 pm
by Shards
Does anything get thrown out to the output log Erik? Sounds like it's expecting something in the UI and isn't finding it

Re: Campaign editor issues 6.1.7.2

Posted: Thu May 17, 2018 5:45 pm
by Erik2
It looks like the editor is expecting to find several items; I've cut out some stuff below.
Note that I have a few campaign folders that are incomplete, missing essential files. But I do not try to open those.

Version 6.1.7

(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Specialisation 'Home_Guard' not found

(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Specialisation 'Home_Guard' not found

(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Specialisation 'ersatz' not found

--------------------------------------------------------------

The game has 1379 unit types

(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Cannot find unitType 280mm_Howitzer

(Filename: C:\buildslave\unity\build\artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Cannot find unitType sIG_33_II

----------------------------------------------------------------

Failed to convert CMP to CMZ. Error: System.NullReferenceException: Object reference not set to an instance of an object
at CampaignFilesCMP..ctor (System.String fileName, System.String pathName) [0x00000] in <filename unknown>:0

--------------------------------------------------------------------------

(Filename: Line: -1)

NullReferenceException: Object reference not set to an instance of an object
at CampaignEditorSpecialisationsPanel+<Display>c__AnonStorey0.<>m__0 (Int32 i) [0x00000] in <filename unknown>:0
at EditBox.Finish () [0x00000] in <filename unknown>:0
at EditBox.DisplayEditField () [0x00000] in <filename unknown>:0
at EditBox.EditIntButton (Rect setRect, Int32 i, System.String tooltip, .UnfocusIntFunc func) [0x00000] in <filename unknown>:0
at CampaignEditorSpecialisationsPanel.Display (Int32 posX, Int32 posY) [0x00000] in <filename unknown>:0
at CampaignEditorSettingsPanel.OnGUI () [0x00000] in <filename unknown>:0

Re: Campaign editor issues 6.1.7.2

Posted: Sat May 19, 2018 12:13 pm
by Shards
That last bit is the likely candidate.

Re: Campaign editor issues 6.1.7.2

Posted: Fri May 25, 2018 11:38 am
by adherbal
Fixed it, and also made it a bit more obvious that these flags are buttons.

Re: Campaign editor issues 6.1.7.2

Posted: Fri May 25, 2018 12:59 pm
by bru888
adherbal wrote:Fixed it, and also made it a bit more obvious that these flags are buttons.
Thank you.

Re: Campaign editor issues 6.1.7.2

Posted: Fri May 25, 2018 1:56 pm
by Erik2
Good!