Bug Reports

A new story begins...
The sequel to a real classic: Panzer Corps is back!

Moderator: Panzer Corps 2 Moderators

Grondel
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2009
Joined: Mon Aug 04, 2014 10:07 pm

Re: Bug Reports

Post by Grondel »

TheChief1893 wrote: Wed Jul 23, 2025 7:45 pm I just got a bug during the SCW. At the end of Antequerra I lose a core Pz. I have 2 and it cant be attacked at the end of turn 18. At the beginning of Merida it is missing. I have tried deleteing saves back to 17, clearing cache, and logging in on 2 different computers. It is cloud save and bought through steam. Is there a fix, or do I just eat the prestige loss?

I can send the save file.

It might be tied to what triggers the hero as the hero never changes either.
Antequerra has Aux-slots avail at the start of the scenario. My guess i u bought a Aux tank by misstake, which of cuase will not continue to the next map.

sers,
Thomas
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Bug Reports

Post by terminator »

Ghost Division - Into the East

The PRESTIGE OBJECTIVE should be Optional :

IntotheEast.jpg
IntotheEast.jpg (141.76 KiB) Viewed 3497 times
Tassadar
Lieutenant Colonel - Elite Panther D
Lieutenant Colonel - Elite Panther D
Posts: 1342
Joined: Mon Mar 11, 2019 1:03 pm

Re: Bug Reports

Post by Tassadar »

Bug or possibly as designed. In the first scenario of Frontlines: Westwall, the player has 26 core slots, but units take up 25. The bridge engineers are an auxiliary unit. Not sure if it was intended, or got accidentally edited, as it's strange to have a free core slot like that.
Tassadar
Lieutenant Colonel - Elite Panther D
Lieutenant Colonel - Elite Panther D
Posts: 1342
Joined: Mon Mar 11, 2019 1:03 pm

Re: Bug Reports

Post by Tassadar »

A lot of the new custom plane camo seem to have some issues with naming. Seems to be some sort of coding issues.
Attachments
Camouflage.png
Camouflage.png (357.57 KiB) Viewed 2745 times
bebro
Slitherine
Slitherine
Posts: 4573
Joined: Sun Nov 19, 2006 12:50 pm

Re: Bug Reports

Post by bebro »

Tassadar wrote: Wed Aug 20, 2025 5:38 pm Bug or possibly as designed. In the first scenario of Frontlines: Westwall, the player has 26 core slots, but units take up 25. The bridge engineers are an auxiliary unit. Not sure if it was intended, or got accidentally edited, as it's strange to have a free core slot like that.
Hi -- both are intended. The slot is for possible split actions. And trait choices can affect this too, so you might end up with slightly more free slots if you select inf or panzer general.

Thx for the headsup on camo names.
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

The strength indicator of the fortifications (1)

Post by terminator »

Regularly, the strength indicator of the fortifications disappears during the game but can reappear if we save and then reload.

Fortification(1).jpg
Fortification(1).jpg (457.78 KiB) Viewed 2525 times
Fortification(2).jpg
Fortification(2).jpg (541.54 KiB) Viewed 2525 times
Fortification(3).jpg
Fortification(3).jpg (541.43 KiB) Viewed 2525 times
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

The strength indicator of the fortifications (2)

Post by terminator »

Fortification(4).jpg
Fortification(4).jpg (621.8 KiB) Viewed 2523 times
deadtorius
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5290
Joined: Mon Oct 20, 2008 12:41 am

Re: Bug Reports

Post by deadtorius »

starting with Hurtgen Forest some of my tanks were showing as invalid. It also showed 3 tanks, two being invalid when I have a total of 7 tanks. Next Mission Metz all the tanks were showing again but now I had 4 invalid tanks. My best guess is it is an issue with the field upgrade armour. I believe those were the tanks showing as invalid.
Saved Metz game since it was getting late, next day went to load the save and the game crashes. Have sent two auto crash reports. West Wall was purchased through Steam, first time I did that. Was working fine until Hurtgen.
bebro
Slitherine
Slitherine
Posts: 4573
Joined: Sun Nov 19, 2006 12:50 pm

Re: Bug Reports

Post by bebro »

Please check if you have any modded stuff available that may interfere with the most recent data updates for Westwall, esp. in units.csv and transportclass.csv.
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Bug Reports

Post by terminator »

Identical model for two different artillery (155mm Long Tom & 8 inch M1) :

Artillery Bug.png
Artillery Bug.png (158.18 KiB) Viewed 1440 times

The 8 inch M1 :

960px-8_inch_gun_2.jpg
960px-8_inch_gun_2.jpg (204.52 KiB) Viewed 1440 times
PoorOldSpike
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1660
Joined: Sun Aug 08, 2010 6:06 pm
Location: Plymouth, England

Re: Bug Reports

Post by PoorOldSpike »

terminator wrote: Sat Nov 01, 2025 4:01 pm Identical model for two different artillery (155mm Long Tom & 8 inch M1)..
Just as a matter of interest, 155mm = 6.1 inches.
8 inches - 203mm
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Bug Reports

Post by terminator »

In the Westwall DLC, two mobile AA units are priced the same, but one is slightly better, so my decision is clear on which one to purchase :

Mobile AA.png
Mobile AA.png (803.65 KiB) Viewed 1220 times
PoorOldSpike
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1660
Joined: Sun Aug 08, 2010 6:06 pm
Location: Plymouth, England

Re: Bug Reports

Post by PoorOldSpike »

terminator wrote: Tue Nov 11, 2025 4:33 am In the Westwall DLC, two mobile AA units are priced the same, but one is slightly better, so my decision is clear on which one to purchase :
As a matter of interest he M15 graphic (on the left in the pic below) has armour side panels to protect the crew which might account for its better ground defence rating, but like you i'm surprised that it isn't therefore slightly more expensive.
(PS- the centre gun graphic on the T28 (right) is differerent, but I dunno if the devs have factored the side panels and different gun into the stats somehow)-

Image
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6093
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Oops, I forgot to take my camouflage outfit to go out

Post by terminator »

In the last mission of the Westwall DLC, this formidable jet aircraft lost its camouflage outfit?

Camouflage.jpg
Camouflage.jpg (491.26 KiB) Viewed 1105 times
Hohenhole
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 16
Joined: Fri Feb 19, 2016 4:38 pm

Re: Bug Reports

Post by Hohenhole »

In the dlc Westfall during the mission North Brabant i cleared all the map, liberating all the locations for the secondary obiective, but the mission counter doesn't update, it still says 19/20.
FrancescoT
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 1
Joined: Sun Jan 18, 2026 11:45 pm

Re: Bug Reports

Post by FrancescoT »

AO 1940 - Eben-Emael map

Not sure if a bug or a WAD exception for this map but why my airlifted INF (not para) can land out of airports?
Landing01.jpg
Landing01.jpg (1.12 MiB) Viewed 466 times
Landing02.jpg
Landing02.jpg (1.27 MiB) Viewed 466 times
Is it because the air transport pool has only gliders and so any airlift use them and behave like para? :shock:
nexusno2000
Sr. Colonel - Wirbelwind
Sr. Colonel - Wirbelwind
Posts: 1708
Joined: Mon Feb 24, 2014 5:15 pm

Re: Bug Reports

Post by nexusno2000 »

Post by nexusno2000 » 12 Feb 2026 14:17

I'm replaying (and recording) the Italian Cyenaica campaign, and noticing a weird bug:

Mission 7: Toburk
I have 2 CP (this campaign reuses the code from AO commendation points to track bonus core slots)

This gives me 50+10=60 core slots

So far, so good.

I get the explosives and move them to the ship, then get the msg verifying OK, so I SHOULD get +1 CP

HOWEVER, I do not.

Mission 8: Interception at El Mechili
I start with only 2 CP, should be 3

(I've even added the CP display code to the lua to verify)

So instead of 48+12=60 slots, I only get 58.

It's not THAT big of a deal, but it'll carry forward for the rest of the campaign, so annoying. Also, my OCD-lite lol

(btw I rechecked old saves from the first time I played the campaign, and it's the same issue)

I've looked at the Tobruk lua and scenario/objectives, and it seems... fine, at least on first glance.

I get this msg when delivering the explosives:

msg = NSLOCTEXT("07_IT_Tobruk", "ship_unit_sunken", "The San Giorgio will never be caught by the British. Set it ablaze!")

But I never see this - it just tells me about the bonus hero objective.

objective_status = ObjectiveStatus.Active,
reward_notify = NSLOCTEXT("07_IT_Tobruk", "sangiorgio_reward", "Bonus Objective Completed: Destroy the supplies on the San Giorgio \n\nCore Slots gained: %d ")

###

Unrelated, I found this minor bug while looking for clues to the commendation bug:

hero.extra_traits = {UnitTrait.OnTheRoll, UnitTrait.ReducesSlots, UnitTrait.HitAndRun}

ReducedSlots is spelled wrong.

Annibale Bergonzoli should look like this:

local hero = NewHero()
hero.portrait = "/Game/Gui/Common/Heroes/it_in_annibale_bergonzoli.it_in_annibale_bergonzoli"
hero.name = NSLOCTEXT("06_IT_Bardia", "Annibale_Bergonzoli", "Annibale Bergonzoli")
hero.extra_traits = {UnitTrait.OnTheRoll, UnitTrait.ReducedSlots, UnitTrait.HitAndRun}
local action = world:MakeNewHeroAction(_id, hero)
world:Exec(action)
Green Knight
https://www.youtube.com/c/GreenKnight2001
nexusno2000
Sr. Colonel - Wirbelwind
Sr. Colonel - Wirbelwind
Posts: 1708
Joined: Mon Feb 24, 2014 5:15 pm

Re: Bug Reports

Post by nexusno2000 »

nexusno2000 wrote: Thu Feb 12, 2026 2:36 pm Post by nexusno2000 » 12 Feb 2026 14:17

I'm replaying (and recording) the Italian Cyenaica campaign, and noticing a weird bug:

Mission 7: Toburk
I have 2 CP (this campaign reuses the code from AO commendation points to track bonus core slots)

This gives me 50+10=60 core slots

So far, so good.

I get the explosives and move them to the ship, then get the msg verifying OK, so I SHOULD get +1 CP

HOWEVER, I do not.

Mission 8: Interception at El Mechili
I start with only 2 CP, should be 3

(I've even added the CP display code to the lua to verify)

So instead of 48+12=60 slots, I only get 58.

It's not THAT big of a deal, but it'll carry forward for the rest of the campaign, so annoying. Also, my OCD-lite lol

(btw I rechecked old saves from the first time I played the campaign, and it's the same issue)

I've looked at the Tobruk lua and scenario/objectives, and it seems... fine, at least on first glance.

I get this msg when delivering the explosives:

msg = NSLOCTEXT("07_IT_Tobruk", "ship_unit_sunken", "The San Giorgio will never be caught by the British. Set it ablaze!")

But I never see this - it just tells me about the bonus hero objective.

objective_status = ObjectiveStatus.Active,
reward_notify = NSLOCTEXT("07_IT_Tobruk", "sangiorgio_reward", "Bonus Objective Completed: Destroy the supplies on the San Giorgio \n\nCore Slots gained: %d ")

###

Unrelated, I found this minor bug while looking for clues to the commendation bug:

hero.extra_traits = {UnitTrait.OnTheRoll, UnitTrait.ReducesSlots, UnitTrait.HitAndRun}

ReducedSlots is spelled wrong.

Annibale Bergonzoli should look like this:

local hero = NewHero()
hero.portrait = "/Game/Gui/Common/Heroes/it_in_annibale_bergonzoli.it_in_annibale_bergonzoli"
hero.name = NSLOCTEXT("06_IT_Bardia", "Annibale_Bergonzoli", "Annibale Bergonzoli")
hero.extra_traits = {UnitTrait.OnTheRoll, UnitTrait.ReducedSlots, UnitTrait.HitAndRun}
local action = world:MakeNewHeroAction(_id, hero)
world:Exec(action)
I did 4 changes:

1. Fix the objective status so it's actually == Success when you bring back the explosives

FROM
function SanGiorgio_Success()
return objective_status == ObjectiveStatus.Success
end

function SanGiorgio_Fail()
return objective_status == ObjectiveStatus.Fail
end

TO
function SanGiorgio_Success()
return SanGiorgio_Data and SanGiorgio_Data.objective_status == ObjectiveStatus.Success
end

function SanGiorgio_Fail()
return SanGiorgio_Data and SanGiorgio_Data.objective_status == ObjectiveStatus.Fail
end

2. Prevents ANY disband from causing the bonus objective to fail

FROM
return action.unit == SanGiorgio_Data.demolition.unit
or action.unit == SanGiorgio_Data.explosive.unit
or SanGiorgio_Data.ship.unit

TO
function Disband_Trigger(action)
return action.unit == SanGiorgio_Data.demolition.unit
or action.unit == SanGiorgio_Data.explosive.unit
or action.unit == SanGiorgio_Data.ship.unit
end

3. Display current CP

-------------------------
-- COMMENDATION POINTS --
-------------------------
-- Adds the HUD update that shows current CP

function OnMapStart()
local player = world:GetPlayer(1)
player.resource1_icon = "/Game/Gui/GameplayUI/hud_commendation_icon"
player.resource1 = campaign.comm_points
player.resource1_tooltip = NSLOCTEXT("common", "commendation_points", "Commendation Points")
end

function UpdateCommendationPoints()
local player = world:GetPlayer(1)
player.resource1 = campaign.comm_points
end

4. Update CP

FROM
function SanGiorgio_Reward_Action(action)
if campaign == nil then return end
if campaign.comm_points == nil then campaign.comm_points = 0 end

campaign.comm_points = campaign.comm_points + 1

TO
function SanGiorgio_Reward_Action(action)
if campaign == nil then return end
if campaign.comm_points == nil then campaign.comm_points = 0 end

campaign.comm_points = campaign.comm_points + 1
UpdateCommendationPoints() -- <- add this
Green Knight
https://www.youtube.com/c/GreenKnight2001
nexusno2000
Sr. Colonel - Wirbelwind
Sr. Colonel - Wirbelwind
Posts: 1708
Joined: Mon Feb 24, 2014 5:15 pm

Re: Bug Reports

Post by nexusno2000 »

Scenario 8: Interception of El Mechili

Script error due to the script trying to spawn a tank with a transport...

local unit6 = {"VickersMkVI", "UniversalCarrier", 0, 3000}

Should read:

local unit6 = {"VickersMkVI", "", 0, 3000}

Update you 08_IT_ElMechili.lua to fix this issue.
Green Knight
https://www.youtube.com/c/GreenKnight2001
Post Reply

Return to “Panzer Corps 2”